diff options
author | sobrado <> | 2009-10-22 12:35:53 +0000 |
---|---|---|
committer | sobrado <> | 2009-10-22 12:35:53 +0000 |
commit | cf545c35b7e8dac632d41a8c7cc82ba750f3adf6 (patch) | |
tree | 6316101858f64881d7f88ce1177d382387b6175c /src/usr.bin/nc/nc.1 | |
parent | a21621729c2c275e38dc485cc15b6b0fadac6f8a (diff) | |
download | openbsd-cf545c35b7e8dac632d41a8c7cc82ba750f3adf6.tar.gz openbsd-cf545c35b7e8dac632d41a8c7cc82ba750f3adf6.tar.bz2 openbsd-cf545c35b7e8dac632d41a8c7cc82ba750f3adf6.zip |
use the UNIX-related macros (.At and .Ux) where appropriate.
ok jmc@
Diffstat (limited to 'src/usr.bin/nc/nc.1')
-rw-r--r-- | src/usr.bin/nc/nc.1 | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/usr.bin/nc/nc.1 b/src/usr.bin/nc/nc.1 index 68c90d767d..d62c758809 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.50 2009/06/05 06:47:12 jmc Exp $ | 1 | .\" $OpenBSD: nc.1,v 1.51 2009/10/22 12:35:53 sobrado Exp $ |
2 | .\" | 2 | .\" |
3 | .\" Copyright (c) 1996 David Sacerdote | 3 | .\" Copyright (c) 1996 David Sacerdote |
4 | .\" All rights reserved. | 4 | .\" All rights reserved. |
@@ -25,7 +25,7 @@ | |||
25 | .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 25 | .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
26 | .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 26 | .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 | .\" | 27 | .\" |
28 | .Dd $Mdocdate: June 5 2009 $ | 28 | .Dd $Mdocdate: October 22 2009 $ |
29 | .Dt NC 1 | 29 | .Dt NC 1 |
30 | .Os | 30 | .Os |
31 | .Sh NAME | 31 | .Sh NAME |
@@ -174,7 +174,9 @@ This makes it possible to use | |||
174 | .Nm | 174 | .Nm |
175 | to script telnet sessions. | 175 | to script telnet sessions. |
176 | .It Fl U | 176 | .It Fl U |
177 | Specifies to use Unix Domain Sockets. | 177 | Specifies to use |
178 | .Ux | ||
179 | domain sockets. | ||
178 | .It Fl u | 180 | .It Fl u |
179 | Use UDP instead of the default option of TCP. | 181 | Use UDP instead of the default option of TCP. |
180 | .It Fl V Ar rdomain | 182 | .It Fl V Ar rdomain |
@@ -386,7 +388,9 @@ IP for the local end of the connection: | |||
386 | .Pp | 388 | .Pp |
387 | .Dl $ nc -s 10.1.2.3 host.example.com 42 | 389 | .Dl $ nc -s 10.1.2.3 host.example.com 42 |
388 | .Pp | 390 | .Pp |
389 | Create and listen on a Unix Domain Socket: | 391 | Create and listen on a |
392 | .Ux | ||
393 | domain socket: | ||
390 | .Pp | 394 | .Pp |
391 | .Dl $ nc -lU /var/tmp/dsocket | 395 | .Dl $ nc -lU /var/tmp/dsocket |
392 | .Pp | 396 | .Pp |