zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <pws@ibmth.df.unipi.it>
To: Vincent Lefevre <Vincent.Lefevre@ens-lyon.fr>,
	zsh-workers@sunsite.auc.dk (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	[thread overview]
Message-ID: <9902131429.AA23777@ibmth.df.unipi.it> (raw)
In-Reply-To: "Vincent Lefevre"'s message of "Sat, 13 Feb 1999 15:35:27 NFT." <19990213153527.A11128@vin.ens-lyon.fr>

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@ibmth.df.unipi.it>       Tel: +39 050 844536
WWW:  http://www.ifh.de/~pws/
Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy


      reply	other threads:[~1999-02-13 14:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <19990205124003.A26678@vin.ens-lyon.fr>
1999-02-05 13:02 ` Peter Stephenson
1999-02-13 14:35   ` Vincent Lefevre
1999-02-13 14:29     ` Peter Stephenson [this message]

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=9902131429.AA23777@ibmth.df.unipi.it \
    --to=pws@ibmth.df.unipi.it \
    --cc=Vincent.Lefevre@ens-lyon.fr \
    --cc=zsh-workers@sunsite.auc.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).