www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/06/23/18:48:30

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <03F4742D8225D21191EF00805FE62B990205E179@AA-MSG-01>
From: John Wiersba <John DOT Wiersba AT medstat DOT com>
To: cygwin AT sourceware DOT cygnus DOT com
Subject: RE: cat broken
Date: Wed, 23 Jun 1999 18:47:12 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2448.0)

> > 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 AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019