Scheme. This is a workaround for a problem that occurs when using
termcap and calling %EXIT from within the editor: the terminal
settings don't seem to be getting properly restored.
;;; -*-Scheme-*-
;;;
-;;; $Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/edwin/editor.scm,v 1.212 1992/02/08 15:23:31 cph Exp $
+;;; $Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/edwin/editor.scm,v 1.213 1992/02/10 12:02:48 cph Exp $
;;;
;;; Copyright (c) 1986, 1989-92 Massachusetts Institute of Technology
;;;
(define (exit-editor)
(within-continuation editor-abort reset-editor))
+
+(define (exit-scheme)
+ (within-continuation editor-abort %exit))
\f
(define (^G-signal)
(let ((handler *^G-interrupt-handler*))