Quit() action

From The x3270 Wiki
(Redirected from Exit() action)

Causes the emulator to terminate.

Unless the -force option is given (New in 4.0), 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 4.1, the Quit() action is implemented directly in tcl3270 itself, rather than being sent to the s3270 backend.

Parameters

-force
Forces termination unconditionally. New in 4.0

Examples

Terminate the emulator.

Quit()

Terminate the emulator unconditionally. New in 4.0

Quit(-force)

Default keymap

x3270 c3270 wc3270 wx3270
Alt-q Ctrl-a + q Alt-q Alt-q

how to read keymap tables

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