Files
plan9port/man/man1/mc.1
Dmitri Vereshchagin 10564b1175 tmac/tmac.an: define .MR in a groff compatible way
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.
2025-07-27 09:58:50 -04:00

58 lines
876 B
Groff

.TH MC 1
.SH NAME
mc \- multicolumn print
.SH SYNOPSIS
.B mc
[
.B -
]
[
.BI - N
]
[
.I file ...
]
.SH DESCRIPTION
.I Mc
splits the input into as many columns as will fit in
.I N
print positions.
If run in a
.MR 9term 1 ,
.MR xterm 1 ,
or
.MR acme 1
window, the default
.I N
is the number of blanks that will fit across the window;
otherwise the default
.I N
is 80.
Under option
.B -
each input line ending in a colon
.L :
is printed separately.
.SH SOURCE
.B \*9/src/cmd/draw/mc.c
.SH "SEE ALSO"
.MR 9term 1 ,
.MR acme 1 ,
.MR acme 4 ,
.MR xterm 1 ,
.MR pr 1 ,
.I lc
in
.MR ls 1
.SH BUGS
On systems with high-DPI screens,
.I 9term
and
.I acme
do not have one current font.
They have a pair of current fonts, one font used when the window
on a low-DPI screen and one used when the window is on a
high-DPI screen.
.I Mc
always uses the low-DPI font for columnation decisions.