zsh-users
 help / color / mirror / code / Atom feed
From: lordzork@lordzork.com
To: zsh-users@sunsite.dk
Subject: Re: error on TTY read: no such file or directory
Date: Fri, 28 Sep 2001 16:35:32 -0400	[thread overview]
Message-ID: <20010928163532.C16561@hithaeglir.net> (raw)
In-Reply-To: <1010928174804.ZM18560@candle.brasslantern.com>

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
fine:

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/

t.
 

-- 
4.0k -rw-rw-r--    1 zork     zork       17 Apr 4 17:38 .signature


  reply	other threads:[~2001-09-28 20:36 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-11  0:07 lordzork
2001-09-11 12:15 ` Borsenkow Andrej
2001-09-11 12:49   ` lordzork
2001-09-11 14:01     ` Bart Schaefer
2001-09-28 16:13       ` lordzork
2001-09-28 17:48         ` Bart Schaefer
2001-09-28 20:35           ` lordzork [this message]
2001-09-29  1:33             ` Bart Schaefer
2001-09-29  2:16               ` lordzork
2001-09-29  6:41         ` Borsenkow Andrej
2001-09-29  7:49           ` lordzork

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010928163532.C16561@hithaeglir.net \
    --to=lordzork@lordzork.com \
    --cc=zsh-users@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).