REPL no longer resets on ^C

Bug #248004 reported by Derick Eddington
2
Affects Status Importance Assigned to Milestone
Ikarus Scheme
Fix Committed
Low
Abdulaziz Ghuloum

Bug Description

Now that the REPL has an inner exception handler which returns, when ^C makes interrupt-handler raise-continuable an &interrupted, the REPL no longer resets. E.g.:

Ikarus Scheme version 0.0.3+ (revision 1536, build 2008-07-12)
Copyright (c) 2006-2008 Abdulaziz Ghuloum

> (let loop () (loop))
Unhandled exception
 Condition components:
   1. &interrupted
   2. &message: "received an interrupt signal"
Unhandled exception
 Condition components:
   1. &interrupted
   2. &message: "received an interrupt signal"

still going

Unhandled exception
 Condition components:
   1. &interrupted
   2. &message: "received an interrupt signal"

still ...

[1]+ Stopped $HOME/bin/ikarus-mine.sh
[d@eep:~/ikarus.dev]-> kill %1

If you can keep the raise of &interrupted as a continuable exception, that would be great.

Related branches

Revision history for this message
Abdulaziz Ghuloum (aghuloum) wrote :

Fixed in 1537 by having the new-cafe exception handler check explicitly for &interrupted conditions and resetting accordingly.

Changed in ikarus:
assignee: nobody → aghuloum
importance: Undecided → Low
status: New → Fix Committed
Changed in ikarus:
milestone: none → 0.0.4
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.