Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2001-03-13
22:21 • Closed ticket [219401ffff]: Documentation on info hostname is unclear plus... artifact: 5c685c90f3 user: dkf
2001-02-16
23:01 • Ticket [219401ffff]: 4 changes artifact: 395c81171f user: dkf
2001-02-15
23:27 • Ticket [219401ffff]: 1 change artifact: ef5e7ee90e user: dkf
2001-02-07
22:30 • Ticket [219401ffff]: 1 change artifact: dd6bd4bd22 user: dkf
2000-12-11
23:44 • Ticket [219401ffff]: 4 changes artifact: f1fd4674a6 user: dkf
2000-11-15
22:08 • Ticket [219401ffff]: 1 change artifact: 182bd6dac9 user: dkf
2000-10-26
05:12 • New ticket [219401ffff]. artifact: 23eb7d856d user: nobody

Documentation on [info hostname] is unclear

Closed / Fixed219401ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 05:12:28
OriginalBugID: 6292 Bug
Version: 8.3.2
SubmitDate: '2000-09-21'
LastModified: '2000-10-25'
Severity: LOW
Status: UnAssn
Submitter: techsupp
OS: Windows NT
FixedDate: '2000-10-25'
ClosedDate: '2000-10-25'


Name:
Benjamin Riefenstahl

CVS:
RCS: @(#) $Id: info.n,v 1.3 2000/01/26 21:36:35 ericm Exp $

DesiredBehavior:
Systems like Windows or MacOS have a platform specific native computer name.
[info hostname] refers to the TCP/IP domain name of the computer, which may
not be exactly the same. The documentation should point this out.

Patch:
Index: info.n
===================================================================
RCS file: /cvsroot/tcl/doc/info.n,v
retrieving revision 1.3
diff -c -r1.3 info.n
*** info.n2000/01/26 21:36:351.3
--- info.n2000/09/20 13:10:16
***************
*** 85,91 ****
  .TP
  \fBinfo hostname\fR
  Returns the name of the computer on which this invocation is being
! executed.
  .TP
  \fBinfo level\fR ?\fInumber\fR?
  If \fInumber\fR is not specified, this command returns a number
--- 85,94 ----
  .TP
  \fBinfo hostname\fR
  Returns the name of the computer on which this invocation is being
! executed.  The name is taken from the TCP/IP configuration.  This is
! not necessarily the same as the platform specific computer name,
! because the RFCs that govern IP domain names restrict the syntax that
! is valid for these names.
  .TP
  \fBinfo level\fR ?\fInumber\fR?
  If \fInumber\fR is not specified, this command returns a number

PatchFiles:
info.n
dkf Ticket [219401ffff]: 1 change [History diff]2000-11-15 22:08:08
dkfplain2000-12-11 23:44:55
Note that the hostname doesn't necessarily tell you the FQDN of the host, since on Unix systems supporting YP/NIS that is a completely different thing.  Helpful, isn't it?  :^(
dkf Ticket [219401ffff]: 1 change [History diff]2001-02-07 22:30:21
dkf Ticket [219401ffff]: 1 change [History diff]2001-02-15 23:27:34
dkfplain2001-02-16 23:01:21
See patch #103840
dkf Closed ticket [219401ffff]. [History diff]2001-03-13 22:21:00
Log in (anonymous is fine) to add a comment.