Zsh Mailing List Archive
Messages sorted by:
Re: error on TTY read: no such file or directory
- X-seq: zsh-users 4283
- From: lordzork@xxxxxxxxxxxx
- To: zsh-users@xxxxxxxxxx
- Subject: Re: error on TTY read: no such file or directory
- Date: Fri, 28 Sep 2001 16:35:32 -0400
- In-reply-to: <1010928174804.ZM18560@xxxxxxxxxxxxxxxxxxxxxxx>
- Mail-followup-to: lordzork@xxxxxxxxxxxx, zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Organization: lordzork industries
- References: <20010910200737.A6256@xxxxxxxxxxxxxx> <001f01c13abb$6997dca0$21c9ca95@xxxxxxxxxxxxxx> <20010911084904.A11501@xxxxxxxxxxxxxx> <1010911140155.ZM24429@xxxxxxxxxxxxxxxxxxxxxxx> <20010928121347.B16561@xxxxxxxxxxxxxx> <1010928174804.ZM18560@xxxxxxxxxxxxxxxxxxxxxxx>
- Reply-to: lordzork@xxxxxxxxxxxx
In the gothic chambers of the underworld on Fri 28 Sep 2001 at 13:48 -0400,
Bart Schaefer muttered darkly:
> That's a really strange error. It's coming from ZLE attempting to read
> one byte from the tty file descriptor, which should have been correctly
> opened long before that point (or else you should have seen a different
> error, earlier).
> Does the same error happen if you log in as someone else and then use
> "su -" to start a root login shell? Otherwise I'm out of ideas on how
> to tell you to debug it.
the error only happens if i login from a tty. all of the following work
logging in through ssh
logging in as a different user and suing to root
changing shell to bash and then logging in and typing 'zsh -l'
one clarification: this *is* happening to every user, not just root.
it was just taking longer for the tty error to pop up with the other
users. i've noticed that this amount of time varies; sometimes it's
possible for me to type several commands before it boots me.
one other oddity is that command keys in less don't work properly. for
instance, pressing the down arrow prints '^[[B` instead of scrolling
down; pg down prints '^[[6~'. typing 'q' prints a q; a subsequent enter
will quit. it seems to me that this is somehow related to the tty read
error, since it is apparently affecting the line editor.
not to mention, i have the *exact* zsh setup on three other boxes, and
none of these problems.
for the curious, the login-trace file and related zsh configs can be
found here: http://lzi.n3.net/~zork/zle_error/
4.0k -rw-rw-r-- 1 zork zork 17 Apr 4 17:38 .signature
Messages sorted by: