This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] No codepage translation in cygwin console


    Hello.

    There are times when it's very convenient to change Windows console
codepage using chcp.com, for example, an interactive ssh session to a host
with a different codepage used.  Unfortunately, the current release of cygwin
enforces either of the two main codepages, ansi or oem, to be used, mainly
because of considerations of their importance for filename and clipboard
conversions, etc.  There's a patch attached, it extends functionality of the
`codepage' option, set in CYGWIN environment variable, to allow for setting no
codepage translation of console input and output.

    The way the option should look now is

    codepage=ansi|oem[:con-asis]

    If con-asis suboption is specified, console input and output goes
unchanged.  Hope this helps someone.

-- 
/Awesome Walrus <walrus@amur.ru>

Attachment: Cygwin console as-is codepage passing.ChangeLog
Description: Text document

Attachment: Cygwin console as-is codepage passing.patch
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]