A few ncdu 2.x releases
This commit is contained in:
parent
2893dc72b9
commit
73eaaf0a6f
50 changed files with 264 additions and 28 deletions
15
dat/index.md
15
dat/index.md
|
|
@ -20,6 +20,21 @@ the incidental article on this site. Enjoy your stay!
|
|||
<!-- These announcements are parsed by mkfeed.pl, see that file for formatting -->
|
||||
## Announcements <a href="/feed.atom"><img src="/img/feed_icon.png" alt="Atom feed"></a>
|
||||
|
||||
`2022-02-07` - ncdu 2.1 released <!-- tags: ncdu, link: /ncdu -->
|
||||
: This release order file names using natural sorting, unicode box drawing
|
||||
characters for the size bar, a `--graph-style` option, and fixes a few
|
||||
minor bugs. [Ncdu homepage](/ncdu) - [Changelog](/ncdu/changes2).
|
||||
|
||||
`2022-01-01` - ncdu 2.0.1 released <!-- tags: ncdu, link: /ncdu -->
|
||||
: Just two minor build fixes: one fix for systems where the `wcwith()`
|
||||
function wasn't correctly imported, another fix to add a `ZIG_FLAGS` option
|
||||
to the Makefile. [Ncdu homepage](/ncdu) - [Changelog](/ncdu/changes2).
|
||||
|
||||
`2021-12-21` - ncdu 2.0 released <!-- tags: ncdu, link: /ncdu -->
|
||||
: The first stable release of the new ncdu rewrite in Zig. This comes with
|
||||
several UI and performance improvements over the C version. Requires Zig
|
||||
0.9.0. [Ncdu homepage](/ncdu) - [Changelog](/ncdu/changes2).
|
||||
|
||||
`2021-07-22` - ncdu 2.0-beta1 released <!-- tags: ncdu, link: /doc/ncdu2 -->
|
||||
: This marks the initial beta version of a complete rewrite of ncdu, written
|
||||
in Zig. This version significantly reduces memory usage and improves hard
|
||||
|
|
|
|||
|
|
@ -76,12 +76,13 @@ The user list has three boolean flags: **O**perator, **P**assive, and whether th
|
|||
|
||||
# Troubleshooting
|
||||
|
||||
## Luadch: "(error-40) Invalid named parameter in inf: I4"
|
||||
## Active mode doesn't work!
|
||||
|
||||
This error occurs when connecting to (some?) luadch hubs. The problem here is
|
||||
that IP address autodetection is broken on these hubs, and you can work around
|
||||
it by manually setting `active_ip` to your (public) IP address: `/set
|
||||
active_ip 1.3.3.7`.
|
||||
It's possible that you are still listed as passive in some hubs even if you
|
||||
have `/set active true`. This happens when the (NMDC) hub does not support IP
|
||||
autodetection or when it drops user info updates. You can work around this
|
||||
issue by manually setting your public IP address with `/set active_ip
|
||||
YOUR-IP-HERE`.
|
||||
|
||||
## The Alt- keys don't work!
|
||||
|
||||
|
|
@ -91,12 +92,6 @@ press and release the 'Esc' key as a replacement for Alt-something. If you're
|
|||
on OS X, [this stackoverflow answer](http://stackoverflow.com/a/438892)
|
||||
may be helpful.
|
||||
|
||||
## Ncdc crashes a lot!
|
||||
|
||||
Ncdc 1.22.1 has no known bugs that may cause a crash. If you're running an older
|
||||
version of ncdc, please upgrade. If your ncdc is up to date and you still have
|
||||
a crash, please report a bug.
|
||||
|
||||
## Ncdc uses too much disk space!
|
||||
|
||||
First, look where this disk space goes to (hint: use [ncdu](/ncdu)). If it's
|
||||
|
|
@ -118,6 +113,14 @@ simple script that runs from a cron. For an example of the latter option,
|
|||
[this is the script I use](http://p.blicky.net/s7132), which is run as a
|
||||
monthly cron job.
|
||||
|
||||
## "TLS error: Key usage violation in certificate has been detected."
|
||||
|
||||
Some hub operators don't know how to generate proper TLS certificates and other
|
||||
DC clients tend to be even more lax about validating certificates than ncdc. To
|
||||
work around this error, add the `%COMPAT` flag to your `tls_priority`, for
|
||||
example: `/set tls_priority NORMAL:%COMPAT`.
|
||||
|
||||
|
||||
# Can ncdc...
|
||||
|
||||
## Can ncdc run in the background / as a daemon?
|
||||
|
|
|
|||
32
dat/ncdu.md
32
dat/ncdu.md
|
|
@ -8,24 +8,28 @@ POSIX-like environment with ncurses installed.
|
|||
|
||||
## Download
|
||||
|
||||
Zig version (beta)
|
||||
: 2.0-beta3 ([ncdu-2.0-beta3.tar.gz](/download/ncdu-2.0-beta3.tar.gz) - [changes](/ncdu/changes) - requires Zig 0.8 or 0.8.1)
|
||||
Zig version (stable)
|
||||
: 2.1 ([ncdu-2.1.tar.gz](/download/ncdu-2.1.tar.gz) - [changes](/ncdu/changes2) - requires Zig 0.9.0)
|
||||
|
||||
See the [release announcement](/doc/ncdu2) for information about the
|
||||
differences with the C version.
|
||||
See the [beta release announcement](/doc/ncdu2) for information about the
|
||||
motivation for the rewrite and some of the differences with the C version.
|
||||
Contrary to popular belief, version 2.x does **not** yet implement parallel
|
||||
scanning, so don't expect any order-of-magnitude performance
|
||||
improvements... yet.
|
||||
|
||||
This version is only really "beta" because [Zig](https://ziglang.org/) is
|
||||
still unstable, ncdu 2 is otherwise perfectly usable and comes with several
|
||||
significant improvements over the C version.
|
||||
Note that the [Zig language](https://ziglang.org/) and compiler are still
|
||||
very much unstable. This version of ncdu will *only* work with the version
|
||||
of the Zig compiler noted above. Use the ncdu 1.x branch if this does not
|
||||
work for you or if you need a more stable compilation environment.
|
||||
|
||||
Convenient static binaries for Linux:
|
||||
[i486](/download/ncdu-2.0-beta3-linux-i386.tar.gz),
|
||||
[x86_64](/download/ncdu-2.0-beta3-linux-x86_64.tar.gz),
|
||||
[ARM](/download/ncdu-2.0-beta3-linux-arm.tar.gz) and
|
||||
[AArch64](/download/ncdu-2.0-beta3-linux-aarch64.tar.gz).
|
||||
[i486](/download/ncdu-2.1-linux-i386.tar.gz),
|
||||
[x86_64](/download/ncdu-2.1-linux-x86_64.tar.gz),
|
||||
[ARM](/download/ncdu-2.1-linux-arm.tar.gz) and
|
||||
[AArch64](/download/ncdu-2.1-linux-aarch64.tar.gz).
|
||||
Download, extract and run; no compilation or installation necessary.
|
||||
|
||||
C version (stable)
|
||||
C version (LTS)
|
||||
: 1.16 ([ncdu-1.16.tar.gz](/download/ncdu-1.16.tar.gz) - [changes](/ncdu/changes))
|
||||
|
||||
Lags a bit behind on the 2.x version in terms of features and performance,
|
||||
|
|
@ -36,8 +40,8 @@ Development version
|
|||
with `git clone git://g.blicky.net/ncdu.git/`. The repository is also
|
||||
available for [online browsing](https://code.blicky.net/yorhel/ncdu/) (and
|
||||
[through cgit](https://g.blicky.net/ncdu.git/) if you prefer that). The
|
||||
master branch represents the C version, the Zig version can be found in the
|
||||
'zig' branch.
|
||||
'master' branch represents the C version, the Zig version can be found in
|
||||
the 'zig' branch.
|
||||
|
||||
License
|
||||
: MIT.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue