[482] in Athena Bugs

home help back first fref pref prev next nref lref last post

onintr bug

daemon@ATHENA.MIT.EDU (qjb@ATHENA.MIT.EDU)
Thu Jul 7 16:46:24 1988

From: <qjb@ATHENA.MIT.EDU>
Date: Thu, 7 Jul 88 16:45:56 EDT
To: bugs@ATHENA.MIT.EDU
I sent this to rt-testers only to discover that the problem exists on 
5.5T as well:

---
The RT 6.0B csh does not respond to onintr correctly.  The following
script works correctly on a 6.0B vax and not on a 6.0B RT (i.e. "2"
never gets printed on the RT):

#!/bin/csh -f
onintr timeout
(sleep 5; kill -INT $$ &)
echo 1
sleep 10
exit 0
timeout:
echo 2
exit 0

If you don't feel like typing this in and want to try running it, a
copy is in /mit/qjb/bugs/onintr.
--[0547]--

home help back first fref pref prev next nref lref last post