summaryrefslogtreecommitdiffstats
path: root/doc/wish.1
diff options
context:
space:
mode:
authorKevin B Kenny <kennykb@acm.org>2003-02-13 22:09:10 (GMT)
committerKevin B Kenny <kennykb@acm.org>2003-02-13 22:09:10 (GMT)
commit9322386b239b2d4135a3f60dab8aae8516c8dca8 (patch)
tree6f3ae3a8718e6f13ff51e5a63f09919dabf5aa5a /doc/wish.1
parent7e1886554eaaffb141641625bb597ff69c58d6b7 (diff)
downloadtk-9322386b239b2d4135a3f60dab8aae8516c8dca8.zip
tk-9322386b239b2d4135a3f60dab8aae8516c8dca8.tar.gz
tk-9322386b239b2d4135a3f60dab8aae8516c8dca8.tar.bz2
Added language to describe the handling of the end-of-file character
\u001a in a script file. [Bug 685505]
Diffstat (limited to 'doc/wish.1')
-rw-r--r--doc/wish.118
1 files changed, 14 insertions, 4 deletions
diff --git a/doc/wish.1 b/doc/wish.1
index d83caae..0f06894 100644
--- a/doc/wish.1
+++ b/doc/wish.1
@@ -5,7 +5,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: wish.1,v 1.2 1998/09/14 18:23:01 stanton Exp $
+'\" RCS: @(#) $Id: wish.1,v 1.3 2003/02/13 22:09:12 kennykb Exp $
'\"
.so man.macros
.TH wish 1 8.0 Tk "Tk Applications"
@@ -72,8 +72,9 @@ If \fBwish\fR is invoked with an initial \fIfileName\fR argument, then
presumably creates a user interface), then it will respond to events
until all windows have been deleted.
Commands will not be read from standard input.
-There is no automatic evaluation of \fB.wishrc\fR in this
-case, but the script file can always \fBsource\fR it if desired.
+There is no automatic evaluation of \fB.wishrc\fR when the name
+of a script file is presented on the \fBwish\fR command line,
+but the script file can always \fBsource\fR it if desired.
.SH "OPTIONS"
.PP
@@ -168,7 +169,16 @@ instead to start up \fBwish\fR to reprocess the entire script.
When \fBwish\fR starts up, it treats all three lines as comments,
since the backslash at the end of the second line causes the third
line to be treated as part of the comment on the second line.
-
+.PP
+.VS 8.4
+The end of a script file may be marked either by the physical end of
+the medium, or by the character, '\\032' ('\\u001a', control-Z).
+If this character is present in the file, the \fBwish\fR application
+will read text up to but not including the character. An application
+that requires this character in the file may encode it as
+``\\032'', ``\\x1a'', or ``\\u001a''; or may generate it by use of commands
+such as \fBformat\fR or \fBbinary\fR.
+.VE
.SH PROMPTS
.PP
When \fBwish\fR is invoked interactively it normally prompts for each