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

Re: error on TTY read: no such file or directory



On Sep 28, 12:13pm, lordzork@xxxxxxxxxxxx wrote:
}
} i see nothing out of the ordinary, just the normal reading of the
} config files. and then, this:
} 
} +/root/.zsh/.zshrc:1> path=( /bin /sbin /usr/bin /usr/sbin
} /usr/local/bin /usr/local/sbin /sys ) 
} zsh: error on TTY read: no such file or directory

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.

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

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   



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