]> asedeno.scripts.mit.edu Git - PuTTY_svn.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)
commitb366110b0cfd1d8b833391794cf571cd81285631
treeaf70c457bb0f960cf1e555852fe5c575bdd1585d
parentb2b116d24d7ec847f6a07911f68dc01524f3b419
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.

git-svn-id: http://svn.tartarus.org/sgt/putty@2154 cda61777-01e9-0310-a592-d414129be87e
settings.c
unix/pterm.1