From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from cs.uchicago.edu ([128.135.11.87]) by hawkwind.utcs.utoronto.ca with SMTP id <24603>; Tue, 31 Dec 1996 17:01:52 -0500 Received: from gargoyle164.cs.uchicago.edu (gargoyle20 [128.135.20.100]) by cs.uchicago.edu (8.8.3/8.7.3) with ESMTP id QAA05036; Tue, 31 Dec 1996 16:01:37 -0600 (CST) Received: (from csdayton@localhost) by gargoyle164.cs.uchicago.edu (8.8.3/8.7.3) id QAA08956; Tue, 31 Dec 1996 16:01:36 -0600 (CST) To: mkgardne@cs.uiuc.edu Cc: rc@hawkwind.utcs.toronto.edu Subject: Re: intr and RC References: <199612312153.PAA05716@pertsserver.cs.uiuc.edu> Mime-Version: 1.0 (generated by tm-edit 7.94) Content-Type: text/plain; charset=US-ASCII From: Soren Dayton Date: Tue, 31 Dec 1996 17:01:35 -0500 In-Reply-To: "Mark K. Gardner"'s message of Tue, 31 Dec 1996 16:53:37 -0500 Message-ID: X-Mailer: Gnus v5.3/XEmacs 19.14 "Mark K. Gardner" 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