summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorExplorer09 <explorer09@gmail.com>2024-09-19 06:31:58 +0800
committerBenBE <BenBE@geshi.org>2024-09-20 22:28:59 +0200
commit8a6e519c5ef684bdb8601716644e804499da47b1 (patch)
tree08aefc0b235dbdc832059108ab4ada26972fa4c9
parentc34fb93b5d6ae607caf78689c85dac5566880a3d (diff)
doc: Update netbsd/README regarding curses support
Signed-off-by: Kang-Che Sung <explorer09@gmail.com>
-rw-r--r--netbsd/README.md23
1 files changed, 15 insertions, 8 deletions
diff --git a/netbsd/README.md b/netbsd/README.md
index ed7be0a3..f4dd5311 100644
--- a/netbsd/README.md
+++ b/netbsd/README.md
@@ -13,14 +13,21 @@ NetBSD is one of the last operating systems to use and maintain its own
implementation of Curses.
htop(1) can be compiled against either ncurses or NetBSD's curses(3).
-In order for NetBSD's libcurses to be used, htop(1) must be configured with
-`--disable-unicode`. This is necessary because htop(1) with Unicode enabled
-directly accesses ncurses's cchar_t struct, which has different contents
-in NetBSD's curses.
-
-Versions of libcurses in NetBSD 9 and prior have no mouse support
-(this is an ncurses extension). Newer versions contain no-op mouse functions
-for compatibility with ncurses.
+By default, htop(1) will use ncurses when it is found, as support for NetBSD's
+curses in htop is limited.
+
+To use NetBSD's libcurses, htop(1) must be configured with `--disable-unicode`.
+Starting with htop 3.4.0, a new option `--with-curses=curses` may be specified
+to let `configure` skip ncurses when both libraries are installed.
+
+Technical caveats regarding NetBSD's curses support:
+
+* htop with Unicode enabled directly accesses ncurses's `cchar_t` struct, which
+ has different contents in NetBSD's curses.
+
+* Versions of libcurses in NetBSD 9 and prior have no mouse support
+ (this is an ncurses extension). Newer versions contain no-op mouse functions
+ for compatibility with ncurses.
What needs improvement
---