Re: Sort - locale: cygwin_nt-5.0
Many thanks to all the experts who kindly answered my question. I am sorry to know that I cannot use cygwin for sorting texts with languages other than English, but it was important for me to know if locales was supported or not. Unfortunately, fro lack of competence I cannot be the one who fixes the problem! Best regards, guido Guido Milanese - [EMAIL PROTECTED] Vocal Ensemble Ars Antiqua - http://www.arsantiqua.org ** GAUDETE IN DOMINO SEMPER * -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Sort - locale: cygwin_nt-5.0
I hope this is not a FAQ -- I duly checked FAQs and googled for a while. From some messages, I found that LOCALE is not supported by cygwin. Is this true also for the version I mention in the subject? My problem is basically related to sort: I tried to export LC_ALL, LC_COLLATE and LANG for French and Italian but to no success. Is this possible under cygwin? I normally use Linux, but I installed cygwin on a computer of my University where I must use Windows. Many thanks. Guido, Italy Guido Milanese - [EMAIL PROTECTED] Vocal Ensemble Ars Antiqua - http://www.arsantiqua.org ** GAUDETE IN DOMINO SEMPER * -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Sort - locale: cygwin_nt-5.0
On Tue, 17 May 2005, Guido Milanese wrote: I hope this is not a FAQ -- I duly checked FAQs and googled for a while. From some messages, I found that LOCALE is not supported by cygwin. Is this true also for the version I mention in the subject? The version that you mention in the subject just says that you're running Cygwin on Win2k. It doesn't say anything about the actual version of Cygwin. For instructions on how to report your Cygwin version (and the relevant environment information) see http://cygwin.com/problems.html. My problem is basically related to sort: I tried to export LC_ALL, LC_COLLATE and LANG for French and Italian but to no success. Is this possible under cygwin? I normally use Linux, but I installed cygwin on a computer of my University where I must use Windows. There's very little support for LOCALE settings in Cygwin. Some applications will switch the language of the help messages, etc, to the extent gettext() supports it. I don't believe sort has locale-specific collate support -- the coreutils maintainer might be a better person to answer that. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! The Sun will pass between the Earth and the Moon tonight for a total Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Sort - locale: cygwin_nt-5.0
From: Igor Pechtchanski [EMAIL PROTECTED] To: Guido Milanese [EMAIL PROTECTED] cc: cygwin@cygwin.com The version that you mention in the subject just says that you're running Cygwin on Win2k. It doesn't say anything about the actual version of Cygwin. Thanks,sorry: v.1.5.16-1 There's very little support for LOCALE settings in Cygwin. Some applications will switch the language of the help messages, etc, to the extent gettext() supports it. I don't believe sort has locale-specific collate support -- the coreutils maintainer might be a better person to answer that. Thanks again. I am puzzled because I recall that an older version I tried a couple of years ago was sorting correctly. This most recent one seems to ignore anything related to LC_* Best regards, guido m. Guido Milanese - [EMAIL PROTECTED] Vocal Ensemble Ars Antiqua - http://www.arsantiqua.org ** GAUDETE IN DOMINO SEMPER * -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Sort - locale: cygwin_nt-5.0
There's very little support for LOCALE settings in Cygwin. Some applications will switch the language of the help messages, etc, to the extent gettext() supports it. I don't believe sort has locale-specific collate support -- the coreutils maintainer might be a better person to answer that. Sort requires a working strcoll to do locale-dependent sorts. But newlib (cygwin's library) provides only a strcoll that is HARD-CODED to the POSIX (C) locale. Gettext allows localized help messages (LC_MESSAGES generally works on programs compiled with gettext, coreutils included), but does nothing for the other aspects of locales (such as LC_COLLATE). In other words, unless someone submits a patch to cygwin with a compliant strcoll, you are stuck with non-locale sorts on cygwin. Sorry. -- Eric Blake cygwin coreutils maintainer -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Sort - locale: cygwin_nt-5.0
At 06:13 PM 5/17/2005, you wrote: Sort requires a working strcoll to do locale-dependent sorts. But newlib (cygwin's library) provides only a strcoll that is HARD-CODED to the POSIX (C) locale. snip In other words, unless someone submits a patch to cygwin with a compliant strcoll, you are stuck with non-locale sorts on cygwin. Don't you mean that newlib is the one that requires the patch? -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Sort - locale: cygwin_nt-5.0
In other words, unless someone submits a patch to cygwin with a compliant strcoll, you are stuck with non-locale sorts on cygwin. Don't you mean that newlib is the one that requires the patch? Either place would work, but the philosophy of newlib is that it is for embedded systems, and my understanding is that Jeff does not want to add locale support to newlib any time soon. A cygwin-local replacement for strcoll would not affect any other newlib targets. But regardless of whether it is newlib or cygwin that is patched, http://cygwin.com/acronyms/#SHTDI! -- Eric Blake -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Sort - locale: cygwin_nt-5.0
At 07:02 PM 5/17/2005, you wrote: In other words, unless someone submits a patch to cygwin with a compliant strcoll, you are stuck with non-locale sorts on cygwin. Don't you mean that newlib is the one that requires the patch? Either place would work, but the philosophy of newlib is that it is for embedded systems, and my understanding is that Jeff does not want to add locale support to newlib any time soon. A cygwin-local replacement for strcoll would not affect any other newlib targets. But regardless of whether it is newlib or cygwin that is patched, http://cygwin.com/acronyms/#SHTDI! I figured that was the case but thought I should ask for clarification. :-) Thanks, -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/