2016-07-22 19:36:46 +00:00
|
|
|
.Dd July 22, 2016
|
|
|
|
.Dt MLESS 1
|
|
|
|
.Os
|
|
|
|
.Sh NAME
|
|
|
|
.Nm mless
|
2018-04-02 18:14:17 +00:00
|
|
|
.Nd conveniently read messages in less(1)
|
2016-07-22 19:36:46 +00:00
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Nm
|
2016-07-28 21:10:45 +00:00
|
|
|
.Op Ar msg
|
2016-07-22 19:36:46 +00:00
|
|
|
.Sh DESCRIPTION
|
|
|
|
.Nm
|
|
|
|
runs
|
|
|
|
.Xr less 1
|
|
|
|
on the output of
|
|
|
|
.Xr mshow 1
|
2016-07-28 21:10:45 +00:00
|
|
|
for the current sequence.
|
|
|
|
Display starts with the current message, or
|
|
|
|
.Ar msg
|
|
|
|
if passed.
|
2018-04-02 18:14:17 +00:00
|
|
|
.Po
|
2016-07-22 19:36:46 +00:00
|
|
|
See
|
2016-07-22 19:43:03 +00:00
|
|
|
.Xr mmsg 7
|
2016-07-22 19:36:46 +00:00
|
|
|
for the message argument syntax.
|
2018-04-02 18:14:17 +00:00
|
|
|
.Pc
|
2016-07-22 19:36:46 +00:00
|
|
|
.Pp
|
2018-04-02 18:14:17 +00:00
|
|
|
When no messages are passed and the standard input is from a pipe,
|
2016-07-26 14:39:10 +00:00
|
|
|
.Ql mseq -S
|
2018-04-02 18:14:17 +00:00
|
|
|
is called to set the current sequence;
|
2016-07-22 19:36:46 +00:00
|
|
|
.Nm
|
2018-04-02 18:14:17 +00:00
|
|
|
is then run on the resulting sequence.
|
2016-07-22 19:36:46 +00:00
|
|
|
The first "file" of the less instance will be the output of
|
|
|
|
.Xr mscan 1 .
|
|
|
|
This makes
|
|
|
|
.Nm
|
2018-04-02 18:14:17 +00:00
|
|
|
convenient for use at the end of a pipeline.
|
2016-07-22 19:36:46 +00:00
|
|
|
.Pp
|
|
|
|
.Nm
|
|
|
|
will start
|
|
|
|
.Xr less 1
|
2018-04-02 18:14:17 +00:00
|
|
|
and display the current message, if possible.
|
2016-08-08 12:37:22 +00:00
|
|
|
Use
|
|
|
|
.Sq Ic ":n"
|
|
|
|
and
|
|
|
|
.Sq Ic ":p"
|
|
|
|
to read the next (resp. previous) message.
|
2016-07-22 19:36:46 +00:00
|
|
|
.Sh EXIT STATUS
|
|
|
|
.Ex -std
|
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr less 1 ,
|
|
|
|
.Xr mscan 1 ,
|
2016-07-26 14:39:10 +00:00
|
|
|
.Xr mseq 1 ,
|
2016-07-22 19:36:46 +00:00
|
|
|
.Xr mshow 1 ,
|
2016-07-22 19:43:03 +00:00
|
|
|
.Xr mmsg 7
|
2016-07-22 19:36:46 +00:00
|
|
|
.Sh AUTHORS
|
2017-01-21 16:17:12 +00:00
|
|
|
.An Leah Neukirchen Aq Mt leah@vuxu.org
|
2016-07-22 19:36:46 +00:00
|
|
|
.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/
|