=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/nc/nc.1,v retrieving revision 1.20 retrieving revision 1.21 diff -c -r1.20 -r1.21 *** src/usr.bin/nc/nc.1 2002/02/17 03:03:06 1.20 --- src/usr.bin/nc/nc.1 2002/02/19 22:45:18 1.21 *************** *** 1,4 **** ! .\" $OpenBSD: nc.1,v 1.20 2002/02/17 03:03:06 ericj Exp $ .\" .\" Copyright (c) 1996 David Sacerdote .\" All rights reserved. --- 1,4 ---- ! .\" $OpenBSD: nc.1,v 1.21 2002/02/19 22:45:18 ericj Exp $ .\" .\" Copyright (c) 1996 David Sacerdote .\" All rights reserved. *************** *** 95,101 **** .It Fl k Forces .Nm ! to stay listening for another connection after it's current connection is completed. .It Fl l Used to specify that --- 95,101 ---- .It Fl k Forces .Nm ! to stay listening for another connection after its current connection is completed. .It Fl l Used to specify that *************** *** 103,110 **** should listen for an incoming connection rather than initiate a connection to a remote host. .It Fl n ! Do not do any DNS or service lookups on any specified addresses or ! hostnames, or ports. .It Fl p Ar port Specifies the source port .Nm --- 103,110 ---- should listen for an incoming connection rather than initiate a connection to a remote host. .It Fl n ! Do not do any DNS or service lookups on any specified addresses, ! hostnames or ports. .It Fl p Ar port Specifies the source port .Nm *************** *** 112,118 **** .It Fl r Specifies that source and/or destination ports should be chosen randomly instead of sequentially within a range or in the order that the system ! assigns. .It Fl s Ar hostname/ip address Specifies the IP of the interface which is used to send the packets. .It Fl t --- 112,118 ---- .It Fl r Specifies that source and/or destination ports should be chosen randomly instead of sequentially within a range or in the order that the system ! assigns them. .It Fl s Ar hostname/ip address Specifies the IP of the interface which is used to send the packets. .It Fl t *************** *** 159,167 **** IP for the local end of the connection. .It Li "nc -v hostname 42" Open a TCP connection to port 42 of hostname, displaying some - diagnostic messages on stderr. - .It Li "nc -v -v hostname 42" - Open a TCP connection to port 42 of hostname, displaying all diagnostic messages on stderr. .It Li "nc -v -z hostname 20-30" Attempt to open TCP connections to ports 20 through 30 of --- 159,164 ----