Package: htop Version: 0.7-1.1 Severity: normal Tags: patch The help text says the 'H' key toggles display of userland threads, however the key has no apparent effect on the display.
By examining the source code, it looks like the 'H' key binding is modifying a different variable than the setup menu for toggling display of userland threads. The attached patch matches the variable modified in the 'H' key to that used by the setup menu. -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (900, 'testing'), (300, 'unstable') Architecture: i386 (x86_64) Kernel: Linux 2.6.22-3-amd64 (SMP w/2 CPU cores) Locale: LANG=C, LC_CTYPE=en_US.iso-8859-1 (charmap=ISO-8859-1) Shell: /bin/sh linked to /bin/bash Versions of packages htop depends on: ii libc6 2.7-10 GNU C Library: Shared libraries ii libncurses5 5.6+20080308-1 Shared libraries for terminal hand htop recommends no packages. -- no debconf information
--- htop-0.7/htop.c 2007-11-08 17:31:32.000000000 -0700 +++ htop-0.7-bugfix/htop.c 2008-05-08 17:20:56.378828005 -0600 @@ -697,7 +697,7 @@ break; case 'H': refreshTimeout = 0; - pl->hideThreads = !pl->hideThreads; + pl->hideUserlandThreads = !pl->hideUserlandThreads; settings->changed = true; break; case 'K':