Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/telnet break the description of the "open" command i...



details:   https://anonhg.NetBSD.org/src/rev/8162f5a86622
branches:  trunk
changeset: 554395:8162f5a86622
user:      heas <heas%NetBSD.org@localhost>
date:      Mon Oct 27 19:46:14 2003 +0000

description:
break the description of the "open" command into two paragraphs and improve
description of .telnetrc.

diffstat:

 usr.bin/telnet/telnet.1 |  15 ++++++++++-----
 1 files changed, 10 insertions(+), 5 deletions(-)

diffs (37 lines):

diff -r f2388b613b35 -r 8162f5a86622 usr.bin/telnet/telnet.1
--- a/usr.bin/telnet/telnet.1   Mon Oct 27 18:36:26 2003 +0000
+++ b/usr.bin/telnet/telnet.1   Mon Oct 27 19:46:14 2003 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: telnet.1,v 1.27 2003/08/07 11:16:10 agc Exp $
+.\"    $NetBSD: telnet.1,v 1.28 2003/10/27 19:46:14 heas Exp $
 .\"
 .\" Copyright (c) 1983, 1990, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -612,18 +612,23 @@
 options.
 When the port number is preceded by a minus sign,
 the initial option negotiation is done.
+.Pp
 After establishing a connection, the file
 .Pa \&.telnetrc
 in the
-user's home directory is opened.
+user's home directory is read.
 Lines beginning with a # are
 comment lines.
 Blank lines are ignored.
 Lines that begin
 without white space are the start of a machine entry.
-The
-first thing on the line is the name of the machine that is
-being connected to.
+The first thing on such a line is a string identifying the machine
+that is being connected to.
+It may be the hostname or numeric address sepecified as the argument
+.Ar host ,
+the canonical name of that string as determined by
+.Xr getaddrinfo 3 ,
+or the string \*(LqDEFAULT\*(Rq indicating all hosts.
 The rest of the line, and successive
 lines that begin with white space are assumed to be
 .Nm



Home | Main Index | Thread Index | Old Index