Bug 1067491

Summary: wavemon broken in Konsole
Product: [openSUSE] openSUSE Tumbleweed Reporter: Maximilian Trummer <opensuse>
Component: NetworkAssignee: Martin Hauke <mardnh>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: dickey, mpluskal, opensuse, wbauer, werner
Version: Current   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE Factory   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Konsole with "xterm-color"
Konsole with "xterm-256color"

Description Maximilian Trummer 2017-11-09 16:59:10 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.
Comment 1 Martin Pluskal 2017-11-24 08:37:05 UTC
I am pretty sure that this would be another ncurses bug
Comment 2 Martin Hauke 2017-11-24 20:57:17 UTC
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
Comment 3 Maximilian Trummer 2017-11-24 21:09:20 UTC
Created attachment 750073 [details]
Konsole with "xterm-color"
Comment 4 Maximilian Trummer 2017-11-24 21:10:15 UTC
Created attachment 750074 [details]
Konsole with "xterm-256color"
Comment 5 Maximilian Trummer 2017-11-24 21:13:07 UTC
Konsole and the framebuffer have problems with "xterm-256color".
xterm itself has no issues when setting TERM=xterm-256color
Comment 6 Maximilian Trummer 2017-12-06 19:42:15 UTC
The error affects 'atop' too by the way.
For some reason Konsole doesn't like xterm-256color.
Comment 7 Martin Hauke 2017-12-06 21:32:28 UTC
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 ***
Comment 8 Dr. Werner Fink 2017-12-07 09:28:23 UTC
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.
Comment 9 Thomas Dickey 2017-12-23 18:49:30 UTC
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.
Comment 10 Wolfgang Bauer 2018-02-01 13:57:23 UTC
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 ***