summaryrefslogtreecommitdiffstats
path: root/doc/unknown.n
diff options
context:
space:
mode:
authorhobbs <hobbs>2001-06-27 21:00:45 (GMT)
committerhobbs <hobbs>2001-06-27 21:00:45 (GMT)
commit612a1b3161165bb6c62c75d298ae52e4552b1f85 (patch)
treea46fec7a979c34696a13ea1368a12c6c63c20457 /doc/unknown.n
parent4639672056e18ec52043f2e4c889b68accda6d8d (diff)
downloadtcl-612a1b3161165bb6c62c75d298ae52e4552b1f85.zip
tcl-612a1b3161165bb6c62c75d298ae52e4552b1f85.tar.gz
tcl-612a1b3161165bb6c62c75d298ae52e4552b1f85.tar.bz2
* doc/interp.n:
* doc/unknown.n: updated notes about what is in a safe interp. [Bug #218605]
Diffstat (limited to 'doc/unknown.n')
-rw-r--r--doc/unknown.n13
1 files changed, 7 insertions, 6 deletions
diff --git a/doc/unknown.n b/doc/unknown.n
index d95cd33..2ef5b14 100644
--- a/doc/unknown.n
+++ b/doc/unknown.n
@@ -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: unknown.n,v 1.3 2000/09/07 14:27:52 poenitz Exp $
+'\" RCS: @(#) $Id: unknown.n,v 1.4 2001/06/27 21:00:45 hobbs Exp $
'\"
.so man.macros
.TH unknown n "" Tcl "Tcl Built-In Commands"
@@ -20,10 +20,11 @@ unknown \- Handle attempts to use non-existent commands
.SH DESCRIPTION
.PP
This command is invoked by the Tcl interpreter whenever a script
-tries to invoke a command that doesn't exist. The implementation
-of \fBunknown\fR isn't part of the Tcl core; instead, it is a
-library procedure defined by default when Tcl starts up. You
-can override the default \fBunknown\fR to change its functionality.
+tries to invoke a command that doesn't exist. The default implementation
+of \fBunknown\fR is a library procedure defined when Tcl initializes an
+interpreter. You can override the default \fBunknown\fR to change its
+functionality. Note that there is no default implementation of
+\fBunknown\fR in a safe interpreter.
.PP
If the Tcl interpreter encounters a command name for which there
is not a defined command, then Tcl checks for the existence of
@@ -72,7 +73,7 @@ is the return value from the command that was eventually
executed.
.SH "SEE ALSO"
-info(n), proc(n)
+info(n), proc(n), interp(n), library(n)
.SH KEYWORDS
error, non-existent command