This is the mail archive of the
cygwin-developers
mailing list for the Cygwin project.
Re: Console codepage setting via chcp?
- From: Charles Wilson <cygwin at cwilson dot fastmail dot fm>
- To: cygwin-developers at cygwin dot com
- Date: Fri, 25 Sep 2009 11:06:23 -0400
- Subject: Re: Console codepage setting via chcp?
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