mirror of
https://code.blicky.net/yorhel/ncdu.git
synced 2026-01-13 01:08:41 -09:00
Change default color scheme back to "off", fix some mdoc lints
This commit is contained in:
parent
7af05149d6
commit
97cf0fc234
3 changed files with 19 additions and 22 deletions
38
ncdu.1
38
ncdu.1
|
|
@ -1,6 +1,6 @@
|
||||||
.\" SPDX-FileCopyrightText: Yoran Heling <projects@yorhel.nl>
|
.\" SPDX-FileCopyrightText: Yorhel <projects@yorhel.nl>
|
||||||
.\" SPDX-License-Identifier: MIT
|
.\" SPDX-License-Identifier: MIT
|
||||||
.Dd January 21, 2024
|
.Dd April 21, 2024
|
||||||
.Dt NCDU 1
|
.Dt NCDU 1
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
|
|
@ -18,7 +18,7 @@
|
||||||
.Op Fl \-include\-caches , \-exclude\-caches
|
.Op Fl \-include\-caches , \-exclude\-caches
|
||||||
.Op Fl L , \-follow\-symlinks , \-no\-follow\-symlinks
|
.Op Fl L , \-follow\-symlinks , \-no\-follow\-symlinks
|
||||||
.Op Fl \-include\-kernfs , \-exclude\-kernfs
|
.Op Fl \-include\-kernfs , \-exclude\-kernfs
|
||||||
.Op Fl \-exclude\-firmlinks, \-follow\-firmlinks
|
.Op Fl \-exclude\-firmlinks , \-follow\-firmlinks
|
||||||
.Op Fl 0 , 1 , 2
|
.Op Fl 0 , 1 , 2
|
||||||
.Op Fl q , \-slow\-ui\-updates , \-fast\-ui\-updates
|
.Op Fl q , \-slow\-ui\-updates , \-fast\-ui\-updates
|
||||||
.Op Fl \-enable\-shell , \-disable\-shell
|
.Op Fl \-enable\-shell , \-disable\-shell
|
||||||
|
|
@ -146,7 +146,7 @@ The exact counting behavior of this flag is subject to change in the future.
|
||||||
.Pp
|
.Pp
|
||||||
The complete list of currently known pseudo filesystems is: binfmt, bpf, cgroup,
|
The complete list of currently known pseudo filesystems is: binfmt, bpf, cgroup,
|
||||||
cgroup2, debug, devpts, proc, pstore, security, selinux, sys, trace.
|
cgroup2, debug, devpts, proc, pstore, security, selinux, sys, trace.
|
||||||
.Op Fl \-exclude\-firmlinks, \-follow\-firmlinks
|
.It Fl \-exclude\-firmlinks , \-follow\-firmlinks
|
||||||
(MacOS only) Exclude or follow firmlinks.
|
(MacOS only) Exclude or follow firmlinks.
|
||||||
.El
|
.El
|
||||||
.Ss Interface Options
|
.Ss Interface Options
|
||||||
|
|
@ -276,10 +276,7 @@ for a variation of the
|
||||||
color scheme that also works in terminals with a light background.
|
color scheme that also works in terminals with a light background.
|
||||||
.Pp
|
.Pp
|
||||||
The default is
|
The default is
|
||||||
.Ar dark\-bg
|
.Ar off .
|
||||||
unless the
|
|
||||||
.Ev NO_COLOR
|
|
||||||
environment variable is set.
|
|
||||||
.El
|
.El
|
||||||
.Sh CONFIGURATION
|
.Sh CONFIGURATION
|
||||||
.Nm
|
.Nm
|
||||||
|
|
@ -452,9 +449,20 @@ the local system without any network latency, and
|
||||||
.Nm
|
.Nm
|
||||||
does not keep the entire directory structure in memory when exporting, so this
|
does not keep the entire directory structure in memory when exporting, so this
|
||||||
won't consume much memory on the remote system.
|
won't consume much memory on the remote system.
|
||||||
|
.Sh SEE ALSO
|
||||||
|
.Xr du 1 ,
|
||||||
|
.Xr tree 1 .
|
||||||
|
.Pp
|
||||||
|
.Nm
|
||||||
|
has a website:
|
||||||
|
.Lk https://dev.yorhel.nl/ncdu
|
||||||
|
.Sh AUTHORS
|
||||||
|
Written by
|
||||||
|
.An Yorhel Aq Mt projects@yorhel.nl
|
||||||
.Sh BUGS
|
.Sh BUGS
|
||||||
Directory hard links are not supported. They are not detected as being hard
|
Directory hard links are not supported.
|
||||||
links, and will thus get scanned and counted multiple times.
|
They are not detected as being hard links, and will thus get scanned and
|
||||||
|
counted multiple times.
|
||||||
.Pp
|
.Pp
|
||||||
Some minor glitches may appear when displaying filenames that contain multibyte
|
Some minor glitches may appear when displaying filenames that contain multibyte
|
||||||
or multicolumn characters.
|
or multicolumn characters.
|
||||||
|
|
@ -478,13 +486,3 @@ to get stuck in an infinite loop and eventually run out of memory.
|
||||||
Please report any other bugs you may find at the bug tracker, which can be
|
Please report any other bugs you may find at the bug tracker, which can be
|
||||||
found on the web site at
|
found on the web site at
|
||||||
.Lk https://dev.yorhel.nl/ncdu
|
.Lk https://dev.yorhel.nl/ncdu
|
||||||
.Sh SEE ALSO
|
|
||||||
.Xr du 1 ,
|
|
||||||
.Xr tree 1 .
|
|
||||||
.Pp
|
|
||||||
.Nm
|
|
||||||
has a website:
|
|
||||||
.Lk https://dev.yorhel.nl/ncdu
|
|
||||||
.Sh AUTHORS
|
|
||||||
Written by
|
|
||||||
.An Yorhel Aq Mt projects@yorhel.nl
|
|
||||||
|
|
|
||||||
|
|
@ -473,7 +473,6 @@ void close_nc(void) {
|
||||||
|
|
||||||
int main(int argc, char **argv) {
|
int main(int argc, char **argv) {
|
||||||
read_locale();
|
read_locale();
|
||||||
uic_theme = getenv("NO_COLOR") ? 0 : 2;
|
|
||||||
config_load(argc, argv);
|
config_load(argc, argv);
|
||||||
argv_parse(argc, argv);
|
argv_parse(argc, argv);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -34,7 +34,7 @@
|
||||||
#include <locale.h>
|
#include <locale.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int uic_theme;
|
int uic_theme = 0;
|
||||||
int winrows, wincols;
|
int winrows, wincols;
|
||||||
int subwinr, subwinc;
|
int subwinr, subwinc;
|
||||||
static char thou_sep;
|
static char thou_sep;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue