You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mblaze/man/mless.1

64 lines
1.1 KiB
Groff

8 years ago
.Dd July 22, 2016
.Dt MLESS 1
.Os
.Sh NAME
.Nm mless
.Nd interactive wrapper around mshow
.Sh SYNOPSIS
.Nm
.Op Ar msg
8 years ago
.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.
8 years ago
See
.Xr mmsg 7
8 years ago
for the message argument syntax.
.Pp
When no messages are passed and standard input is from a pipe,
8 years ago
.Ql mseq -S
will be called to set the current sequence and
8 years ago
.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.
8 years ago
.Sh EXIT STATUS
.Ex -std
.Sh SEE ALSO
.Xr less 1 ,
.Xr mscan 1 ,
8 years ago
.Xr mseq 1 ,
8 years ago
.Xr mshow 1 ,
.Xr mmsg 7
8 years ago
.Sh AUTHORS
.An Christian Neukirchen Aq Mt chneukirchen@gmail.com
.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/