summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2001-03-13 15:10:32 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2001-03-13 15:10:32 (GMT)
commit7460afa7ea0e4fce9c9477baadd3afb4dae3a53b (patch)
tree206f9b2f221df378c2a6dd2d995d31c56e511531
parent9749bcf454c6b66a309171a6b096169d54197534 (diff)
downloadtcl-7460afa7ea0e4fce9c9477baadd3afb4dae3a53b.zip
tcl-7460afa7ea0e4fce9c9477baadd3afb4dae3a53b.tar.gz
tcl-7460afa7ea0e4fce9c9477baadd3afb4dae3a53b.tar.bz2
Improved documentation for [info hostname].
-rw-r--r--ChangeLog3
-rw-r--r--doc/info.n13
2 files changed, 15 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 6d441ac..111cedc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2001-03-13 Donal K. Fellows <fellowsd@cs.man.ac.uk>
+ * doc/info.n: Improved documentation for [info hostname].
+ [Bug #403840]
+
* generic/tclVar.c (Tcl_UnsetObjCmd): Made command behave as
documented [issue remaining from bug #405769]
diff --git a/doc/info.n b/doc/info.n
index b7c117c..c129e2d 100644
--- a/doc/info.n
+++ b/doc/info.n
@@ -7,7 +7,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: info.n,v 1.5 2000/09/07 14:27:48 poenitz Exp $
+'\" RCS: @(#) $Id: info.n,v 1.6 2001/03/13 15:10:32 dkf Exp $
'\"
.so man.macros
.TH info n 8.4 Tcl "Tcl Built-In Commands"
@@ -87,6 +87,13 @@ are returned. Matching is determined using the same rules as for
\fBinfo hostname\fR
Returns the name of the computer on which this invocation is being
executed.
+.VS
+Note that this name is not guaranteed to be the fully qualified domain
+name of the host. Where machines have several different names (as is
+common on systems with both TCP/IP (DNS) and NetBIOS-based networking
+installed,) it is the name that is suitable for TCP/IP networking that
+is returned.
+.VE
.TP
\fBinfo level\fR ?\fInumber\fR?
If \fInumber\fR is not specified, this command returns a number
@@ -190,3 +197,7 @@ global(n), proc(n)
.SH KEYWORDS
command, information, interpreter, level, namespace, procedure, variable
+
+'\" Local Variables:
+'\" mode: nroff
+'\" End: \ No newline at end of file