* Change handling of ^G interrupts and of ABORT-CURRENT-COMMAND. Both
authorChris Hanson <org/chris-hanson/cph>
Mon, 2 Aug 1993 03:06:38 +0000 (03:06 +0000)
committerChris Hanson <org/chris-hanson/cph>
Mon, 2 Aug 1993 03:06:38 +0000 (03:06 +0000)
commiteee277b4b87fcaf7800e6143efdbc5ab32bdaa4b
treedc0537e8cf582d4cee4c35bac51cdcf3c218420c
parent3c9f099bebf239e3976cb978ca5651ea7d068d2e
* Change handling of ^G interrupts and of ABORT-CURRENT-COMMAND.  Both
  now use the condition system; ^G conditions are a specialization of
  ABORT-CURRENT-COMMAND conditions.  This change makes it easy to bind
  some action to occur when a command is aborted for whatever reason.
  Consequently, the procedure INTERCEPT-^G-INTERRUPTS has been
  deleted.

* The inferior thread output mechanism has been modified to allow a
  thread to request that the editor exit the keyboard reader and
  return to the command reader.  The request is phrased by the thread
  output procedure returning 'FORCE-RETURN.  This new mechanism is
  used by the inferior REPL code to force the command reader to
  immediately execute a command override for an unsolicited prompt.

* Aborting an unsolicited prompt causes the associated inferior thread
  to execute ABORT->NEAREST.

* Inferior REPL buffers now initialize their working directory to the
  default directory of the selected buffer at the time the REPL buffer
  is created.

* Inferior REPL buffers now have their own bindings of %EXIT and QUIT
  that affect only the inferior thread.  In particular, %EXIT kills
  the inferior thread but leaves Scheme running; QUIT does nothing.
v7/src/edwin/comred.scm
v7/src/edwin/editor.scm
v7/src/edwin/edwin.pkg
v7/src/edwin/intmod.scm
v7/src/edwin/iserch.scm
v7/src/edwin/process.scm
v7/src/edwin/prompt.scm
v7/src/edwin/xterm.scm