summaryrefslogtreecommitdiff
path: root/src/usr.bin/nc/nc.1
diff options
context:
space:
mode:
authorsobrado <>2009-10-22 12:35:53 +0000
committersobrado <>2009-10-22 12:35:53 +0000
commitcf545c35b7e8dac632d41a8c7cc82ba750f3adf6 (patch)
tree6316101858f64881d7f88ce1177d382387b6175c /src/usr.bin/nc/nc.1
parenta21621729c2c275e38dc485cc15b6b0fadac6f8a (diff)
downloadopenbsd-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.112
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
175to script telnet sessions. 175to script telnet sessions.
176.It Fl U 176.It Fl U
177Specifies to use Unix Domain Sockets. 177Specifies to use
178.Ux
179domain sockets.
178.It Fl u 180.It Fl u
179Use UDP instead of the default option of TCP. 181Use 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
389Create and listen on a Unix Domain Socket: 391Create and listen on a
392.Ux
393domain socket:
390.Pp 394.Pp
391.Dl $ nc -lU /var/tmp/dsocket 395.Dl $ nc -lU /var/tmp/dsocket
392.Pp 396.Pp