Maxima 5.46.0 Manual: Interrupts

Next: Functions and Variables for Runtime Environment, Previous: Introduction for Runtime Environment, Up: Runtime Environment [Contents][Index]

### 32.2 Interrupts

The user can stop a time-consuming computation with the ^C (control-C) character. The default action is to stop the computation and print another user prompt. In this case, it is not possible to restart a stopped computation.

If the Lisp variable `*debugger-hook*` is set to `nil`, by executing

    :lisp (setq *debugger-hook* nil)

then upon receiving ^C, Maxima will enter the Lisp debugger, and the user may use the debugger to inspect the Lisp environment. The stopped computation can be restarted by entering `continue` in the Lisp debugger. The means of returning to Maxima from the Lisp debugger (other than running the computation to completion) is different for each version of Lisp.

On Unix systems, the character ^Z (control-Z) causes Maxima to stop altogether, and control is returned to the shell prompt. The `fg` command causes Maxima to resume from the point at which it was stopped.

Categories:Console interaction ·

Next: Functions and Variables for Runtime Environment, Previous: Introduction for Runtime Environment, Up: Runtime Environment [Contents][Index]