Zsh Mailing List Archive
Messages sorted by:
Re: error on TTY read: no such file or directory
- X-seq: zsh-workers 15898
- From: Borsenkow Andrej <Andrej.Borsenkow@xxxxxxxxxxxxxx>
- To: lordzork@xxxxxxxxxxxx
- Subject: Re: error on TTY read: no such file or directory
- Date: Sun, 30 Sep 2001 01:56:08 +0400
- Cc: ZSH Workers Mailing List <zsh-workers@xxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20010910200737.A6256@xxxxxxxxxxxxxx> <001f01c13abb$6997dca0$21c9ca95@xxxxxxxxxxxxxx> <20010911084904.A11501@xxxxxxxxxxxxxx> <1010911140155.ZM24429@xxxxxxxxxxxxxxxxxxxxxxx> <20010928121347.B16561@xxxxxxxxxxxxxx> <3BB56D03.2000300@xxxxxxxxxxxxxx> <20010929034953.E16561@xxxxxxxxxxxxxx> <3BB62E93.10802@xxxxxxxxxxxxxx> <20010929170811.G16561@xxxxxxxxxxxxxx> <3BB63D16.5040709@xxxxxxxxxxxxxx> <20010929173848.H16561@xxxxxxxxxxxxxx>
0666) = 3
fcntl64(2, F_DUPFD, 10) = 13
close(2) = 0
dup2(3, 2) = 2
ioctl(2, SNDCTL_TMR_TIMEBASE, 0xbffff8d8) = -1 ENOTTY (Inappropriate
ioctl for device)
fd 2 does not look like tty, does it? I presume you do exec >
/tmp/login-trace very early in your /etc/zshenv
You noticed it, dd not you? Have you checked your zshenv for stderr
redrection? (it was to be exec 2> /tmp/login-trace, of course).
Still there is something weird going on:
write(10, "\r\33[m\33[m\33[m\33[J\n\33[1;30m[ \33[1;37mlc"..., 270) = 270
write(10, "\33[K", 3) = 3
read(10, "l", 1) = 1
write(10, "l", 1) = 1
read(10, "s", 1) = 1
write(10, "\10ls", 3) = 3
1) = 1025
Oops. Where does this last line comes from?
that is probably where it booted me. i typed ls once and it ran, then
again and it froze after the first 'l'.
It was not my question. I do not understand where this data comes from
and how can read one byte return 1025 bytes. It looks more like a
contents of readdir() but I have no idea how can it appear on shell input.
PS please keep further conversation on the list.
Messages sorted by: