From: Bart Schaefer <schaefer@brasslantern.com>
To: lordzork@lordzork.com, zsh-workers@sunsite.dk
Subject: Re: error on TTY read: no such file or directory
Date: Sun, 30 Sep 2001 01:24:12 +0000 [thread overview]
Message-ID: <1010930012412.ZM20346@candle.brasslantern.com> (raw)
In-Reply-To: <20010929202423.K16561@hithaeglir.net>
On Sep 29, 8:24pm, lordzork@lordzork.com wrote:
}
} In the gothic chambers of the underworld on Sat 29 Sep 2001 at 18:39 -0400,
} Bart Schaefer muttered darkly:
}
} > You need to find out why your read() call is so badly broken!
}
} and this read() function is a part of what? zsh? glibc?
It's a system call (that's why it shows up in strace output).
As a workaround you can try changing
if (r == 1)
break;
to
if (r > 0)
break;
at line 407 of Src/Zle/zle_main.c; but if the wrong number of bytes may
be returned by read(), all sorts of other things are going to break (not
just in zsh), so you shouldn't leave it at that. You may have to take
this up on a linux kernel list.
--
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
next prev parent reply other threads:[~2001-09-30 1:27 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20010910200737.A6256@hithaeglir.net>
[not found] ` <001f01c13abb$6997dca0$21c9ca95@mow.siemens.ru>
[not found] ` <20010911084904.A11501@hithaeglir.net>
[not found] ` <1010911140155.ZM24429@candle.brasslantern.com>
[not found] ` <20010928121347.B16561@hithaeglir.net>
[not found] ` <3BB56D03.2000300@mow.siemens.ru>
[not found] ` <20010929034953.E16561@hithaeglir.net>
[not found] ` <3BB62E93.10802@mow.siemens.ru>
[not found] ` <20010929170811.G16561@hithaeglir.net>
2001-09-29 21:28 ` Borsenkow Andrej
[not found] ` <20010929173848.H16561@hithaeglir.net>
2001-09-29 21:56 ` Borsenkow Andrej
2001-09-29 22:11 ` lordzork
2001-09-29 22:19 ` Borsenkow Andrej
2001-09-29 22:31 ` lordzork
2001-09-29 22:39 ` Bart Schaefer
2001-09-30 0:24 ` lordzork
2001-09-30 1:20 ` Zefram
2001-09-30 2:23 ` Bart Schaefer
2001-10-01 9:31 ` Peter Stephenson
2001-09-30 1:24 ` Bart Schaefer [this message]
2001-09-30 1:34 ` lordzork
2001-09-30 6:25 ` Borsenkow Andrej
2001-09-30 11:23 ` lordzork
2001-09-30 11:48 ` lordzork
2001-09-30 12:38 ` Zefram
2001-09-30 15:44 ` Borsenkow Andrej
2001-09-30 16:22 ` Bart Schaefer
2001-09-30 16:40 ` Borsenkow Andrej
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=1010930012412.ZM20346@candle.brasslantern.com \
--to=schaefer@brasslantern.com \
--cc=lordzork@lordzork.com \
--cc=zsh-workers@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).