CloseOnExit now defaults to COE_ALWAYS for pterm, bringing it back
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Mon, 28 Oct 2002 17:39:21 +0000 (17:39 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Mon, 28 Oct 2002 17:39:21 +0000 (17:39 +0000)
commit461b078e13ea3bbbbb4304598137a8ef04a14f29
treeaf70c457bb0f960cf1e555852fe5c575bdd1585d
parent045f707bf479ce03fc35f76ae397b1f5d93d9fda
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: svn://svn.tartarus.org/sgt/putty@2154 cda61777-01e9-0310-a592-d414129be87e
settings.c
unix/pterm.1