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

error on TTY read: bad file descriptor



here's an edge case...

 ## Cygwin 6.8.99.903(242)
 ## zsh 4.3.9 (i686-pc-cygwin)

http://smasher.org/tmp/zsh-tty-fail.txt

start up zsh in an XTerm(tm) with no rc file (zsh -f) then source the file "zsh-tty-fail.txt".

not every time, but most of the time, when you re-size the terminal the shell will die with the message:
	zsh: error on TTY read: bad file descriptor

the workaround so far is to just disable TRAPWINCH if it's an xterm on cygwin. google doesn't tell me much about the error, except that someone found it once before but didn't give enough details for it to be duplicated. with this set up i can cause the error very consistently.


--
        ...atom

 ________________________
 http://atom.smasher.org/
 762A 3B98 A3C3 96C9 C6B7 582A B88D 52E4 D9F5 7808
 -------------------------------------------------

	"Anyone who has the power to make you believe absurdities
	 has the power to make you commit injustices."
		-- Voltaire



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