REPL no longer resets on ^C
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/
[d@eep:
If you can keep the raise of &interrupted as a continuable exception, that would be great.
Related branches
Changed in ikarus: | |
milestone: | none → 0.0.4 |
Fixed in 1537 by having the new-cafe exception handler check explicitly for &interrupted conditions and resetting accordingly.