This is the mail archive of the cygwin-developers@sourceware.cygnus.com
mailing list for the Cygwin project. See the Cygwin
home page for more information.
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]
Re: binmode + termios + OCRNL + ICRNL
- To: Earnie Boyd <earnie_boyd@yahoo.com>
- Subject: Re: binmode + termios + OCRNL + ICRNL
- From: Chris Faylor <cgf@cygnus.com>
- Date: Mon, 22 Mar 1999 21:31:35 -0500
- Cc: cygwin developers <cygwin-developers@cygnus.com>
- Delivered-To: listarch-cygwin-developers@sourceware.cygnus.com
- Delivered-To: mailing list cygwin-developers@sourceware.cygnus.com
- In-Reply-To: <19990323022416.26935.rocketmail@send101.yahoomail.com>; from Earnie Boyd on Mon, Mar 22, 1999 at 06:24:16PM -0800
- Mailing-List: contact cygwin-developers-help@sourceware.cygnus.com; run by ezmlm
- References: <19990323022416.26935.rocketmail@send101.yahoomail.com>
- Sender: cygwin-developers-owner@sourceware.cygnus.com
On Mon, Mar 22, 1999 at 06:24:16PM -0800, Earnie Boyd wrote:
>---DJ Delorie <dj@delorie.com> wrote:
>>
>>
>> I see no reason not to honor bin/text mode as a default starting
>> point, but it should do so by setting up the termios structures
>> properly rather than hacking it, so that if the program fiddles with
>> them after it's open it will do the right thing.
>
>Sounds reasonable to me.
Except that if you have binmode set then you get output like this:
ls
VMaadhwa mutt-hardy-1138-1~ rbuild.err rrn.1137.5
VMaadiEa mutt-hardy-1147-2~ rlicense.out rrn.1137.6
VMaadifa mutt-hardy-1147-7~ rrn.1137.0 rrn.1137.7
VMaahuqa mutt-hardy-3257-1~ rrn.1137.1 rrn.1137.8
lpq.00002d18 mutt-hardy-3591-3~ rrn.1137.2 rrn.1137.9
lpq.00005998 mutt-hardy-7737-6~ rrn.1137.3 ssh-cgf
morning.out rbcron.out rrn.1137.4 vmail.x.gz
cgf