Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: INTERACTIVE vs. SHINSTDIN



Bart Schaefer wrote:
>Hmm, so SHINSTDIN is true, but in fact the shell is not reading commands
>from stdin ... yet commands started by the shell read from the actual stdin,
>not from where the shell is reading commands from ... I suppose one can get
>some interesting effects this way, but is it really the correct behavior?

We changed it to be that way some time ago.  In interactive shells,
commands are read by ZLE, which talks to the tty, regardless of stdin.
All is as it should be.  (Leave out the -i in your test case and commands
*are* read from stdin.)

-zefram



Messages sorted by: Reverse Date, Date, Thread, Author