Patch from Colin Watson: document pterm.WarnOnClose
authorjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Tue, 3 Feb 2004 14:36:01 +0000 (14:36 +0000)
committerjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Tue, 3 Feb 2004 14:36:01 +0000 (14:36 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/putty@3792 cda61777-01e9-0310-a592-d414129be87e

unix/pterm.1

index 64d8a30..4a049ee 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".