aboutsummaryrefslogtreecommitdiffstats
path: root/netbsd/README.md
diff options
context:
space:
mode:
authorDaniel Lange <DLange@git.local>2021-09-21 08:35:19 +0200
committerDaniel Lange <DLange@git.local>2021-09-21 08:35:19 +0200
commit69f439eff387a6ecb52734e400b297a3c85f2285 (patch)
tree2a988b7868b749654796183ba70b4272965da1bf /netbsd/README.md
parentc55320e9e2a8916e911bcd39ab37b79e3a7d03b2 (diff)
downloaddebian_htop-upstream/3.1.0.tar.gz
debian_htop-upstream/3.1.0.tar.bz2
debian_htop-upstream/3.1.0.zip
New upstream version 3.1.0upstream/3.1.0
Diffstat (limited to 'netbsd/README.md')
-rw-r--r--netbsd/README.md32
1 files changed, 32 insertions, 0 deletions
diff --git a/netbsd/README.md b/netbsd/README.md
new file mode 100644
index 0000000..ed7be0a
--- /dev/null
+++ b/netbsd/README.md
@@ -0,0 +1,32 @@
+NetBSD support in htop(1)
+===
+
+This implementation utilizes kvm_getprocs(3), sysctl(3), etc, eliminating the
+need for mount_procfs(8) with Linux compatibility enabled.
+
+The implementation was initially based on the OpenBSD support in htop(1).
+
+Notes on NetBSD curses
+---
+
+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.
+
+What needs improvement
+---
+
+* Kernel and userspace threads are not displayed or counted -
+ maybe look at NetBSD top(1).
+* Support for compiling using libcurses's Unicode support.
+* Support for fstat(1) (view open files, like lsof(8) on Linux).
+* Support for ktrace(1) (like strace(1) on Linux).

© 2014-2024 Faster IT GmbH | imprint | privacy policy