On Fri, Mar 02, 2007 at 10:02:41AM -0800, Eric Wilhelm wrote: > # from Nicholas Clark > # on Friday 02 March 2007 08:40 am: > > >On Fri, Mar 02, 2007 at 12:10:15PM +0100, Andreas J. Koenig wrote: > >> I hope somebody else can explain the full story. My complaint was > >> only that eof(STDIN) never returns on an open terminal STDIN > >> filehandle. Just try: > >> > >> perl -e 'print eof(STDIN)' > >> > >> and wait. > > > >Which perl version? It does return for me on 5.8.8 on FreeBSD after I > > type control-D. I believe that there was a bug related to this that > > was fix. > > We do not have a "doesn't return after Ctrl+D" issue. > > This is about the user not knowing that they should hit Ctrl+D. >
FWIW, there are notes in IO::Tty about EOF on the slave tty not being returned to the parent pty in all cases. I'm not sure if that applies here. Austin