Re: Cygwin programs doesn't support non-ASCII filenames

2009-05-12 Thread Lenik
On 2009-5-9 23:44, Corinna Vinschen wrote: On May 9 23:12, Lenik wrote: The same result, it shows that `cat' from binutils can support locale well, while `d' isn't. Ok, but that's not Cygwin's problem, just the d tool would need an update at one point, perhaps. OTOH, what you're doing is a b

Re: Cygwin programs doesn't support non-ASCII filenames

2009-05-12 Thread Corinna Vinschen
On May 12 15:49, Lenik wrote: > I'd like to know if there is any build plan to upgrade tools like d, > zip, unzip, jar, etc. to support locale settings, rather than C only. So > I can tell customers when our cygwin-based scripts will work for Chinese > path names. That depends on the package

Re: Setup 1.7 2.621

2009-05-12 Thread Corinna Vinschen
On May 11 21:17, Karl M wrote: > I was able to reproduce the symptom with another clean install on my XP Pro > machine. The /etc/group file was interesting...different than the output of > mkgroup. Attached are the /etc/passwd, /etc/group and mkgroup output. The > /etc/passwd file is sanitized for

WMIC

2009-05-12 Thread Bruno Galindro da Costa
Hi, I´m trying to run the WMIC (WMI Command-line interface) via Cygwin to parse the results with grep, awk, etc. But, when I try to run it, the cursor indicates that the command is executing, but nothing is printed on screen and the cursor is not released. I maked a batch script (.cmd) which

RE: Can't run Bash!

2009-05-12 Thread Buchbinder, Barry (NIH/NIAID) [E]
Yarin wrote on Monday, May 11, 2009 8:27 PM: > I'm trying to compile Linux binaries on Windows. To do this, I've > downloaded and installed Cygwin (along with it's GCC packages). You are a bit ambiguous here. Are you trying to compile "linux binaries" of POSIX code? For that you need a cross-co

Re: Cygwin programs doesn't support non-ASCII filenames

2009-05-12 Thread Corinna Vinschen
On May 9 23:12, Lenik wrote: > (This mail is encoded in utf-8) >[...] > The two chinese characters encoding in: > GB2312: d7 c0 c3 e6 > UTF-8: e6 a1 8c e9 9d a2 > Unicode: \u684c \u9762 >[...] > This is a new test don't use cygpath: > C:\Profiles\Shecti> set LANG=& bash -c "cat ??" > c

Re: WMIC

2009-05-12 Thread Christian Franke
Bruno Galindro da Costa wrote: > >I´m trying to run the WMIC (WMI Command-line interface) via Cygwin > to parse the results with grep, awk, etc. But, when I try to run it, > the cursor indicates that the command is executing, but nothing is > printed on screen and the cursor is not released. >

Re: Cygwin programs doesn't support non-ASCII filenames

2009-05-12 Thread Lenik
On 2009-5-12 16:30, Corinna Vinschen wrote: On May 12 15:49, Lenik wrote: I'd like to know if there is any build plan to upgrade tools like d, zip, unzip, jar, etc. to support locale settings, rather than C only. So I can tell customers when our cygwin-based scripts will work for Chinese path na

d tool doesn't support locale setting

2009-05-12 Thread Lenik
(This mail is encoded in utf-8) bash-3.2$ ls .zip .gz bash-3.2$ echo $LANG bash-3.2$ export LANG=zh_CN.GBK bash-3.2$ ls 好.gz 你好 世界.zip bash-3.2$ d 世界.zip /mnt/c/Profiles/Shecti/lt/世界.zip doesn't exist! FYI 你 = \u4f60 好 = \u597d 世 = \u4e16 界 = \u754c -- Unsubscribe in

RE: Setup 1.7 2.621

2009-05-12 Thread Karl M
> Date: Tue, 12 May 2009 10:33:13 +0200 > From: corinna > Subject: Re: Setup 1.7 2.621 > > Looks normal. The group file contains a root group because it gets > added by the postinstall script. mkgroup does not add that automatically. > And files group owned by "root" are actually owned by the admi

zip, unzip doesn't support locale settings

2009-05-12 Thread Lenik
(This mail is encoded in utf-8) bash-3.2$ ls .zip .gz bash-3.2$ echo $LANG bash-3.2$ export LANG=zh_CN.GBK bash-3.2$ zip a * zip warning: name not matched: 好.gz zip warning: name not matched: 你好 zip error: Nothing to do! (a.zip) bash-3.2$ unzip 世界.zip unzi

gzip, gunzip doesn't support locale settings

2009-05-12 Thread Lenik
(This mail is encoded in utf-8) bash-3.2$ ls .zip .gz bash-3.2$ echo $LANG bash-3.2$ export LANG=zh_CN.GBK bash-3.2$ ls 好.gz 你好 世界.zip bash-3.2$ gzip 你好 gzip: 你好: No such file or directory bash-3.2$ gunzip 好.gz gzip: 好.gz: No such file or directory FYI 你 = \u4f60 好 = \u

Re: Cygwin programs doesn't support non-ASCII filenames

2009-05-12 Thread Lenik
On 2009-5-12 21:54, Corinna Vinschen wrote: On May 9 23:12, Lenik wrote: (This mail is encoded in utf-8) [...] The two chinese characters encoding in: GB2312: d7 c0 c3 e6 UTF-8: e6 a1 8c e9 9d a2 Unicode: \u684c \u9762 [...] This is a new test don't use cygpath: C:\Profiles\Shecti> set LA

[1.7] wcwidth failing configure tests

2009-05-12 Thread Eric Blake
I noticed this failure in various configure scripts (findutils, coreutils, ...): checking whether wcwidth works reasonably in UTF-8 locales... no I've reduced it to a STC: #include #include int main () { int i = 0; if (setlocale (LC_ALL, "fr_FR.UTF-8") != NULL) { if (wcwidth (0x0

Re: 2 questions about fonts

2009-05-12 Thread Hugh Myers
Oops, rush to judgment here. Caught in the old assumption trap--- I thought that if it worked for gs then it would follow that it should work for gv! Silly me!! However both will work with a symlink to the appropiate .PFB. So a change to the script: $ cat fonts.pl #!/usr/bin/perl # # fonts.pl -- c

Re: WMIC

2009-05-12 Thread Bruno Galindro da Costa
Christian, It Works perfectly for both! Can you explain why that commands works and not only "wmic cpu list full"? Thank you very much! 2009/5/12 Christian Franke : > Bruno Galindro da Costa wrote: >> >>    I´m trying to run the WMIC (WMI Command-line interface) via Cygwin >> to parse the res

[Fwd: [1.7] wcwidth failing configure tests]

2009-05-12 Thread Corinna Vinschen
Forwarded to newlib. - Forwarded message from Eric Blake - > Date: Tue, 12 May 2009 16:02:04 + (UTC) > From: Eric Blake > Subject: [1.7] wcwidth failing configure tests > To: cygwin AT cygwin DOT com > > I noticed this failure in various configure scripts (findutils, coreutils, > ..

Re: Setup 1.7 2.621

2009-05-12 Thread Corinna Vinschen
On May 12 07:59, Karl M wrote: > > > Date: Tue, 12 May 2009 10:33:13 +0200 > > From: corinna > > Subject: Re: Setup 1.7 2.621 > > > > Looks normal. The group file contains a root group because it gets > > added by the postinstall script. mkgroup does not add that automatically. > > And files group

Re: [Fwd: [1.7] wcwidth failing configure tests]

2009-05-12 Thread Andy Koppe
> And here's another question.  The utf8*.h files claim they have been > generated from the unicode.txt file of the Unicode 3.2 standard.  Do we > have the script which generated the utf8*.h files?  Can we regenerate > the files to match the current Unicode 5.1 standard? There's Markus Kuhn's wcwi

Re: Cygwin "cat command failure" for large files

2009-05-12 Thread Larry Hall (Cygwin)
CHATURVEDI PRABUDDHA wrote: Hi All, While accessing a file through rsh on my system and using cat command on that file. if file is less than 64 kb ... command works else i get a error " cat: write error: No space left on device " Is this known problem in cygwin. Kindly help I am using CYGWI

[1.7] Proposal: the filename encoding in C locale uses UTF-8 instead of SO/UTF-8

2009-05-12 Thread IWAMURO Motonori
Hi. I propose that the filename encoding in C locale uses UTF-8 instead of SO/UTF-8. There are three reasons: 1. for the interoperability between Cygwin and various UNIX-like systems (Linux, *BSD, Solaris, and so on). UNIX-like systems treat the filename as 8bit byte array, and many applicati

Re: [Fwd: [1.7] wcwidth failing configure tests]

2009-05-12 Thread Corinna Vinschen
On May 12 17:56, Andy Koppe wrote: > > And here's another question.  The utf8*.h files claim they have been > > generated from the unicode.txt file of the Unicode 3.2 standard.  Do we > > have the script which generated the utf8*.h files?  Can we regenerate > > the files to match the current Unicod

Re: [1.7] Proposal: the filename encoding in C locale uses UTF-8 instead of SO/UTF-8

2009-05-12 Thread Corinna Vinschen
On May 13 02:29, IWAMURO Motonori wrote: > Hi. > > I propose that the filename encoding in C locale uses UTF-8 instead of > SO/UTF-8. > > There are three reasons: > > 1. for the interoperability between Cygwin and various UNIX-like > systems (Linux, *BSD, Solaris, and so on). >UNIX-like sys

Re: [1.7] Proposal: the filename encoding in C locale uses UTF-8 instead of SO/UTF-8

2009-05-12 Thread Mark J. Reed
> On May 13 02:29, IWAMURO Motonori wrote: >> Hi. >> >> I propose that the filename encoding in C locale uses UTF-8 instead of >> SO/UTF-8 What the heck is "SO/UTF-8"? -- Mark J. Reed -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/p

Re: [1.7] Proposal: the filename encoding in C locale uses UTF-8 instead of SO/UTF-8

2009-05-12 Thread Corinna Vinschen
On May 12 15:13, Mark J. Reed wrote: > > On May 13 02:29, IWAMURO Motonori wrote: > >> Hi. > >> > >> I propose that the filename encoding in C locale uses UTF-8 instead of > >> SO/UTF-8 > > What the heck is "SO/UTF-8"? http://cygwin.com/1.7/cygwin-ug-net/using-specialnames.html#pathnames-unusual

Re: [1.7] Proposal: the filename encoding in C locale uses UTF-8 instead of SO/UTF-8

2009-05-12 Thread Mark J. Reed
On Tue, May 12, 2009 at 3:22 PM, Corinna Vinschen > > http://cygwin.com/1.7/cygwin-ug-net/using-specialnames.html#pathnames-unusual OK, got it. So Mr. Iwamuro's proposal is that Cygwin ignore the locale setting, and just automatically convert the Windows UTF-16 filenames to UTF-8 (and back) no ma

Re: [1.7] Proposal: the filename encoding in C locale uses UTF-8 instead of SO/UTF-8

2009-05-12 Thread Corinna Vinschen
On May 12 15:53, Mark J. Reed wrote: > On Tue, May 12, 2009 at 3:22 PM, Corinna Vinschen > > > > http://cygwin.com/1.7/cygwin-ug-net/using-specialnames.html#pathnames-unusual > > OK, got it. So Mr. Iwamuro's proposal is that Cygwin ignore the > locale setting, and just automatically convert the W

Selling management on Cygwin

2009-05-12 Thread Chap Harrison
Hi, First time post. Believe I have read and carried out all specified "do this before posting" guidelines. Ok. I work for a 5-person company whose IT infrastructure is exclusively Windows Server-based, and whose mindset is very narrowly Microsoftian. I prefer *nix. Four months ago I q

RE: Selling management on Cygwin

2009-05-12 Thread Mike Marchywka
> > I expect to be met with plenty of FUD. I honestly don't know what > kind of concerns & arguments will be raised, but I feel certain they > will be "garden variety". However, since I'm not a management or IT > type, nor a Windows expert, nor a Cygwin expert, I am unprepared to > argue the case.

Re: WMIC

2009-05-12 Thread Dave Korn
Bruno Galindro da Costa wrote: > Christian, > >It Works perfectly for both! Can you explain why that commands > works and not only "wmic cpu list full"? > 2009/5/12 Christian Franke >> Bruno Galindro da Costa wrote: >>>I´m trying to run the WMIC (WMI Command-line interface) via Cygwin >

gs--yes, gv--yes, lpr--no Font problems still...

2009-05-12 Thread Hugh Myers
After getting both gs and gv to find and use the .PFB fonts on my system I am now stumped by lpr. I had thought that lpr would use ghostscripts font mechanism to resolve font references in a postscript file, but apparently not. While both of the other utilities correctly find and display the desire

Re: gs--yes, gv--yes, lpr--no Font problems still...

2009-05-12 Thread René Berber
Hugh Myers wrote: > After getting both gs and gv to find and use the .PFB fonts on my > system I am now stumped by lpr. I had thought that lpr would use > ghostscripts font mechanism to resolve font references in a postscript > file, but apparently not. While both of the other utilities correctly

Re: GREP: Memory Exhausted

2009-05-12 Thread Christopher Faylor
On Tue, May 12, 2009 at 03:42:15AM +0100, Dave Korn wrote: >Christopher Faylor wrote: >> On Mon, May 11, 2009 at 11:55:26PM +0100, Dave Korn wrote: >>> Some weeks ago... Shailesh Dadure wrote: I am a support engineer from Microsoft trying to help my Customer Maziyar Samadzadeh. We have b

Re: zip, unzip doesn't support locale settings

2009-05-12 Thread Christopher Faylor
On Tue, May 12, 2009 at 10:58:00PM +0800, Lenik wrote: > (This mail is encoded in utf-8) What is the point of three separate messages when you've already made the point in another thread? cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.

Re: GREP: Memory Exhausted

2009-05-12 Thread Dave Korn
Christopher Faylor wrote: > You apparently haven't taken the advice of googling the problem. Sure I did. http://img23.imageshack.us/img23/8914/sureidid.png Those links didn't go purple all by themselves. > It > really is very easy to trigger on linux. Which of the many different bugs

Cygwin 1.7 new install /bin permissions

2009-05-12 Thread Karl M
Hi All... On a new 1.7 install I noticed $ find /bin -perm 644 -print /bin/d2u.exe /bin/dos2unix.exe /bin/gawk-3.1.6.exe /bin/perlthanks5.10.0 /bin/pgawk-3.1.6.exe /bin/pstruct5.10.0 /bin/s2p5.10.0 /bin/u2d.exe /bin/unix2dos.exe /bin/zipinfo.exe Thanks, ...Karl __