plan9port/man/man1/dial.1
Russ Cox 977b25a76a tmac: introduce real manual reference macro instead of overloading IR
The overloading of IR emits magic \X'...' sequences that turn into HTML manual links.
But not all such IR invocations should be manual links;
those had to be written to avoid the IR macro before.
Worse, the \X'...' ending the IR causes troff to emit only a single space after a period.

Defining a new IM macro for manual references fixes both problems.

Fixes #441.
2020-08-13 23:43:43 -04:00

30 lines
545 B
Groff

.TH DIAL 1
.SH NAME
dial \- connect to a remote service
.SH SYNOPSIS
.B dial
[
.B -e
]
.I addr
.SH DESCRIPTION
.I Dial
connects to the network address
.I addr
(see
.IM dial (3) )
and then copies data from the connection to standard output,
and from standard input to the connection.
.PP
By default,
.I dial
exits when end of file is reached on standard input or on the network connection.
The
.B -e
flag causes
.I dial
to exit only in response to end of file on the network connection.
.SH SOURCE
.B \*9/src/cmd/dial.c
.SH SEE ALSO
.IM dial (3)