scsh-users
[Top] [All Lists]

Re: INT signal and sleep

To: "Daniel Ortmann" <ortmann@vnet.ibm.com>
Subject: Re: INT signal and sleep
From: Steven Jenkins <sjenkins@ms.com>
Date: Tue, 01 Apr 1997 10:14:44 -0500
Cc: scsh-bugs@martigny.ai.mit.edu
What does your code look like?  Here is a small sample:
#!/ms/user/s/sjenkins/bin/scsh -s
!#
(display "started")
(newline)
(sleep 20)
(display "finished")
(newline)

And it works fine...(ie, sending it an INT stops it).  
Also, what is your OS and version of scsh?

>Problem:
>scsh seemed to ignore a keyboard generated SIGINT during a (sleep 30).
>
>Expected:
>I thought the script should terminate immediately.  "perl -e 'sleep 30'"
>bails in this case.
>Daniel Ortmann, Circuit Technology 
>ortmann@vnet.ibm.com or ortmann@rchland 
>HEC/040-2, IBM Rochester, MN  55901-7829
>507.253.6795, (T/L)8.553.6795
>

Steven L. Jenkins

<Prev in Thread] Current Thread [Next in Thread>