This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
[Fwd: cygwin-src-20000125: patch to not convert cmdline to OEM]
- To: cygwin at sourceware dot cygnus dot com
- Subject: [Fwd: cygwin-src-20000125: patch to not convert cmdline to OEM]
- From: Reinhard Nissl <rnissl at gmx dot de>
- Date: Sat, 11 Mar 2000 21:35:27 +0100
Hi,
although I should have been subscribed to the cygwin-developers mailing list
since 03.02.2000, I havn't received any mails so far.
That's why I forward my patch to you. It was orignally sent to the
cygwin-developers mailing list.
May you forward it to an appropriate person please.
Thanks.
Bye.
--
Dipl.-Inform. (FH) Reinhard Nissl
mailto:rnissl@gmx.de
- To: cygwin-developers at sourceware dot cygnus dot com
- Subject: cygwin-src-20000125: patch to not convert cmdline to OEM
- From: Reinhard Nissl <rnissl at gmx dot de>
- Date: Mon, 31 Jan 2000 00:26:25 +0100
Hi,
the attached patch makes cygwin1.dll only convert the cmdline to OEM when the
environment variable CYGWIN_CMD_LINE_MODE is not set to ANSI. If the variable
doesn't exist or is set to anything else then ANSI, the library behaves as it
did before applying the patch.
In the case ANSI is set, any conversions from char to OEM or reverse are
skipped or replaced by a neutral function. A call to SetFileApisToANSI() is
done to handle the ANSI filenames correctly.
I developed this patch while porting sms_client to the CYGWIN environment to
be able to send SMS messages that contain "Umlauts", as the programme expects
them to be coded according to the ANSI code page.
Bye.
--
Dipl.-Inform. (FH) Reinhard Nissl
mailto:rnissl@gmx.de
cygwin-ansi.patch.gz
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com