On Wed, Aug 16, 2017 at 09:59:19PM +0200, Bernhard Held wrote:
After updating to terminfo-base-6.0-27.2 the output of atop or iftop looks bad in my KDE konsole (TERM = xterm-256color).
It's OK on a linux console (TERM = linux) or in xterm (TERM = xterm).
Reverting to terminfo-base-6.0-26.1.x86_64 fixes the problem.
Whom to blame: konsole or terminfo-base?
Ah ... might I guess: TERM is set to "xterm" or extended instead of "konsole" or extended? Please do not try to reprogram terminals or terminal emulators by changing the value of TERM. This variable describes the behaviour of terminals or terminal emulators. There is only some entries which change the behaviour of a terminal emulator (like kbs/kb with modern XTerm, that is if kbs=\177 is given in terminfo then XTerm use DEL and otherwise Ctrl-H) but mostly terminfo entries only describes the current terminal emulator but never reprograms it. In other words if ncurses upstream (also part of XTerm upstream) change something this does by definition not break Konsole ;) For Konsole we have ll /usr/share/terminfo/k/konsole* -rw-r--r-- 1 root root 2443 Aug 7 16:07 /usr/share/terminfo/k/konsole -rw-r--r-- 1 root root 1439 Aug 7 16:07 /usr/share/terminfo/k/konsole+pcfkeys -rw-r--r-- 1 root root 2866 Aug 7 16:07 /usr/share/terminfo/k/konsole-16color -rw-r--r-- 1 root root 2718 Aug 7 16:07 /usr/share/terminfo/k/konsole-256color -rw-r--r-- 1 root root 1687 Aug 7 16:07 /usr/share/terminfo/k/konsole-base -rw-r--r-- 1 root root 1773 Aug 7 16:07 /usr/share/terminfo/k/konsole-linux -rw-r--r-- 1 root root 1783 Aug 7 16:07 /usr/share/terminfo/k/konsole-solaris -rw-r--r-- 1 root root 1783 Aug 7 16:07 /usr/share/terminfo/k/konsole-vt100 -rw-r--r-- 1 root root 1777 Aug 7 16:07 /usr/share/terminfo/k/konsole-vt420pc -rw-r--r-- 1 root root 1793 Aug 7 16:07 /usr/share/terminfo/k/konsole-xf3x -rw-r--r-- 1 root root 2483 Aug 7 16:07 /usr/share/terminfo/k/konsole-xf4x Thanks for attention Werner -- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr