delorie.com/djgpp/bugs/show.cgi   search  
Bug 000213

When Created: 03/25/1998 15:43:24
Against DJGPP version: 2.01
By whom: nedu@ee.washington.edu
Abstract: Subsequent cat invocation reading stdin returns immediately under bash
cat (GNU textutils) 1.22
GNU bash, version 1.14.7(1) r3 w/multibyte extension

When cat gets input from stdin under bash, i.e.
bash$ cat -
and the input is then terminated with ^Z, subsequent identical invocations
cause cat to return immediately without accepting input.

For more details, search the djgpp mail archives using 'bash cat' and locate the 
thread 'bash$ cat -'.

Note added: 04/12/1999 10:00:32
By whom: eliz@is.elta.co.il
This is a DOS misfeature: the EOF condition on the console device is not
cleared until something is written to the console.  Since Bash uses BIOS
rather than DOS for I/O, it doesn't clear the EOF condition when it prints
the prompt.

Closed on 04/13/1999 07:00:56: DOS ``feature'', not a DJGPP bug.
By whom: eliz@is.elta.co.il



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