notcurses/doc/man/man1/ncls.1.md

61 lines
1.9 KiB
Markdown
Raw Normal View History

2020-11-01 12:21:18 +00:00
% ncls(1)
% nick black <nickblack@linux.com>
2021-07-04 05:14:12 +00:00
% v2.3.8
2020-11-01 12:21:18 +00:00
# NAME
ncls - List paths with rendering of multimedia
# SYNOPSIS
**ncls** [**-h**|**--help**] [**-V**|**--version**] [**-d**] [**-l**] [**-L**] [**-R**] [**-a**|**--align** ***type***] [**-b**|**--blitter** ***blitter***] [**-s**|**--scale** ***scale***] [ paths ]
2020-11-01 12:21:18 +00:00
# DESCRIPTION
2021-03-12 05:59:29 +00:00
**ncls** uses a multimedia-enabled Notcurses to list paths, similarly to the
2020-11-01 12:21:18 +00:00
**ls(1)** command, rendering images and videos to a terminal.
# OPTIONS
**-d**: list directories themselves, not their contents.
**-l**: use a long listing format.
**-L**: when showing file information for a symbolic link, show information for the file the link references rather than for the link itself.
2020-11-01 12:21:18 +00:00
**-R**: list subdirectories recursively.
2020-12-31 07:31:28 +00:00
**-V**|**--version**: Print version information, and exit with success.
2020-12-29 08:13:12 +00:00
**-h**|**--help**: Print help information, and exit with success.
2020-11-01 12:21:18 +00:00
2020-12-29 08:13:12 +00:00
**-a**|**--align** ***type***: Align images on **left**, **center**, or **right**.
2020-12-14 18:58:15 +00:00
2021-06-27 00:17:37 +00:00
**-b**|**--blitter** ***blitter***: Blitter, one of **ascii**, **half**,
**quad**, **sex**, **braille**, or **pixel**. The default is **pixel**.
2021-06-27 00:17:37 +00:00
If the chosen blitter is unavailable, **ncls** will degrade (see
**notcurses_visual(3)**).
2021-06-27 00:17:37 +00:00
**-s**|**--scale** ***scalemode***: Scaling mode, one of **none**, **hires**,
**scale**, **scalehi**, or **stretch**.
2020-11-01 12:21:18 +00:00
paths: Run on the specified paths. If none are supplied, run on the current
directory.
If no scaling is specified, **hires** will be used with the **pixel** blitter,
and **scalehi** will be used otherwise.
2020-11-01 12:21:18 +00:00
# NOTES
Optimal display requires a terminal advertising the **rgb** terminfo(5)
capability, or that the environment variable **COLORTERM** is defined to
**24bit** (and that the terminal honors this variable), along with a
fixed-width font with good coverage of the Unicode Block Drawing Characters.
# SEE ALSO
**notcurses(3)**,
**notcurses_visual(3)**,
**terminfo(5)**,
**unicode(7)**