Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: 3.1.5*: Re: [bug] Resizing an xterm while zsh queries the user
- X-seq: zsh-workers 5364
- From: Peter Stephenson <pws@xxxxxxxxxxxxxxxxx>
- To: Vincent Lefevre <Vincent.Lefevre@xxxxxxxxxxx>, zsh-workers@xxxxxxxxxxxxxx (Zsh hackers list)
- Subject: Re: PATCH: 3.1.5*: Re: [bug] Resizing an xterm while zsh queries the user
- Date: Sat, 13 Feb 1999 15:29:37 +0100
- In-reply-to: "Vincent Lefevre"'s message of "Sat, 13 Feb 1999 15:35:27 NFT." <19990213153527.A11128@xxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Vincent Lefevre wrote:
> It doesn't work very well. For instance:
>
> $ echo blaj
> zsh: correct 'blaj' to 'blah' [nyae]?
>
> If I type Ctrl-C, it displays:
>
> zsh: correct 'blaj' to 'blah' [nyae]? ^C
>
> but still waits for a character. Then, if I type "y", it displays nothing
> and "echo " goes to the history.
Sorry, I missed that.
--- Src/utils.c.err Fri Feb 5 13:59:27 1999
+++ Src/utils.c Sat Feb 13 15:26:32 1999
@@ -1160,7 +1160,7 @@
char c;
while (read(SHTTY, &c, 1) != 1) {
- if (errno != EINTR)
+ if (errno != EINTR || errflag)
return -1;
}
return STOUC(c);
--
Peter Stephenson <pws@xxxxxxxxxxxxxxxxx> Tel: +39 050 844536
WWW: http://www.ifh.de/~pws/
Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy
Messages sorted by:
Reverse Date,
Date,
Thread,
Author