|
View:
New views
13 Messages
—
Rating Filter:
Alert me
|
|
|
|
|
|
Re: [1.7] Updated: cygwin-1.7.0-63On 03/11/2009 19:13, Jim Reisert AD1C wrote:
> Unfortunately, once I installed this version, I couldn't get the > Cygwin/X server to start (using 1.7.1). I had to roll back to > 1.7.0-62 This is quite probably the same problem as [1], a consequence of the change in default locale to C.UTF-8 (and some daft code in the Xserver) [1] http://cygwin.com/ml/cygwin-xfree/2009-10/msg00106.html -- 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: [1.7] Updated: cygwin-1.7.0-63On Tue, Nov 03, 2009 at 07:50:41PM +0000, Jon TURNEY wrote:
>On 03/11/2009 19:13, Jim Reisert AD1C wrote: >>Unfortunately, once I installed this version, I couldn't get the >>Cygwin/X server to start (using 1.7.1). I had to roll back to 1.7.0-62 > >This is quite probably the same problem as [1], a consequence of the >change in default locale to C.UTF-8 (and some daft code in the Xserver) > >[1] http://cygwin.com/ml/cygwin-xfree/2009-10/msg00106.html That sounds like a good bet to me. Setting LANG=en_US.UTF-8 allows X to run correctly for me. cgf -- 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: [1.7] Updated: cygwin-1.7.0-63I'm up and running again, thanks!
On Tue, Nov 3, 2009 at 12:54 PM, Christopher Faylor <cgf-use-the-mailinglist-please@...> wrote: > On Tue, Nov 03, 2009 at 07:50:41PM +0000, Jon TURNEY wrote: >>On 03/11/2009 19:13, Jim Reisert AD1C wrote: >>>Unfortunately, once I installed this version, I couldn't get the >>>Cygwin/X server to start (using 1.7.1). I had to roll back to 1.7.0-62 >> >>This is quite probably the same problem as [1], a consequence of the >>change in default locale to C.UTF-8 (and some daft code in the Xserver) >> >>[1] http://cygwin.com/ml/cygwin-xfree/2009-10/msg00106.html > > That sounds like a good bet to me. Setting LANG=en_US.UTF-8 allows X to > run correctly for me. > > cgf -- Jim Reisert AD1C, <jjreisert@...>, http://www.ad1c.us -- 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: [1.7] Updated: cygwin-1.7.0-63On Tue, Nov 3, 2009 at 12:54 PM, Christopher Faylor
<cgf-use-the-mailinglist-please@...> wrote: > That sounds like a good bet to me. Setting LANG=en_US.UTF-8 allows X to > run correctly for me. The only "funny" thing about that setting is that the date in my "ls" output is a little different. Is there any way to get the old date format back? Red Hat Linux: -rw-rw-r-- 1 reisert mpg-wgm 6270 Nov 5 12:12 register.log Cygwin: -rwx------+ 1 reisert Domain Users 46 2006-07-28 13:56 vk.sed - Jim -- Jim Reisert AD1C, <jjreisert@...>, http://www.ad1c.us -- 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: [1.7] Updated: cygwin-1.7.0-63-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 According to Jim Reisert AD1C on 11/5/2009 1:19 PM: > On Tue, Nov 3, 2009 at 12:54 PM, Christopher Faylor > <cgf-use-the-mailinglist-please@...> wrote: > >> That sounds like a good bet to me. Setting LANG=en_US.UTF-8 allows X to >> run correctly for me. > > The only "funny" thing about that setting is that the date in my "ls" > output is a little different. Is there any way to get the old date > format back? Yes. Read the manual: $ info ls 'formatting file timestamps' In particular, --time-style in an alias, or TIME_STYLE in your environment, is your friend. - -- Don't work too hard, make some time for fun as well! Eric Blake ebb9@... -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkrzln0ACgkQ84KuGfSFAYCicQCg2ZhDu4z/N1oMNaf1DhAaiqf0 MhoAnRiCs41AApiYEECFrSB4LnlS9C+m =+p/+ -----END PGP SIGNATURE----- -- 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: [1.7] Updated: cygwin-1.7.0-63On Thu, Nov 5, 2009 at 8:22 PM, Eric Blake <ebb9@...> wrote:
> Yes. Read the manual: > > $ info ls 'formatting file timestamps' > > In particular, --time-style in an alias, or TIME_STYLE in your > environment, is your friend. Thanks, Eric. I tried this but could not get what I wanted: LTDENA-REISERT:c/Home> ls -al --time-style="posix-long-iso" -rwx------ 1 reisert Domain Users 3326 2009-10-30 12:51 .XWinrc -rwx------ 1 reisert Users 663 2009-02-26 10:37 .Xdefaults From the info link you sent me, it says: `posix-STYLE' List POSIX-locale timestamps if the `LC_TIME' locale category is POSIX, STYLE timestamps otherwise. For example, the `posix-long-iso' style lists timestamps like `Mar 30 2002' and `Mar 30 23:45' when in the POSIX locale, and like `2002-03-30 23:45' otherwise. I must not be in a POSIX LOCALE, then. LC_TIME isn't defined, nor is LOCALE. How do I make this work, while maintaining: LANG=en_US.UTF-8 - Jim -- Jim Reisert AD1C, <jjreisert@...>, http://www.ad1c.us -- 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: [1.7] Updated: cygwin-1.7.0-63Jim Reisert AD1C <jjreisert <at> alum.mit.edu> writes:
> Thanks, Eric. I tried this but could not get what I wanted: > > LTDENA-REISERT:c/Home> ls -al --time-style="posix-long-iso" > > -rwx------ 1 reisert Domain Users 3326 2009-10-30 12:51 .XWinrc > -rwx------ 1 reisert Users 663 2009-02-26 10:37 .Xdefaults > > From the info link you sent me, it says: > > `posix-STYLE' > List POSIX-locale timestamps if the `LC_TIME' locale category > is POSIX, STYLE timestamps otherwise. For example, the > `posix-long-iso' style lists timestamps like `Mar 30 2002' > and `Mar 30 23:45' when in the POSIX locale, and like > `2002-03-30 23:45' otherwise. > > I must not be in a POSIX LOCALE, then. LC_TIME isn't defined, nor is > > How do I make this work, while maintaining: > > LANG=en_US.UTF-8 > > - Jim You might try "LANG=en_us.UTF-8" (Note the lower-case "us"). It seems to change the time formatting used by ls. But I don't understand how or why, nor do I know if it will break whatever else you're using LANG for. -- Eric Backus -- 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: [1.7] Updated: cygwin-1.7.0-63On Nov 7 20:38, Eric Backus wrote:
> Jim Reisert AD1C <jjreisert <at> alum.mit.edu> writes: > > > Thanks, Eric. I tried this but could not get what I wanted: > > > > LTDENA-REISERT:c/Home> ls -al --time-style="posix-long-iso" > > > > -rwx------ 1 reisert Domain Users 3326 2009-10-30 12:51 .XWinrc > > -rwx------ 1 reisert Users 663 2009-02-26 10:37 .Xdefaults > > > > From the info link you sent me, it says: > > > > `posix-STYLE' > > List POSIX-locale timestamps if the `LC_TIME' locale category > > is POSIX, STYLE timestamps otherwise. For example, the > > `posix-long-iso' style lists timestamps like `Mar 30 2002' > > and `Mar 30 23:45' when in the POSIX locale, and like > > `2002-03-30 23:45' otherwise. > > > > I must not be in a POSIX LOCALE, then. LC_TIME isn't defined, nor is > LOCALE. > > > > How do I make this work, while maintaining: > > > > LANG=en_US.UTF-8 > > > > - Jim > > You might try "LANG=en_us.UTF-8" (Note the lower-case "us"). It seems to That's not correct. The result is that the locale will still be "C". The above LANG setting will be refused since the territory part of the locale specifier must be uppercase. See http://cygwin.com/1.7/cygwin-ug-net/setup-locale.html#setup-locale-ov Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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: [1.7] Updated: cygwin-1.7.0-63Corinna Vinschen <corinna-cygwin <at> cygwin.com> writes:
> On Nov 7 20:38, Eric Backus wrote: > > Jim Reisert AD1C <jjreisert <at> alum.mit.edu> writes: > > > > > How do I make this work, while maintaining: > > > > > > LANG=en_US.UTF-8 > > > > > > - Jim > > > > You might try "LANG=en_us.UTF-8" (Note the lower-case "us"). It seems to > > That's not correct. The result is that the locale will still be "C". > The above LANG setting will be refused since the territory part of the > locale specifier must be uppercase. See > http://cygwin.com/1.7/cygwin-ug-net/setup-locale.html#setup-locale-ov > > Corinna OK, my bad. Sorry. I must say I find the ls behavior quite confusing. It appears that *any* valid setting of LANG other than "C" results in the iso time style, and --time- style=locale never has any effect regardless of the setting of LANG. Feature? or defect? -- Eric -- 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: [1.7] Updated: cygwin-1.7.0-63On Nov 8 19:12, Eric Backus wrote:
> Corinna Vinschen <corinna-cygwin <at> cygwin.com> writes: > > > On Nov 7 20:38, Eric Backus wrote: > > > Jim Reisert AD1C <jjreisert <at> alum.mit.edu> writes: > > > > > > > How do I make this work, while maintaining: > > > > > > > > LANG=en_US.UTF-8 > > > > > > > > - Jim > > > > > > You might try "LANG=en_us.UTF-8" (Note the lower-case "us"). It seems to > > > > That's not correct. The result is that the locale will still be "C". > > The above LANG setting will be refused since the territory part of the > > locale specifier must be uppercase. See > > http://cygwin.com/1.7/cygwin-ug-net/setup-locale.html#setup-locale-ov > > > > Corinna > > OK, my bad. Sorry. > > > I must say I find the ls behavior quite confusing. It appears that *any* > valid setting of LANG other than "C" results in the iso time style, and --time- > style=locale never has any effect regardless of the setting of LANG. Feature? > or defect? Dunno, but I admit that I like the ISO date much better anyway. It's more clear and independent of locale specific differences to express a date. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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: [1.7] Updated: cygwin-1.7.0-63-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 According to Jim Reisert AD1C on 11/6/2009 11:38 AM: >> In particular, --time-style in an alias, or TIME_STYLE in your >> environment, is your friend. > > Thanks, Eric. I tried this but could not get what I wanted: > > LTDENA-REISERT:c/Home> ls -al --time-style="posix-long-iso" > > -rwx------ 1 reisert Domain Users 3326 2009-10-30 12:51 .XWinrc > -rwx------ 1 reisert Users 663 2009-02-26 10:37 .Xdefaults > > From the info link you sent me, it says: > > `posix-STYLE' > List POSIX-locale timestamps if the `LC_TIME' locale category > is POSIX, STYLE timestamps otherwise. For example, the > `posix-long-iso' style lists timestamps like `Mar 30 2002' > and `Mar 30 23:45' when in the POSIX locale, and like > `2002-03-30 23:45' otherwise. > > I must not be in a POSIX LOCALE, then. LC_TIME isn't defined, nor is LOCALE. Correct - if LC_ALL, LC_TIME, and LANG are all undefined, then you are in the C.UTF-8 locale (cygwin's default), which, since it is not "C", is not _the_ POSIX locale. Likewise, if LANG is en_US.UTF-8, but LC_ALL and LC_TIME are unset, then you are in the en_US.UTF-8 locale, which is not the POSIX locale. > > How do I make this work, while maintaining: > > LANG=en_US.UTF-8 Well, did you try setting LC_TIME=C? That would mean that LC_TIME is then POSIX, overriding LANG; and as long as LC_ALL is unset, then that would make the difference. Or, you could use TIME_STYLE='+%b %e %Y %b %e %H:%M' to force the POSIX interpretation regardless of locale. - -- Don't work too hard, make some time for fun as well! Eric Blake ebb9@... -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkr4EkUACgkQ84KuGfSFAYDlzQCfWQMdyvD0q0+GPgsc4dDY7lH9 v2EAn0Gf5ydK3EXSdRuwxcDk6TA6AM3P =kWjz -----END PGP SIGNATURE----- -- 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: [1.7] Updated: cygwin-1.7.0-63On Mon, Nov 9, 2009 at 5:59 AM, Eric Blake <ebb9@...> wrote:
> Well, did you try setting LC_TIME=C? That would mean that LC_TIME is then > POSIX, overriding LANG; and as long as LC_ALL is unset, then that would > make the difference. That worked fine, thanks. The real fix will be when I can eliminate LANG=en_US.UTF-8 and still have the Cygwin/X server start.... - Jim -- Jim Reisert AD1C, <jjreisert@...>, http://www.ad1c.us -- 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 |
| Free embeddable forum powered by Nabble | Forum Help |