summaryrefslogtreecommitdiffstats
path: root/doc/tclsh.1
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2013-08-21 10:25:18 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2013-08-21 10:25:18 (GMT)
commit3f61f168eb9d98c28312cdea25b214827c3692f2 (patch)
tree53c322fba847e22c281759b85bd9d72102dff076 /doc/tclsh.1
parent9feda62fe0318715623c455abe7289bbb7dec34e (diff)
downloadtcl-3f61f168eb9d98c28312cdea25b214827c3692f2.zip
tcl-3f61f168eb9d98c28312cdea25b214827c3692f2.tar.gz
tcl-3f61f168eb9d98c28312cdea25b214827c3692f2.tar.bz2
[3612422]: Refer to correct part of tclvars(n) rather than page itself.
Diffstat (limited to 'doc/tclsh.1')
-rw-r--r--doc/tclsh.18
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/tclsh.1 b/doc/tclsh.1
index 8e7fb9e..dfc2635 100644
--- a/doc/tclsh.1
+++ b/doc/tclsh.1
@@ -102,7 +102,9 @@ but also the disadvantage of making it harder to write scripts that
start up uniformly across different versions of Tcl.
.SH "VARIABLES"
.PP
-\fBTclsh\fR sets the following Tcl variables:
+\fBTclsh\fR sets the following global Tcl variables in addition to those
+created by the Tcl library itself (such as \fBenv\fR, which maps
+environment variables such as \fBPATH\fR into Tcl):
.TP 15
\fBargc\fR
.
@@ -129,7 +131,7 @@ device), 0 otherwise.
When \fBtclsh\fR is invoked interactively it normally prompts for each
command with
.QW "\fB% \fR" .
-You can change the prompt by setting the
+You can change the prompt by setting the global
variables \fBtcl_prompt1\fR and \fBtcl_prompt2\fR. If variable
\fBtcl_prompt1\fR exists then it must consist of a Tcl script
to output a prompt; instead of outputting a prompt \fBtclsh\fR
@@ -142,6 +144,6 @@ incomplete commands.
.PP
See \fBTcl_StandardChannels\fR for more explanations.
.SH "SEE ALSO"
-encoding(n), fconfigure(n), tclvars(n)
+auto_path(n), encoding(n), env(n), fconfigure(n)
.SH KEYWORDS
application, argument, interpreter, prompt, script file, shell