Console codepage setting via chcp?

Charles Wilson cygwin@cwilson.fastmail.fm
Fri Sep 25 15:06:00 GMT 2009


Corinna wrote:
> mintty could be a native Win32 wrapper, calling mintty-cygwin via
>   SetEnvironmentVariable ("LC_CTYPE", "blub");
>   CreateProcess ();
> 
> Just an idea.

This is exactly the sort of thing run2 *could be* good at. It allows to
set any environment variable before launching the target.  However, it's
currently a cygwin application, so some variable settings have no effect
(like CYGWIN).  One of the reasons for adding this capability to run2
was specifically to allow end-users to set LANG etc; it would be sad if
this doesn't work.

--
Chuck



More information about the Cygwin-developers mailing list