[Bug 1057584] New: htop display is misplaced (ncurses in Konsole?)
http://bugzilla.opensuse.org/show_bug.cgi?id=1057584 Bug ID: 1057584 Summary: htop display is misplaced (ncurses in Konsole?) Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Major Priority: P5 - None Component: KDE Applications Assignee: opensuse-kde-bugs@opensuse.org Reporter: erecio@polywog.org QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Created attachment 739726 --> http://bugzilla.opensuse.org/attachment.cgi?id=739726&action=edit screenshot of konsole and htop When I start htop, the output is misformatted. At first draw everything is fine, but as the meters begin to rise and fall, the redrawing causes it to be out of synch. If I press F2 to go to Setup, the selection items are not under the right colums. I have attached a snapshot. In the first screenshot, everything is not aligned correctly. In the second screenshot, notice the meter for CPU#5; Notice Tree View option doesn't line up with the column. I am using Konsole for htop. Note it works fine in a Linux console (Ctrl-Alt-F2), and it works fine in Xterm (xterm-327-2.4.x86_64) Locale Settings: LANG=en_US.UTF-8 LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME=C LC_COLLATE="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT="en_US.UTF-8" LC_IDENTIFICATION="en_US.UTF-8" LC_ALL= Detailed Version Information: Name : htop Version : 2.0.2 Release : 3.4 Architecture: x86_64 Install Date: Fri Sep 1 19:33:41 2017 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1057584
http://bugzilla.opensuse.org/show_bug.cgi?id=1057584#c1
--- Comment #1 from Emr Rec
http://bugzilla.opensuse.org/show_bug.cgi?id=1057584
http://bugzilla.opensuse.org/show_bug.cgi?id=1057584#c2
--- Comment #2 from Emr Rec
http://bugzilla.opensuse.org/show_bug.cgi?id=1057584
http://bugzilla.opensuse.org/show_bug.cgi?id=1057584#c3
Wolfgang Bauer
http://bugzilla.opensuse.org/show_bug.cgi?id=1057584
http://bugzilla.opensuse.org/show_bug.cgi?id=1057584#c4
--- Comment #4 from Emr Rec
Probably related to bug#1054448.
Try to set e.g. TERM=linux in konsole's profile settings (environment variables).
Or try to run "TERM=linux htop".
Does it work as expected then?
Kind of. the formatting is correct. However, the F keys don't work. F2 == setup, but I have to press F4 to get to the setup screen when I set my TERM=linux. In any case, when I press F4 to get to the setup menu, the columns are formatted correctly. :) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1057584
http://bugzilla.opensuse.org/show_bug.cgi?id=1057584#c5
Andrei Dziahel
http://bugzilla.opensuse.org/show_bug.cgi?id=1057584
http://bugzilla.opensuse.org/show_bug.cgi?id=1057584#c6
Wolfgang Bauer
Kind of. the formatting is correct. However, the F keys don't work.
This could probably be "fixed" by setting the keyboard layout to "Linux Konsole" too then, I suppose. Or try a different value for $TERM, I think even xterm or xterm-color should work (konsole's default is xterm-256color, and that seems to be broken). In any case, this is not a bug in konsole (as confirmed by comment#5 as well), but rather in the recent terminfo-base update (part of ncurses). Installing the package from Leap 42.2/3 (or at least copying /usr/share/terminfo/x/xterm from there) should be a workaround as well. *** This bug has been marked as a duplicate of bug 1054448 *** -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1057584
http://bugzilla.opensuse.org/show_bug.cgi?id=1057584#c7
--- Comment #7 from Wolfgang Bauer
participants (1)
-
bugzilla_noreply@novell.com