Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: INTERACTIVE vs. SHINSTDIN
- X-seq: zsh-workers 13798
- From: Zefram <zefram@xxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- Subject: Re: INTERACTIVE vs. SHINSTDIN
- Date: Tue, 27 Mar 2001 19:12:57 +0100 (BST)
- Cc: zsh-workers@xxxxxxxxxx
- In-reply-to: <1010325234953.ZM11680@xxxxxxxxxxxxxxxxxxxxxxx> from Bart Schaefer at "Mar 25, 2001 11:49:53 pm"
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
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