summaryrefslogtreecommitdiff
path: root/src/usr.bin/nc/nc.1
diff options
context:
space:
mode:
authorericj <>2002-02-19 22:45:18 +0000
committerericj <>2002-02-19 22:45:18 +0000
commita03c0e851f1aaa82f73eef4a7673768cae02b444 (patch)
treeff7b2a1abfe7544af9f48c80a3101112d866d338 /src/usr.bin/nc/nc.1
parentbdb78ac7733919cb9e222816860db6c87a5031df (diff)
downloadopenbsd-a03c0e851f1aaa82f73eef4a7673768cae02b444.tar.gz
openbsd-a03c0e851f1aaa82f73eef4a7673768cae02b444.tar.bz2
openbsd-a03c0e851f1aaa82f73eef4a7673768cae02b444.zip
man page fixes
from Kevin Steves <stevesk@pobox.com>
Diffstat (limited to 'src/usr.bin/nc/nc.1')
-rw-r--r--src/usr.bin/nc/nc.113
1 files changed, 5 insertions, 8 deletions
diff --git a/src/usr.bin/nc/nc.1 b/src/usr.bin/nc/nc.1
index 721a2c4896..5c0cc5e244 100644
--- a/src/usr.bin/nc/nc.1
+++ b/src/usr.bin/nc/nc.1
@@ -1,4 +1,4 @@
1.\" $OpenBSD: nc.1,v 1.20 2002/02/17 03:03:06 ericj Exp $ 1.\" $OpenBSD: nc.1,v 1.21 2002/02/19 22:45:18 ericj Exp $
2.\" 2.\"
3.\" Copyright (c) 1996 David Sacerdote 3.\" Copyright (c) 1996 David Sacerdote
4.\" All rights reserved. 4.\" All rights reserved.
@@ -95,7 +95,7 @@ Also causes a delay time between connections to multiple ports.
95.It Fl k 95.It Fl k
96Forces 96Forces
97.Nm 97.Nm
98to stay listening for another connection after it's current connection 98to stay listening for another connection after its current connection
99is completed. 99is completed.
100.It Fl l 100.It Fl l
101Used to specify that 101Used to specify that
@@ -103,8 +103,8 @@ Used to specify that
103should listen for an incoming connection rather than initiate a 103should listen for an incoming connection rather than initiate a
104connection to a remote host. 104connection to a remote host.
105.It Fl n 105.It Fl n
106Do not do any DNS or service lookups on any specified addresses or 106Do not do any DNS or service lookups on any specified addresses,
107hostnames, or ports. 107hostnames or ports.
108.It Fl p Ar port 108.It Fl p Ar port
109Specifies the source port 109Specifies the source port
110.Nm 110.Nm
@@ -112,7 +112,7 @@ should use, subject to privilege restrictions and availability.
112.It Fl r 112.It Fl r
113Specifies that source and/or destination ports should be chosen randomly 113Specifies that source and/or destination ports should be chosen randomly
114instead of sequentially within a range or in the order that the system 114instead of sequentially within a range or in the order that the system
115assigns. 115assigns them.
116.It Fl s Ar hostname/ip address 116.It Fl s Ar hostname/ip address
117Specifies the IP of the interface which is used to send the packets. 117Specifies the IP of the interface which is used to send the packets.
118.It Fl t 118.It Fl t
@@ -160,9 +160,6 @@ IP for the local end of the connection.
160.It Li "nc -v hostname 42" 160.It Li "nc -v hostname 42"
161Open a TCP connection to port 42 of hostname, displaying some 161Open a TCP connection to port 42 of hostname, displaying some
162diagnostic messages on stderr. 162diagnostic messages on stderr.
163.It Li "nc -v -v hostname 42"
164Open a TCP connection to port 42 of hostname, displaying all
165diagnostic messages on stderr.
166.It Li "nc -v -z hostname 20-30" 163.It Li "nc -v -z hostname 20-30"
167Attempt to open TCP connections to ports 20 through 30 of 164Attempt to open TCP connections to ports 20 through 30 of
168hostname, and report which ones 165hostname, and report which ones