Explorer09 8a6e519c5e doc: Update netbsd/README regarding curses support | 2 months ago | |
---|---|---|
.. | ||
NetBSDMachine.c | 10 months ago | |
NetBSDMachine.h | 1 year ago | |
NetBSDProcess.c | 7 months ago | |
NetBSDProcess.h | 1 year ago | |
NetBSDProcessTable.c | 10 months ago | |
NetBSDProcessTable.h | 1 year ago | |
Platform.c | 11 months ago | |
Platform.h | 1 year ago | |
ProcessField.h | 3 years ago | |
README.md | 2 months ago |
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).
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). 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.