This is the mail archive of the cygwin-apps@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]

Re: ash stdin mode is set to O_TEXT


On Sun, Apr 22, 2001 at 06:52:48PM -0400, Christopher Faylor wrote:
> Actually, the 'cat foo | sh' example should still default to text mode.
> sh shouldn't interpret CRs when a pipe is opened.
> 
> I think what is really needed here is for sh to not use setmode at all.
> It should probably set its stdin to binary and do the CR stripping itself.

*looong sigh*

I recall that I did that when I should change ash to accomodate
text/binmode for the first time. I have been advised to use
setmode instead...

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.


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