|
From: | Eli Zaretskii |
Subject: | bug#34123: A patch to fix reading EOF characters in non-interactive mode |
Date: | Fri, 18 Jan 2019 15:25:02 +0200 |
> From: Shawn Presser <shawnpresser@gmail.com> > Date: Fri, 18 Jan 2019 04:35:34 -0600 > > $ git clone https://github.com/shawwn/y > $ cd y > $ bin/y > > (read t) > Lisp expression: 42 > 42 > > (read t) > Lisp expression: ^Derror: Error reading from stdin > > Error reading from stdin > $ > > Notice that it’s currently impossible for non-interactive scripts to recover > from EOF when reading from tty. What would you want such non-interactive scripts to do after recovery?
[Prev in Thread] | Current Thread | [Next in Thread] |