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

Bad behavior when piping/redirecting to "zsh -i"



I think it's unpleasant that "zsh -i" goes out of its way to find and read
from /dev/tty.  At the very least, "zsh -si" should use the standard input
as it was told, and not go reopening the terminal.

This actually appears to be zle's fault, because if I explicitly shut off
zle with "zsh +Z -i" then I can shovel standard input at it all I like.  I
would think, though, that zle should depend on the input being a tty, and
not the other way around.

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com



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