zsh-users
 help / color / mirror / code / Atom feed
From: "Bart Schaefer" <schaefer@brasslantern.com>
To: zsh-users@math.gatech.edu, Tanaka Akira <akr@jaist.ac.jp>
Subject: Re: zsh exits suddenly.
Date: Tue, 23 Jun 1998 11:25:17 -0700	[thread overview]
Message-ID: <980623112518.ZM375@candle.brasslantern.com> (raw)
In-Reply-To: <rsqbtrkw50q.fsf@is27e1s03.jaist.ac.jp>

On Jun 23, 11:45pm, Tanaka Akira wrote:
} Subject: zsh exits suddenly.
}
} I have a trouble that zsh exits as following.
} 
} carbon% ls <^D>
} zsh: do you wish to see all 848 possibilities? <^C>n
} carbon% ls <^M>
} akr@carbon% 

3.1.4 has the same problem.  This is exactly the bug that I described in
<http://www.zsh.org/mla/workers-1998/msg00372.html> (article 4037 if you
use the FTP archive (thanks, Geoff)) -- interrupting a read() with SIGINT
causes zsh to set lexstop to 1, which eventually causes the shell to exit.

I finally figured out where that's happening -- it's in ingetc(), which
is called from the SIGINT handler() via inerrflush().  However, I still
don't know how to fix the problem.

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com


  reply	other threads:[~1998-06-23 18:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-06-23 14:45 Tanaka Akira
1998-06-23 18:25 ` Bart Schaefer [this message]
1998-06-23 20:35   ` Tanaka Akira

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=980623112518.ZM375@candle.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=akr@jaist.ac.jp \
    --cc=zsh-users@math.gatech.edu \
    /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).