www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/25/04:30:08

Date: Tue, 24 Mar 1998 21:55:18 -0800 (PST)
Message-Id: <199803250555.VAA20288@adit.ap.net>
Mime-Version: 1.0
To: Ned Ulbricht <nedu AT ee DOT washington DOT edu>, djgpp AT delorie DOT com
From: Nate Eldredge <eldredge AT ap DOT net>
Subject: Re: bash$ cat -

At 01:33  3/23/1998 -0800, Ned Ulbricht wrote:
>(See below for cat/bash version info)
>
>When using cat within bash to read from stdin
>
>bash$ cat -
>
>then after terminating the input with ^Z (either keyboard ctrl-Z or F6),
>subsequent cat's from stdin
>result in cat returning immediately without accepting input. 
[snip details]
>It seems to me that this is likely caused by the ^Z remaining buffered
>somewhere in the input stream and being resent to cat on the subsequent
>invocations under bash.

That seems unlikely to me, since this doesn't happen with any other of the
textutils. (I checked.) Strange. I don't know whether to suspect `bash' or
`cat' here; `bash' seems more likely. I can't rebuild `bash' to debug it (no
Windows 95), so I guess someone else will have to.

>(Aside from this, it seems from the list archive/DejaNews that Daisuke
>Aoyama hasn't posted since about last November.  Is he or anyone else
>still working on a bash 2 port?)

I don't have ftp, so I haven't checked, but I seem to remember hearing that
one was out. Check Simtelnet.

Nate Eldredge
eldredge AT ap DOT net



- Raw text -


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