Re: Date field of ls -l command is garbled in latest cygwin1.dll snapshot.

2018-06-24 Thread Steven Penny

On Sun, 24 Jun 2018 00:32:59, Thomas Wolff wrote:

Why not awk? Because I am not familiar with awk.


Should be a simple script, something like this:

$ awk -F ';' '{printf "{CAT_%s, 0x%s, %d},\n", $3, $1, $4}' UnicodeData.txt
{CAT_Lo, 0x3400, 0},
{CAT_Lo, 0x4DB5, 0},
{CAT_Lo, 0x4E00, 0},
{CAT_Lo, 0x9FEF, 0},


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Date field of ls -l command is garbled in latest cygwin1.dll snapshot.

2018-06-24 Thread Brian Inglis
On 2018-06-24 06:27, Steven Penny wrote:
> On Sun, 24 Jun 2018 00:32:59, Thomas Wolff wrote:
>> Why not awk? Because I am not familiar with awk.

Suggestion was awk having suitable capabilities, but perl, python, ruby, or any
other would do.

> Should be a simple script, something like this:
> $ awk -F ';' '{printf "{CAT_%s, 0x%s, %d},\n", $3, $1, $4}' UnicodeData.txt
> {CAT_Lo, 0x3400, 0},
> {CAT_Lo, 0x4DB5, 0},
> {CAT_Lo, 0x4E00, 0},
> {CAT_Lo, 0x9FEF, 0},

A little bit more complex to roll up category ranges, and handle
<... {Fir,La}st> ranges.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Do you want to help me?

2018-06-24 Thread Tomas Ukkonen
Hi

News in Finland has been garbage for some time, especially in internet.

I’m being murdered (multiple crimes). Police is not functional anymore. I don’t 
know how to disappear and appear etc.
Do you want to help me?

I have worked as Senior Researcher and Senior Analytic in many companies.

Tomas Ukkonen,
M. Sc. (diplomi-insinööri)
Sent from ProtonMail Mobile

Re: Date field of ls -l command is garbled in latest cygwin1.dll snapshot.

2018-06-24 Thread Thomas Wolff

Am 24.06.2018 um 00:32 schrieb Thomas Wolff:

Am 23.06.2018 um 20:46 schrieb Brian Inglis:

On 2018-06-22 17:06, Takashi Yano wrote:

On Sat, 23 Jun 2018 05:39:27 +0900
Takashi Yano wrote:

I looked into this problem, and found this is caused by incorrect
return value of iswprint().

I have found the cause. That is, file categories.t is not correct.

For example, http://ftp.unicode.org/Public/UNIDATA/UnicodeData.txt 
says:


3400;;Lo;0;L;N;
4DB5;;Lo;0;L;N;
...
4E00;;Lo;0;L;N;
9FEF;;Lo;0;L;N;

However, categories.t is:
 {CAT_Lo, 0x3400, 0},
 {CAT_Lo, 0x4DB5, 0},
...
 {CAT_Lo, 0x4E00, 0},
 {CAT_Lo, 0x9FEA, 0},

Therefore, the script mkcategories which generates categories.t 
should be fixed.
Obviously. I will check why the script was failing here and thanks for 
the patch already.
Yeah, I totally failed to consider the First...Last ranges in this 
script, how embarassing.
I would have chosen other markers than 0/1 for the two cases (maybe 
"firstlast" for the new one), and not put it in the middle, but you 
fixed it anyway; except for the Private Use ranges E000..F8FF, 
F..D, 10..10FFFD, but their category Co isn't used anyway.
I suggest you submit your patch directly to cygwin-patc...@cygwin.com. 
One issue, though:
Apparently, you used a Unicode version other than 10.0 as a reference, 
probably 11.0. Maybe the fixing patch should be based on the same 
version, for better clarity and to reduce the diff (fewer changes in 
categories.t and none in caseconv.t).

We can update to 11.0 in addition, but:
Brian wrote:
These entries change with every Unicode release, and a new one came 
out a few

weeks ago, updated here yesterday.
The library updated to 11.0 is probably icu, which isn't used here. The 
libc generation scripts use the original Unicode files which are 
packaged in unicode-ucd which is still at 10.0.


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Do you want to help me?

2018-06-24 Thread Wayne Barron
Interesting.
So, if you have been murdered, then is this your ghost that is writing
this message to the group?

On Sun, Jun 24, 2018 at 12:06 PM, Tomas Ukkonen
 wrote:
> Hi
>
> News in Finland has been garbage for some time, especially in internet.
>
> I’m being murdered (multiple crimes). Police is not functional anymore. I 
> don’t know how to disappear and appear etc.
> Do you want to help me?
>
> I have worked as Senior Researcher and Senior Analytic in many companies.
>
> Tomas Ukkonen,
> M. Sc. (diplomi-insinööri)
> Sent from ProtonMail Mobile

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Is any chance to update cmake package?

2018-06-24 Thread Ivan Shynkarenka
Hello!

Cygwin cmake package is too old with 3.6.2-1 version. Is there any chance
to update the package to some recent version?

According to https://cmake.org/download/ the latest cmake version is 3.11.4

Thanks in advance!

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: UTF-8 character encoding

2018-06-24 Thread L A Walsh

Lee wrote:

So... keep it simple, set
  LANG=en_US.UTF-8
and use vi or something else that comes with cygwin to create the file
and I'll have a file with UTF-8 character encoding - correct?

---
The first 127 characters of UTF-8 are identical to the
first 127 characters of ASCII, and latin1 and iso-8859-1.

If you don't use any characters that need accents or special symbols,
then nothing will be encoded in UTF-8, because its only 
the characters OVER the first 127

(see chart @ http://www.babelstone.co.uk/Unicode/babelmap.html).

The site also has a sw util (http://www.babelstone.co.uk/Software/BabelMap.html), 
that displays and helps config fonts
to display all the characters in unicode, though it hasn't 
been updated to the changes that came out last month or so

(Unicode 11).

It's a cool little, *free*, utility...though if you find it useful
you can always send in your registration.


--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple