Bugzilla – Bug 1067491
wavemon broken in Konsole
Last modified: 2018-02-01 13:57:23 UTC
wavemon 0.8.1-2.3 has broken output in the Konsole terminal program. Workaround: Manually setting TERM=linux or TERM=xterm-color before sterting wavemon. The bug doesn't appear on xterm or the native Linux framebuffer terminal.
I am pretty sure that this would be another ncurses bug
I just installed a fresh and fully updated Tumbleweed VM with an KDE environment and can't reproduce this bug. Without touching any configuration files the TERM variable is set to xterm-256color and wavemon does work as expected. Can you please show the output from your TERM variable $ echo $TERM
Created attachment 750073 [details] Konsole with "xterm-color"
Created attachment 750074 [details] Konsole with "xterm-256color"
Konsole and the framebuffer have problems with "xterm-256color". xterm itself has no issues when setting TERM=xterm-256color
The error affects 'atop' too by the way. For some reason Konsole doesn't like xterm-256color.
I can reproduce the error now. Like Martin already said it is a bug in ncurses. Subpackage terminfo-base seems to ship a broken version of /usr/share/terminfo/x/xterm-256color See https://bugzilla.opensuse.org/show_bug.cgi?id=1054448 for more details. *** This bug has been marked as a duplicate of bug 1054448 ***
Update ncurses to the *latest* version 6.0 with patch level 20171118 and also you might update to the latest konsole. Beside this konsole is not an XTerm that is do not use "xterm-256color" if konsole does not fit the features of current "xterm-256color" which is not a bug of ncurses as TERM variables never reprogram terminals but only describe them.
The change would be here: https://cgit.kde.org/konsole.git/tree/src/Vt102Emulation.cpp#n683 but konsole's developers have not made a change for this bug.
This definitely looks like it's caused by the missing REP support in konsole. So let's mark it as duplicate again. A fix is on the way: https://build.opensuse.org/request/show/571654 Please reopen if there still is a problem after the next konsole update. *** This bug has been marked as a duplicate of bug 1054448 ***