diff options
author | kennykb <kennykb@noemail.net> | 2003-02-13 22:09:09 (GMT) |
---|---|---|
committer | kennykb <kennykb@noemail.net> | 2003-02-13 22:09:09 (GMT) |
commit | bc17c2ebae7d4cc2aecb91a9eed848d1f9a482ec (patch) | |
tree | 6f3ae3a8718e6f13ff51e5a63f09919dabf5aa5a /doc/wish.1 | |
parent | f8e62cd818de6869ea42aca28f801500e06e5258 (diff) | |
download | tk-bc17c2ebae7d4cc2aecb91a9eed848d1f9a482ec.zip tk-bc17c2ebae7d4cc2aecb91a9eed848d1f9a482ec.tar.gz tk-bc17c2ebae7d4cc2aecb91a9eed848d1f9a482ec.tar.bz2 |
Added language to describe the handling of the end-of-file character
\u001a in a script file. [Bug 685505]
FossilOrigin-Name: 9ceeab897c975fd0791647d2695719ac258f9de6
Diffstat (limited to 'doc/wish.1')
-rw-r--r-- | doc/wish.1 | 18 |
1 files changed, 14 insertions, 4 deletions
@@ -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 |