All Manuals > LispWorks® User Guide and Reference Manual > 38 The LISPWORKS Package

start-tty-listener Function

Summary

Starts a listener in the startup shell.

Package

lispworks

Signature

start-tty-listener force => process

Arguments
force
A generalized boolean.
Values
process
A listener process, or nil.
Description

The function start-tty-listener returns a process that runs a listener read-eval-print loop connected to *terminal-io*.

If force is nil, then start-tty-listener checks whether the default listener process is alive or if there is a live process with name "TTY Listener". If such a process exists, start-tty-listener simply returns nil and does not start a new process. If no such process exists, or if force was t, then start-tty-listener starts a new listener process named "TTY Listener", and returns it.

If a REPL with I/O through *terminal-io* (such as a REPL started by start-tty-listener) is in the debugger, then by default it blocks multiprocessing. This behavior is controlled by the value of *terminal-debugger-block-multiprocessing*.

See also

*terminal-debugger-block-multiprocessing*


LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:41