rc-list - mailing list for the rc(1) shell
 help / color / mirror / Atom feed
From: Soren Dayton <csdayton@cs.uchicago.edu>
To: mkgardne@cs.uiuc.edu
Cc: rc@hawkwind.utcs.toronto.edu
Subject: Re: intr and RC
Date: Tue, 31 Dec 1996 17:01:35 -0500	[thread overview]
Message-ID: <xcdafqu5q68.fsf@gargoyle164.cs.uchicago.edu> (raw)
In-Reply-To: "Mark K. Gardner"'s message of Tue, 31 Dec 1996 16:53:37 -0500

"Mark K. Gardner" <mkgardne@cs.uiuc.edu> writes:

> I have been having trouble interrupting commands in RC. Sometimes when
> I ctl-c (which I have intr set to) the command fails to stop. Other
> times it stops just fine. (Naturally, it fails to stop when I have
> invoked a long running program, rather than when it is a short running
> command.) I did not find any mention of the problem on the rc-list.
> Has anyone else seen this? Any suggestion on how to find the problem?

I have not looked at the rc code in a while, but this problem appeared
in es and it turned out that we should be using sigsetjmp() and
siglongjmp() rather than longjmp() and setjmp().

Just a pointer...

Soren


  reply	other threads:[~1996-12-31 22:01 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-12-31 21:53 Mark K. Gardner
1996-12-31 22:01 ` Soren Dayton [this message]
1997-01-07 17:03 Mark K. Gardner
1997-01-07 17:16 ` Scott Schwartz
1997-01-07 17:46 ` Paul Haahr
1997-01-07 18:00 Alan Watson
1997-01-07 19:55 Alan Watson
1997-01-08  7:45 Bengt Kleberg
1997-01-08 20:01 Mark K. Gardner
1997-01-09 11:09 ` Tim Goodwin
1997-01-09 21:59 Scott Schwartz
1997-01-12 23:17 Byron Rakitzis
1997-01-12 23:39 Scott Schwartz
1997-01-13  0:52 ` David Luyer
1997-02-11 13:57   ` Markus Friedl
1997-01-13  1:33 Scott Schwartz

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=xcdafqu5q68.fsf@gargoyle164.cs.uchicago.edu \
    --to=csdayton@cs.uchicago.edu \
    --cc=mkgardne@cs.uiuc.edu \
    --cc=rc@hawkwind.utcs.toronto.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.
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).