Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
RE: typeahead problem
- X-seq: zsh-workers 4714
- From: "Andrej Borsenkow" <borsenkow.msk@xxxxxx>
- To: "Bernd Eggink" <eggink@xxxxxxxxxxxxxx>, "zsh Workers" <zsh-workers@xxxxxxxxxxxxxxx>
- Subject: RE: typeahead problem
- Date: Tue, 8 Dec 1998 17:30:34 +0300
- Importance: Normal
- In-reply-to: <366D32BB.79BDDC23@xxxxxxxxxxxxxxxxxx>
>
> In Linux and AIX 4.2 there is no difference in the behaviour whether or
> not I define CLOBBERS_TYPEAHEAD in config.h. Hm, is that the right
> location? I also added "x-*-linux*" to the switch in the "TYPEAHEAD
> KLUDGE" section in configure.in, but that didn't change anything either.
>
Sorry, it is unrelated to typeahead probleam, I had to read better :(
I tried it here with 3.1.5 + patches. It looks, like ZSH takes the first
character on the line and ignores the rest.
while read -q && sleep 10
do
echo YES
done
y <- cursor immediately springs to the next line
yyyYES
^^^ output by ZSH
<- note newline
YES
Only first 'y' from 'yyy' is taken. Is it what you've seen?
Well, manual says "read -q reads only one character" so it is really
confusing. Currently it "reads the line and takes the first character".
Who's wrong - binary or manual?
/andrej
Messages sorted by:
Reverse Date,
Date,
Thread,
Author