This is the mail archive of the cygwin@sourceware.cygnus.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: cat broken


> > Using the 5/23 cygwin1.dll, the following is broken:
> > 	cat >file
> > It echos the input typed from the terminal
> 
> Uh, that's what is supposed to happen... unless you mean that it ONLY
> echos the input, and writes a zero-length file?

No, "cat >file" should take input from stdin (the terminal) and write it to
file, which in fact is what happens with the 1/15 cygwin1.dll.  However, the
5/23 dll echos the input from terminal back to the terminal.

> > and refuses to accept ^D as EOF.
> 
> Use ^Z<CR> (i.e., pretend you had typed COPY CON FILE instead).  This
> is just a hack.

I can try ^Z, but, again, the 1/15 dll works properly, taking a ^D as EOF.

-- John

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


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