Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
error on TTY read: bad file descriptor
- X-seq: zsh-users 14036
- From: Atom Smasher <atom@xxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: error on TTY read: bad file descriptor
- Date: Tue, 14 Apr 2009 17:55:47 +1200 (NZST)
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Openpgp: id=0xB88D52E4D9F57808; algo=1 (RSA); size=4096; url=http://atom.smasher.org/pgp.txt
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