From: "Mark K. Gardner" <mkgardne@cs.uiuc.edu>
To: rc@hawkwind.utcs.toronto.edu
Subject: RE: intr and RC
Date: Tue, 7 Jan 1997 12:03:59 -0500 [thread overview]
Message-ID: <199701071703.LAA05449@perts6.cs.uiuc.edu> (raw)
mark> I have been having trouble interrupting commands in RC.
mark> Sometimes when I ctl-c (which I have intr set to) the command
mark> fails to stop. Other times it stops just fine. (Naturally, it
mark> fails to stop when I have invoked a long running program,
mark> rather than when it is a short running command.) I did not
mark> find any mention of the problem on the rc-list. Has anyone
mark> else seen this? Any suggestion on how to find the problem?
mark> Configuration:
mark> rc-1.5 (linux version from sunsite which differs from the
mark> official 1.5beta in its add-ons), Solaris v2.5.1, readline,
mark> static linkage, gcc v2.7.1 with -O2 and with a hack for
mark> ~/<path expansion> (which I cannot see how it would prevent
mark> intr from being acknowledged).
Soren> I have not looked at the rc code in a while, but this problem
Soren> appeared in es and it turned out that we should be using
Soren> sigsetjmp() and siglongjmp() rather than longjmp() and
Soren> setjmp().
I implemented the suggestion that Soren Dayton made (the difference
between SysV4 and BSD setjmp/longjmp is documented in the Solaris
Porting FAQ on sunsite), but the problem still exists. I can't believe
that I am the only one using rc on Solaris. Has anyone else managed to
compile rc and get interrupts to work properly? I *love* rc, but this
is driving me crazy!
--
Mark K. Gardner (mkgardne@cs.uiuc.edu)
University of Illinois at Urbana-Champaign
Real-Time Systems Laboratory
--
next reply other threads:[~1997-01-07 17:04 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-01-07 17:03 Mark K. Gardner [this message]
1997-01-07 17:16 ` Scott Schwartz
1997-01-07 17:46 ` Paul Haahr
-- strict thread matches above, loose matches on Subject: below --
1997-01-13 1:33 Scott Schwartz
1997-01-12 23:39 Scott Schwartz
1997-01-13 0:52 ` David Luyer
1997-02-11 13:57 ` Markus Friedl
1997-01-12 23:17 Byron Rakitzis
1997-01-09 21:59 Scott Schwartz
1997-01-08 20:01 Mark K. Gardner
1997-01-09 11:09 ` Tim Goodwin
1997-01-08 7:45 Bengt Kleberg
1997-01-07 19:55 Alan Watson
1997-01-07 18:00 Alan Watson
1996-12-31 21:53 Mark K. Gardner
1996-12-31 22:01 ` Soren Dayton
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=199701071703.LAA05449@perts6.cs.uiuc.edu \
--to=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).