]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
CloseOnExit now defaults to COE_ALWAYS for pterm, bringing it back
authorSimon Tatham <anakin@pobox.com>
Mon, 28 Oct 2002 17:39:21 +0000 (17:39 +0000)
committerSimon Tatham <anakin@pobox.com>
Mon, 28 Oct 2002 17:39:21 +0000 (17:39 +0000)
commitec5a7ee9408ce95393310af17eebd06e56e29152
treeaf70c457bb0f960cf1e555852fe5c575bdd1585d
parent963742fd4e4bdb283b481eb6d094d02531dc94e9
CloseOnExit now defaults to COE_ALWAYS for pterm, bringing it back
into line with most other xtermalikes. On Unix, the exit code of a
shell is the last exit code of one of its child processes, even if
it's an interactive shell - so some pterms will close and some will
not for no particularly good reason. Power-detaching a screen
session is especially bad for this.
COE_NORMAL is still useful for specialist purposes (running a single
command in its own pterm), but I don't think it's a sane default,
unfortunately.

[originally from svn r2154]
settings.c
unix/pterm.1