Bug 1081094 - terminfo-dependent apps break when $TERM=xterm-256color
terminfo-dependent apps break when $TERM=xterm-256color
Status: NEW
Classification: openSUSE
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Basesystem
64bit openSUSE Factory
: P5 - None : Minor (vote)
: ---
Assigned To: Luca Beltrame
E-mail List
Depends on:
  Show dependency treegraph
Reported: 2018-02-15 04:40 UTC by Damon Poole
Modified: 2018-03-19 06:27 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---

Rendering broken in dry (230.78 KB, image/png)
2018-02-15 04:40 UTC, Damon Poole
Rendering broken in ngrok (43.23 KB, image/png)
2018-02-15 04:40 UTC, Damon Poole

Note You need to log in before you can comment on or make changes to this bug.
Description Damon Poole 2018-02-15 04:40:09 UTC
Created attachment 760217 [details]
Rendering broken in dry

As of a recent update (seemingly to terminfo), I have found that some applications which depend on it have broken, namely ncurses and dry

At first I thought it was an issue with dry and opened an issue here: https://github.com/moncho/dry/issues/59

However the fact it affects other applications and that there is a similar bug (except with opposite symptoms) already being tracked here (1054448) leads me to believe it's an issue with OpenSUSE TW. This may be a duplicate of 1054448 however due to the fact that my symptoms are a direct opposite (`xterm` works fine unlike in that issue, but `xterm-256color` doesn't) I thought I should open a new issue as they may be caused by different things
Comment 1 Damon Poole 2018-02-15 04:40:45 UTC
Created attachment 760218 [details]
Rendering broken in ngrok
Comment 2 Kai-Uwe Behrmann 2018-03-10 13:24:29 UTC
Confirming ...
konsole> termprobes 

Probe           Escape sequence          Reply

DA             \033[c                   ^[[?1;2c
OLD_TERM_ID    \033Z                    ^[[?1;2c
DA1            \033[1c                  ^[[?1;2c
EXT_DA         \033[?1;1c
SEC_DA         \033[>c                  ^[[>0;115;0c
TITLE          \033[21;t                setterm: xterm-256color: unbekannter Terminaltyp

press enter to quit


However qterminal, xterm, rxvt are all set TERM=xterm and run fine. No glue where xterm-256color comes from. With the bash-4.4 not even simple arrow navigation works any more. After setting konsole to TERM=xterm all appears fine.
Broken tools:
* bash
* htop
* man
* less
* ...

About konsole:
KDE Frameworks 5.43.0
Qt 5.10.0 (kompiliert gegen 5.10.0)
Das xcb Fenstersystem
Comment 3 Kai-Uwe Behrmann 2018-03-10 13:34:04 UTC
There appears a little bit of relation here:
Bug 1055815 - Konsole bug for new vim will need to be included in KDE3 as well (not xterm-256color compatible)
Comment 4 Kai-Uwe Behrmann 2018-03-10 13:34:53 UTC
and here the link: https://bugzilla.opensuse.org/show_bug.cgi?id=1055815