scsh-users
[Top] [All Lists]

Re: Signal/Interrupt Question

To: Martin Gasbichler <gasbichl@informatik.uni-tuebingen.de>
Subject: Re: Signal/Interrupt Question
From: RT Happe <rthappe@mathematik.uni-freiburg.de>
Date: Thu, 18 Jul 2002 17:28:39 +0200 (CEST)
Cc: <scsh@zurich.ai.mit.edu>
Thanks for the quick patch.  However, now scsh ignores pending interrupts
after control leaves the protected block.  I changed the script for better
demonstration:

#!/tmp/bin/scsh \
-o low-interrupt -s
!#
; the struct LOW-INTERRUPT serves the proc REMOVE-INTERRUPT

(display (with-enabled-interrupts
          (remove-interrupt interrupt/tstp (enabled-interrupts))
          (read)))
(newline)
; eof

When I type ``anton^Ziter'' and enter, the script isn't suspended during
the READ, fine, but neither before the DISPLAY.  It simply displays
``iter'' and finishes.

rthappe




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