2022-07-21 17:08:31 +03:00
|
|
|
.TH MOAR 1 2022-07-21
|
|
|
|
.SH NAME
|
|
|
|
moar \- the nice pager
|
|
|
|
.SH SYNOPSIS
|
|
|
|
.B moar
|
|
|
|
[options]
|
|
|
|
.IR file
|
|
|
|
.br
|
|
|
|
.B "moar \-\-help"
|
2022-07-22 10:13:23 +03:00
|
|
|
.br
|
|
|
|
.B "moar \-\-version"
|
2022-07-21 17:08:31 +03:00
|
|
|
.SH DESCRIPTION
|
|
|
|
.B moar
|
|
|
|
is a pager much like
|
|
|
|
.I less
|
|
|
|
(1), but with generally nicer out-of-the-box behavior.
|
|
|
|
.PP
|
|
|
|
More information and screenshots: https://github.com/walles/moar#readme
|
|
|
|
.PP
|
2022-07-22 12:24:28 +03:00
|
|
|
Inside of \fBmoar\fR, press
|
2022-07-21 17:08:31 +03:00
|
|
|
.B ?
|
|
|
|
to access the built-in help.
|
2022-08-07 20:26:51 +03:00
|
|
|
.PP
|
|
|
|
Input is expected to be (optionally compressed) UTF-8 text.
|
|
|
|
Invalid / unprintable characters are by default rendered as '?'.
|
2022-07-21 17:08:31 +03:00
|
|
|
.SH OPTIONS
|
2022-07-22 10:13:23 +03:00
|
|
|
Multiple-choice options all have the default value listed first.
|
2022-07-22 12:24:28 +03:00
|
|
|
.PP
|
|
|
|
All of these options can be appended to the
|
2022-07-22 12:32:00 +03:00
|
|
|
.B MOAR
|
2022-07-22 12:24:28 +03:00
|
|
|
environment variable for persistent configuration.
|
2022-07-22 12:32:00 +03:00
|
|
|
.PP
|
|
|
|
Doing
|
|
|
|
.B moar --help
|
|
|
|
will also list these options.
|
2022-07-22 09:35:05 +03:00
|
|
|
.TP
|
2022-07-22 10:13:23 +03:00
|
|
|
\fB\-\-colors\fR={\fBauto\fR | \fB8\fR | \fB16\fR | \fB256\fR | \fB16M\fR}
|
2022-07-22 09:56:50 +03:00
|
|
|
Size of color palette we output to the terminal
|
|
|
|
.TP
|
2022-07-22 09:35:05 +03:00
|
|
|
\fB\-\-debug\fR
|
2022-07-22 12:24:28 +03:00
|
|
|
Print debug logs after exiting, less verbose than
|
|
|
|
.B \-\-trace
|
2022-07-22 09:56:50 +03:00
|
|
|
.TP
|
2022-11-28 21:09:17 +03:00
|
|
|
\fB\-\-follow\fR
|
|
|
|
Scrolls automatically to follow piped input, just like
|
|
|
|
.B tail \-f
|
|
|
|
.TP
|
2022-07-22 09:56:50 +03:00
|
|
|
\fB\-\-no\-clear\-on\-exit\fR
|
|
|
|
Retain screen contents when exiting moar
|
|
|
|
.TP
|
|
|
|
\fB\-\-no\-linenumbers\fR
|
|
|
|
Hide line numbers on startup, press left arrow key to show
|
|
|
|
.TP
|
|
|
|
\fB\-\-no\-statusbar\fR
|
|
|
|
Hide the status bar, toggle with
|
|
|
|
.B =
|
|
|
|
.TP
|
|
|
|
\fB\-\-render\-unprintable\fR={\fBhighlight\fR | \fBwhitespace\fR}
|
|
|
|
How unprintable characters are rendered
|
2022-07-22 10:13:23 +03:00
|
|
|
.TP
|
2022-08-07 20:07:46 +03:00
|
|
|
\fB\-\-scroll\-left\-hint\fR=string
|
|
|
|
UTF-8 character indicating the view can scroll left, defaults to an inverse \fB<\fR.
|
|
|
|
This can be a string containing ANSI formatting.
|
|
|
|
The word
|
|
|
|
.B ESC
|
|
|
|
in caps will be interpreted as one escape character.
|
|
|
|
Example value for faint (using ANSI SGR code 2) tilde characters:
|
|
|
|
.B ESC[2m~
|
|
|
|
.TP
|
|
|
|
\fB\-\-scroll\-right\-hint\fR=string
|
|
|
|
UTF-8 character indicating the view can scroll right, defaults to an inverse \fB>\fR.
|
|
|
|
This can be a string containing ANSI formatting.
|
|
|
|
The word
|
|
|
|
.B ESC
|
|
|
|
in caps will be interpreted as one escape character.
|
|
|
|
Example value for faint (using ANSI SGR code 2) tilde characters:
|
|
|
|
.B ESC[2m~
|
|
|
|
.TP
|
2022-07-22 10:13:23 +03:00
|
|
|
\fB\-\-statusbar\fR={\fBinverse\fR | \fBplain\fR | \fBbold\fR}
|
|
|
|
Status bar style
|
|
|
|
.TP
|
|
|
|
\fB\-\-style\fR={\fBnative\fR | \fIstyle\fR}
|
|
|
|
Highlighting style from https://xyproto.github.io/splash/docs/longer/all.html
|
2022-07-22 12:24:28 +03:00
|
|
|
.TP
|
|
|
|
\fB\-\-trace\fR
|
|
|
|
Print trace logs after exiting, more verbose than
|
|
|
|
.B \-\-debug
|
|
|
|
.TP
|
|
|
|
\fB\-\-wrap\fR
|
|
|
|
Wrap long lines, toggle with
|
|
|
|
.B w
|
2022-07-21 17:08:31 +03:00
|
|
|
.SH ENVIRONMENT
|
|
|
|
Having
|
|
|
|
.B PAGER=moar
|
|
|
|
in your environment will make lots of different programs use
|
|
|
|
.B moar
|
|
|
|
as their pager.
|
2022-07-22 12:32:00 +03:00
|
|
|
.PP
|
|
|
|
Additional options are read from the
|
|
|
|
.B MOAR
|
|
|
|
environment variable if set, just as if those same options had been manually added to each
|
|
|
|
.B moar
|
|
|
|
invocation.
|
2022-07-21 17:08:31 +03:00
|
|
|
.SH BUGS
|
|
|
|
Kindly report any bugs here: https://github.com/walles/moar/issues
|