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.
58 lines
882 B
Groff
58 lines
882 B
Groff
.TH WINWATCH 1
|
||
.SH NAME
|
||
winwatch \- monitor rio windows
|
||
.SH SYNOPSIS
|
||
.B winwatch
|
||
[
|
||
.B -e
|
||
.I exclude
|
||
] [
|
||
.B -f
|
||
.I font
|
||
] [
|
||
.B -n
|
||
] [
|
||
.B -s
|
||
]
|
||
.SH DESCRIPTION
|
||
.I Winwatch
|
||
displays the labels of all current
|
||
.MR rio 1
|
||
windows, refreshing the display every second.
|
||
Right clicking a window's label unhides, raises and gives focus to that window.
|
||
Typing
|
||
.B q
|
||
or
|
||
DEL
|
||
quits
|
||
.IR winwatch .
|
||
.PP
|
||
If the
|
||
.B -e
|
||
flag
|
||
is given,
|
||
windows matching the regular expression
|
||
.I exclude
|
||
are not shown.
|
||
With the
|
||
.B -n
|
||
option,
|
||
the
|
||
label is defined as the window’s name instead of its class,
|
||
and with
|
||
.B -s
|
||
the labels are sorted by alphabet (case insensitive)
|
||
instead of by order of appearance.
|
||
Winwatch is unicode aware.
|
||
.SH EXAMPLE
|
||
Excluding winwatch and stats from being shown.
|
||
.IP
|
||
.EX
|
||
% winwatch -e '^(winwatch|stats)$'
|
||
.EE
|
||
.SH SOURCE
|
||
.B \*9/src/cmd/winwatch.c
|
||
.SH SEE ALSO
|
||
.MR rio 1 ,
|
||
.MR regexp 7 .
|