Package: procps
Version: 1:3.2.7-8
Severity: normal

slabtop -o doesn't show any output on xterm (and its emulators konsole and gnome-terminal), but it works on the text console.

The reason seems to be that the endwin() call in slabtop.c erases the output directly after it was printed, so that the user doesn't get to see anything. To remove endwin() fixes the problem, however it leaves the terminal in a different (bad?) state. I know nothing about ncurses, but maybe there is a way to tweak it to deliver "plain" output and refrain from erasing it upon endwin() ? Otherwise, I think it is needed to separate the code flow of the -o option from the rest and refrain from using ncurses for -o (which I would be willing to implement in case it's approved by upstream).

Kind regards,

Thiemo Nagel

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages procps depends on:
ii  libc6                     2.7-14         GNU C Library: Shared libraries
ii libncurses5 5.6+20080830-1 shared libraries for terminal hand ii lsb-base 3.2-20 Linux Standard Base 3.2 init scrip

Versions of packages procps recommends:
ii psmisc 22.6-1 Utilities that use the proc filesy

procps suggests no packages.

-- no debconf information

--
+-------------------------+-------------------------+
| TU Muenchen             | Room   PH1 3558         |
| Physik-Department E18   |                         |
| James-Franck-Strasse    | Phone +49 89 289-12592  |
| D-85747 Garching        | Fax   +49 89 289-12570  |
+-------------------------+-------------------------+



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to