Quit() action

Causes the emulator to terminate.

Unless the -force option is given, the emulator will not terminate if Quit is invoked from a keymap and there is a host session active.

The Exit action is an alias for Quit.

Note that starting with tcl3270 Release Notes/suite3270/4.2alpha1, the Quit action is implemented directly in tcl3270 itself, rather than being sent to the s3270 backend.

Parameters

 * -force
 * Forces termination unconditionally.

Examples
Terminate the emulator. Quit Terminate the emulator unconditionally. Quit(-force)

Default keymap
how to read keymap tables

In wx3270, starting with 1.0ga8, Alt-F4 is mapped to the action Quit(-force).

Version history
The -force option was added to x3270 4.0 in 2020.