plan9port/man/man1/winwatch.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

57 lines
888 B
Groff
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

.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
.IM 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 windows 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
.IM rio (1) ,
.IM regexp (7) .