2020-01-14 20:50:16 +00:00
|
|
|
|
% notcurses-view(1)
|
|
|
|
|
% nick black <nickblack@linux.com>
|
2020-05-07 05:38:35 +00:00
|
|
|
|
% v1.3.4
|
2020-01-14 20:50:16 +00:00
|
|
|
|
|
|
|
|
|
# NAME
|
|
|
|
|
|
|
|
|
|
notcurses-view - Render images and video to the console
|
|
|
|
|
|
|
|
|
|
# SYNOPSIS
|
|
|
|
|
|
2020-04-29 07:08:21 +00:00
|
|
|
|
**notcurses-view** [**-h|--help**] [**-d delaymult**] [**-l loglevel**] [**-s scalemode**] [**-k**] files
|
2020-01-14 20:50:16 +00:00
|
|
|
|
|
|
|
|
|
# DESCRIPTION
|
|
|
|
|
|
2020-04-25 19:54:09 +00:00
|
|
|
|
**notcurses-view** uses a multimedian-enabled notcurses to render images
|
2020-01-14 20:50:16 +00:00
|
|
|
|
and videos to the terminal. Media will be scaled to the terminal's size.
|
|
|
|
|
|
|
|
|
|
# OPTIONS
|
|
|
|
|
|
2020-04-19 21:12:13 +00:00
|
|
|
|
**-d delaymult**: Apply a rational multiplier to the framerate.
|
2020-01-14 20:50:16 +00:00
|
|
|
|
|
|
|
|
|
**-l loglevel**: Log everything (high log level) or nothing (log level 0) to stderr.
|
|
|
|
|
|
2020-01-17 09:31:46 +00:00
|
|
|
|
**-s scalemode**: Scaling mode, one of **none**, **scale**, or **stretch**.
|
|
|
|
|
|
2020-04-29 07:24:11 +00:00
|
|
|
|
**-m margins**: Define rendering margins (see below).
|
|
|
|
|
|
2020-04-29 07:08:21 +00:00
|
|
|
|
**-k**: Inhibit use of the alternate screen. Necessary if you want the output left on your terminal after the program exits.
|
|
|
|
|
|
2020-01-14 20:50:16 +00:00
|
|
|
|
files: Select which files to render, and what order to render them in.
|
|
|
|
|
|
2020-04-29 07:24:11 +00:00
|
|
|
|
Default margins are all 0, and thus the full screen will be rendered. Using
|
|
|
|
|
**-m**, margins can be supplied. Provide a single number to set all four margins
|
|
|
|
|
to the same value, or four comma-delimited values for the top, right, bottom,
|
|
|
|
|
and left margins respectively. Negative margins are illegal.
|
|
|
|
|
|
2020-01-14 20:50:16 +00:00
|
|
|
|
# NOTES
|
2020-02-12 01:46:39 +00:00
|
|
|
|
|
2020-01-14 20:50:16 +00:00
|
|
|
|
Optimal display requires a terminal advertising the **rgb** terminfo(5)
|
|
|
|
|
capability, or that the environment variable **COLORTERM** is defined to
|
2020-02-12 01:46:39 +00:00
|
|
|
|
**24bit** (and that the terminal honors this variable), along with a
|
|
|
|
|
fixed-width font with good coverage of the Unicode Block Drawing Characters.
|
2020-01-14 20:50:16 +00:00
|
|
|
|
|
|
|
|
|
# SEE ALSO
|
2020-02-12 01:46:39 +00:00
|
|
|
|
|
|
|
|
|
**notcurses(3)**,
|
|
|
|
|
**notcurses_ncvisual(3)**,
|
|
|
|
|
**terminfo(5)**,
|
|
|
|
|
**unicode(7)**
|