blob: fea1992d1a398bcc7bdd5dd284b804e869e76454 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
.Dd July 22, 2016
.Dt MLESS 1
.Os
.Sh NAME
.Nm mless
.Nd interactive wrapper around mshow
.Sh SYNOPSIS
.Nm
.Op Ar msg
.Sh DESCRIPTION
.Nm
runs
.Xr less 1
on the output of
.Xr mshow 1
for the current sequence.
Display starts with the current message, or
.Ar msg
if passed.
See
.Xr mmsg 7
for the message argument syntax.
.Pp
When no messages are passed and standard input is from a pipe,
.Ql mseq -S
will be called to set the current sequence and
.Nm
is run on the resulting sequence.
The first "file" of the less instance will be the output of
.Xr mscan 1 .
This makes
.Nm
convenient for use at the end of a pipe.
.Pp
.Nm
will start
.Xr less 1
displaying the current message if possible.
Use
.Sq Ic ":n"
and
.Sq Ic ":p"
to read the next (resp. previous) message.
.Sh EXIT STATUS
.Ex -std
.Sh SEE ALSO
.Xr less 1 ,
.Xr mscan 1 ,
.Xr mseq 1 ,
.Xr mshow 1 ,
.Xr mmsg 7
.Sh AUTHORS
.An Leah Neukirchen Aq Mt leah@vuxu.org
.Sh LICENSE
.Nm
is in the public domain.
.Pp
To the extent possible under law,
the creator of this work
has waived all copyright and related or
neighboring rights to this work.
.Pp
.Lk http://creativecommons.org/publicdomain/zero/1.0/
|