mblaze/man/mless.1

66 lines
1.1 KiB
Groff
Raw Normal View History

2016-07-22 19:36:46 +00:00
.Dd July 22, 2016
.Dt MLESS 1
.Os
.Sh NAME
.Nm mless
.Nd conveniently read messages in less(1)
2016-07-22 19:36:46 +00:00
.Sh SYNOPSIS
.Nm
.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
for the current sequence.
Display starts with the current message, or
.Ar msg
if passed.
.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.
.Pc
2016-07-22 19:36:46 +00:00
.Pp
When no messages are passed and the standard input is from a pipe,
2016-07-26 14:39:10 +00:00
.Ql mseq -S
is called to set the current sequence;
2016-07-22 19:36:46 +00:00
.Nm
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
convenient for use at the end of a pipeline.
2016-07-22 19:36:46 +00:00
.Pp
.Nm
will start
.Xr less 1
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/