[opensuse-factory] terminfo-base vs. KDE konsole
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? Have fun, Bernhard -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 08/16/2017 02:59 PM, 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).
You can change that in konsole settings. Settings --> Edit Current Profile --> General and then look for "Environment". -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
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
On Aug 17 2017, "Dr. Werner Fink" <werner@suse.de> wrote:
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 ;)
But the konsole description does not work for Konsole, for example control and shift modified cursor keys don't work. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Thu, Aug 17, 2017 at 10:55:52AM +0200, Andreas Schwab wrote:
On Aug 17 2017, "Dr. Werner Fink" <werner@suse.de> wrote:
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 ;)
But the konsole description does not work for Konsole, for example control and shift modified cursor keys don't work.
Ah ... OK, that is libreadline/inputrc as well as bindkey for tcsh I guess. Yep indeed, this only handles xterm, kvt, gnome, kterm, mlterm, rxvt-unicode, linux, and screen but missing konsole Werner -- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr
On 08/17/2017 at 08:46 AM, Dr. Werner Fink wrote:
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). Ah ... might I guess: TERM is set to "xterm" or extended instead of "konsole" TERM was set to xterm-256color. This might be an ancient setting. I don't think that I ever fiddled with this setting.
"konsole" is doing the trick. Many thanks for the hint! Bernhard -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Thu, Aug 17, 2017 at 09:21:25PM +0200, Bernhard Held wrote:
On 08/17/2017 at 08:46 AM, Dr. Werner Fink wrote:
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). Ah ... might I guess: TERM is set to "xterm" or extended instead of "konsole" TERM was set to xterm-256color. This might be an ancient setting. I don't think that I ever fiddled with this setting.
"konsole" is doing the trick. Many thanks for the hint!
I found "xterm-xfree86" works better for me. It fixes the visual glitches in mutt and the ctrl/shift keys still work in vim/bash! For anyone has the same problem, give "xterm-xfree86" a try :) Gary Lin -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Tue, Aug 22, 2017 at 04:27:21PM +0800, Gary Lin wrote:
On Thu, Aug 17, 2017 at 09:21:25PM +0200, Bernhard Held wrote:
On 08/17/2017 at 08:46 AM, Dr. Werner Fink wrote:
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). Ah ... might I guess: TERM is set to "xterm" or extended instead of "konsole" TERM was set to xterm-256color. This might be an ancient setting. I don't think that I ever fiddled with this setting.
"konsole" is doing the trick. Many thanks for the hint!
I found "xterm-xfree86" works better for me. It fixes the visual glitches in mutt and the ctrl/shift keys still work in vim/bash!
For anyone has the same problem, give "xterm-xfree86" a try :)
You are trying to solve problem on wrong level. Try to add your ctrl/shift keys into your ~/.inputrc and if you think it is worth of it, send a patch against system inputrc inside konsole condition block. S_W
On Wed, Sep 06, 2017 at 03:34:47PM +0200, Tomáš Čech wrote:
On Tue, Aug 22, 2017 at 04:27:21PM +0800, Gary Lin wrote:
On Thu, Aug 17, 2017 at 09:21:25PM +0200, Bernhard Held wrote:
On 08/17/2017 at 08:46 AM, Dr. Werner Fink wrote:
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). Ah ... might I guess: TERM is set to "xterm" or extended instead of "konsole" TERM was set to xterm-256color. This might be an ancient setting. I don't think that I ever fiddled with this setting.
"konsole" is doing the trick. Many thanks for the hint!
I found "xterm-xfree86" works better for me. It fixes the visual glitches in mutt and the ctrl/shift keys still work in vim/bash!
For anyone has the same problem, give "xterm-xfree86" a try :)
You are trying to solve problem on wrong level.
Try to add your ctrl/shift keys into your ~/.inputrc and if you think it is worth of it, send a patch against system inputrc inside konsole condition block.
It's more like workaround for a regression. Not only konsole but also xfce4-terminal use xterm-256color by default and are affected by the update. Gary Lin -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (6)
-
Andreas Schwab
-
Bernhard Held
-
Dr. Werner Fink
-
Gary Lin
-
Neil Rickert
-
Tomáš Čech