diff options
author | dgp <dgp@users.sourceforge.net> | 2013-08-22 01:13:13 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2013-08-22 01:13:13 (GMT) |
commit | 9a0d70bbe850de0895b6508186438831d07bf2bf (patch) | |
tree | 120a82370e8ae4b3a477586e3e38d88833b22381 /doc/tclsh.1 | |
parent | 4837b605c2c1f2aa65ba75d080a2cb5076303abd (diff) | |
parent | 5fa41623af2f5fefeee57120e605c491d5dd4edd (diff) | |
download | tcl-9a0d70bbe850de0895b6508186438831d07bf2bf.zip tcl-9a0d70bbe850de0895b6508186438831d07bf2bf.tar.gz tcl-9a0d70bbe850de0895b6508186438831d07bf2bf.tar.bz2 |
merge trunk
Diffstat (limited to 'doc/tclsh.1')
-rw-r--r-- | doc/tclsh.1 | 8 |
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 |