CYGWIN=codepage? Or LC_CTYPE=foo?

Corinna Vinschen
Tue Apr 8 07:49:00 GMT 2008

On Apr  7 13:38, Brian Dessent wrote:
> > What about calling this tool only once in a postinstall script and
> > creating a file /etc/sysconfig/i18n from the output which then gets
> > evaluated in /etc/profile.d/ or lang.csh?
> I assume the desire here is to minimize login shell startup time
> penalty?  It's still an extra file to find/stat/source, and I doubt the
> runtime of the tool would be more than a couple of w32api calls.  Doing
> it once would also fail to catch cases where the user changes their
> Windows locale.
> I think we can keep the performance in check by adding the logic to the
> base-files' 'profile' rather than adding a new file to profile.d, since
> that must be executed anyway regardless.

Which means, every shell package has to be changed to call the tool
in the profiles which come with the shell.  Adding profile.d/*.c?sh
files does not require this.


Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

More information about the Cygwin-developers mailing list