]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Patch from Colin Watson: document pterm.WarnOnClose
authorJacob Nevins <jacobn@chiark.greenend.org.uk>
Tue, 3 Feb 2004 14:36:01 +0000 (14:36 +0000)
committerJacob Nevins <jacobn@chiark.greenend.org.uk>
Tue, 3 Feb 2004 14:36:01 +0000 (14:36 +0000)
[originally from svn r3792]

unix/pterm.1

index 64d8a30511cee40c7caab90b1b7fbea5fe2dad2f..4a049eef9d36d0b8a93a0c78e7ba5c3ae2f8a06b 100644 (file)
@@ -151,6 +151,10 @@ zero), but the window will stay around if the process exits with a
 non-zero code or on a signal. This enables you to see what went
 wrong if the process suffers an error, but not to have to bother
 closing the window in normal circumstances.
 non-zero code or on a signal. This enables you to see what went
 wrong if the process suffers an error, but not to have to bother
 closing the window in normal circumstances.
+.IP "\fBpterm.WarnOnClose\fP"
+This option should be set to either 0 or 1; the default is 1.
+When set to 1, \fIpterm\fP will ask for confirmation before closing
+its window when you press the close button.
 .IP "\fBpterm.TerminalType\fP"
 This controls the value set in the TERM environment variable inside
 the new terminal. The default is "xterm".
 .IP "\fBpterm.TerminalType\fP"
 This controls the value set in the TERM environment variable inside
 the new terminal. The default is "xterm".