groff 1.23.0 added .MR to its -man macro package. The NEWS file states
that the inclusion of the macro "was prompted by its introduction to
Plan 9 from User Space's troff in August 2020." From d32deab it seems
that the name for Plan 9 from User Space's implementation was suggested
by groff maintainer G. Brandon Robinson.
Not sure if the intention was to make these definitions compatible, but
it would be nice if they were.
Currently, Plan 9 from User Space's .MR expects its second argument to
be parenthesized. groff's .MR does not. This results in extra
parentheses appearing in manual references when viewing Plan 9 from User
Space's manual pages on a system using groff.
31 lines
541 B
Groff
31 lines
541 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
|
|
.MR 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
|
|
.MR dial 3
|