[opensuse-factory] terminfo 6.1 & xterm-256color
Hello all: With the latest update of terminfo, I can no longer use 256 colours in a terminal. When I launch mc, it will fallback to the default 16 colour theme. Also the arrow keys do not work. If I set TERM to xterm-color, the arrow keys works again. I have tried this with several terminals with the same result. Have anyone else experienced this? Thanks. Charles -- "On a normal ascii line, the only safe condition to detect is a 'BREAK' - everything else having been assigned functions by Gnu EMACS." (By Tarl Neustaedter) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
https://lists.opensuse.org/opensuse-factory/2018-02/msg00222.html On 2018-02-09 00:30, Charles Philip Chan wrote:
Hello all:
With the latest update of terminfo, I can no longer use 256 colours in a terminal. When I launch mc, it will fallback to the default 16 colour theme. Also the arrow keys do not work. If I set TERM to xterm-color, the arrow keys works again. I have tried this with several terminals with the same result.
Have anyone else experienced this?
Thanks.
Charles
-- "On a normal ascii line, the only safe condition to detect is a 'BREAK' - everything else having been assigned functions by Gnu EMACS." (By Tarl Neustaedter) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Konstantin Voinov <kv@kott.no-ip.biz> writes:
https://lists.opensuse.org/opensuse-factory/2018-02/msg00222.html
Ah, thanks for the info. Charles -- "MSDOS didn't get as bad as it is overnight -- it took over ten years of careful development." (By dmeggins@aix1.uottawa.ca) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Gesendet: Donnerstag, 08. Februar 2018 um 15:48 Uhr; Von: "Konstantin Voinov"
https://lists.opensuse.org/opensuse-factory/2018-02/msg00222.html
On 2018-02-09 00:30, Charles Philip Chan wrote:
With the latest update of terminfo, I can no longer use 256 colours in a terminal. When I launch mc, it will fallback to the default 16 colour theme. Also the arrow keys do not work. If I set TERM to xterm-color, the arrow keys works again. I have tried this with several terminals with the same result.
I've the same error with "screen" the screen manager. Also solved with TERM=xterm the error is also solved. Remark - I added the line export TERM=xterm in /etc/bash.bashrc.local /etc/profile.local Now it works also in a new terminal session. Regards Ulf -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
* ub22@gmx.net <ub22@gmx.net> [02-08-18 16:18]:
Gesendet: Donnerstag, 08. Februar 2018 um 15:48 Uhr; Von: "Konstantin Voinov"
https://lists.opensuse.org/opensuse-factory/2018-02/msg00222.html
On 2018-02-09 00:30, Charles Philip Chan wrote:
With the latest update of terminfo, I can no longer use 256 colours in a terminal. When I launch mc, it will fallback to the default 16 colour theme. Also the arrow keys do not work. If I set TERM to xterm-color, the arrow keys works again. I have tried this with several terminals with the same result.
I've the same error with "screen" the screen manager.
Also solved with
TERM=xterm
the error is also solved.
Remark - I added the line export TERM=xterm in /etc/bash.bashrc.local /etc/profile.local
Now it works also in a new terminal session.
but you also have lost color output which may make no difference to you but may to others. iow, you have used a sledge hammer to drive a tack. the problem is within konsole or supporting files, not your entire system. but, whatever floats yer boat. flash: todays offering for tw, konsole-17.12.2-1.1.x86_64, contains a fix, rpm -q --changelog konsole Unknown terminal: screen-256color Check the TERM environment variable. Also make sure that the terminal is defined in the terminfo database. Alternatively, set the TERMCAP environment variable to the desired termcap entry. you can change your added lines to /etc/bash.bashrc.local and /etc/profile.local back to what you had previously. -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Registered Linux User #207535 @ http://linuxcounter.net Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet freenode -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
* Patrick Shanahan <paka@opensuse.org> [02-08-18 16:33]:
* ub22@gmx.net <ub22@gmx.net> [02-08-18 16:18]:
Gesendet: Donnerstag, 08. Februar 2018 um 15:48 Uhr; Von: "Konstantin Voinov"
https://lists.opensuse.org/opensuse-factory/2018-02/msg00222.html
On 2018-02-09 00:30, Charles Philip Chan wrote:
With the latest update of terminfo, I can no longer use 256 colours in a terminal. When I launch mc, it will fallback to the default 16 colour theme. Also the arrow keys do not work. If I set TERM to xterm-color, the arrow keys works again. I have tried this with several terminals with the same result.
I've the same error with "screen" the screen manager.
Also solved with
TERM=xterm
the error is also solved.
Remark - I added the line export TERM=xterm in /etc/bash.bashrc.local /etc/profile.local
Now it works also in a new terminal session.
but you also have lost color output which may make no difference to you but may to others. iow, you have used a sledge hammer to drive a tack. the problem is within konsole or supporting files, not your entire system.
but, whatever floats yer boat.
flash: todays offering for tw, konsole-17.12.2-1.1.x86_64, contains a fix, rpm -q --changelog konsole Unknown terminal: screen-256color Check the TERM environment variable. Also make sure that the terminal is defined in the terminfo database. Alternatively, set the TERMCAP environment variable to the desired termcap entry.
you can change your added lines to /etc/bash.bashrc.local and /etc/profile.local back to what you had previously.
might hold up on that, the purported "fix" did not work for me. I am using: TERM=xterm mc <directory> <directory> and that works w/o affecting any other app. -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Registered Linux User #207535 @ http://linuxcounter.net Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet freenode -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Thanks
Gesendet: Donnerstag, 08. Februar 2018 um 22:49 Uhr; Von: "Patrick Shanahan" < * Patrick Shanahan <paka@opensuse.org> [02-08-18 16:33]:
but you also have lost color output which may make no difference to you but may to others. iow, you have used a sledge hammer to drive a tack. the problem is within konsole or supporting files, not your entire system.
but, whatever floats yer boat.
flash: todays offering for tw, konsole-17.12.2-1.1.x86_64, contains a fix, rpm -q --changelog konsole Unknown terminal: screen-256color Check the TERM environment variable. Also make sure that the terminal is defined in the terminfo database. Alternatively, set the TERMCAP environment variable to the desired termcap entry.
Now I'fe done some additional analysis: $screen -D -R check Cannot find terminfo entry for 'xterm-256color'. $echo $TERM xterm-256color /etc/terminfo/ is empty if I set $TERM= $screen -D -R check Please set a terminal type. $TERM=konsole screen works again crazy - no Idea what was the basic reason and changed ruing last zypper up??? -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Thu, Feb 08, 2018 at 11:29:33PM +0100, ub22@gmx.net wrote:
Now I'fe done some additional analysis:
$screen -D -R check Cannot find terminfo entry for 'xterm-256color'.
$echo $TERM xterm-256color
/etc/terminfo/ is empty
if I set $TERM=
$screen -D -R check Please set a terminal type.
$TERM=konsole
screen works again
Make sure that both the packages terminfo-base-6.1 *and* terminfo-6.1 are installed. With both screen should simply use screen.xterm-256color Werner -- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr
On Fri, Feb 09, 2018 at 07:02:19AM +0100, Dr. Werner Fink wrote:
On Thu, Feb 08, 2018 at 11:29:33PM +0100, ub22@gmx.net wrote:
Now I'fe done some additional analysis:
$screen -D -R check Cannot find terminfo entry for 'xterm-256color'.
$echo $TERM xterm-256color
/etc/terminfo/ is empty
if I set $TERM=
$screen -D -R check Please set a terminal type.
$TERM=konsole
screen works again
Make sure that both the packages terminfo-base-6.1 *and* terminfo-6.1 are installed. With both screen should simply use screen.xterm-256color
Beside this, there is also a package terminfo-screen. The reason for the existence for this package is that screen would switch to e.g. TERM=screen.xterm if it found TERM=xterm in its environment. But this might cause trouble if a ssh/slogin connection to an older or foreign system is performed as the this remote system might not know about TERM=screen.xterm due missing terminfo entries. Werner -- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr
On 08/02/18 21:49, Patrick Shanahan wrote:
* Patrick Shanahan <paka@opensuse.org> [02-08-18 16:33]:
Gesendet: Donnerstag, 08. Februar 2018 um 15:48 Uhr; Von: "Konstantin Voinov"
https://lists.opensuse.org/opensuse-factory/2018-02/msg00222.html
On 2018-02-09 00:30, Charles Philip Chan wrote:
With the latest update of terminfo, I can no longer use 256 colours in a terminal. When I launch mc, it will fallback to the default 16 colour theme. Also the arrow keys do not work. If I set TERM to xterm-color, the arrow keys works again. I have tried this with several terminals with the same result. I've the same error with "screen" the screen manager.
Also solved with
TERM=xterm
the error is also solved.
Remark - I added the line export TERM=xterm in /etc/bash.bashrc.local /etc/profile.local
Now it works also in a new terminal session. but you also have lost color output which may make no difference to you but may to others. iow, you have used a sledge hammer to drive a tack.
* ub22@gmx.net <ub22@gmx.net> [02-08-18 16:18]: the problem is within konsole or supporting files, not your entire system.
but, whatever floats yer boat.
flash: todays offering for tw, konsole-17.12.2-1.1.x86_64, contains a fix, rpm -q --changelog konsole Unknown terminal: screen-256color Check the TERM environment variable. Also make sure that the terminal is defined in the terminfo database. Alternatively, set the TERMCAP environment variable to the desired termcap entry.
you can change your added lines to /etc/bash.bashrc.local and /etc/profile.local back to what you had previously. might hold up on that, the purported "fix" did not work for me. I am using: TERM=xterm mc <directory> <directory> and that works w/o affecting any other app.
Same here. Latest TW snapshot from this morning does not appear to resolve the "mc in konsole" issue. -- Regards, Vadym -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Fri, Feb 09, 2018 at 09:24:08AM +0000, Vadym Krevs wrote:
but you also have lost color output which may make no difference to you but may to others. iow, you have used a sledge hammer to drive a tack. the problem is within konsole or supporting files, not your entire system.
but, whatever floats yer boat.
flash: todays offering for tw, konsole-17.12.2-1.1.x86_64, contains a fix, rpm -q --changelog konsole Unknown terminal: screen-256color Check the TERM environment variable. Also make sure that the terminal is defined in the terminfo database. Alternatively, set the TERMCAP environment variable to the desired termcap entry.
you can change your added lines to /etc/bash.bashrc.local and /etc/profile.local back to what you had previously. might hold up on that, the purported "fix" did not work for me. I am using: TERM=xterm mc <directory> <directory> and that works w/o affecting any other app.
Same here. Latest TW snapshot from this morning does not appear to resolve the "mc in konsole" issue.
mc uses slang instead of ncurses and the slang version on Tumbleweed can not handle the 32bit terminfo entries like xterm-256color, but I've submitted a fixed version, see https://bugzilla.opensuse.org/show_bug.cgi?id=1079543 ... any test is welcome ;) Werner -- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr
* Dr. Werner Fink <werner@suse.de> [02-09-18 05:07]:
On Fri, Feb 09, 2018 at 09:24:08AM +0000, Vadym Krevs wrote:
but you also have lost color output which may make no difference to you but may to others. iow, you have used a sledge hammer to drive a tack. the problem is within konsole or supporting files, not your entire system.
but, whatever floats yer boat.
flash: todays offering for tw, konsole-17.12.2-1.1.x86_64, contains a fix, rpm -q --changelog konsole Unknown terminal: screen-256color Check the TERM environment variable. Also make sure that the terminal is defined in the terminfo database. Alternatively, set the TERMCAP environment variable to the desired termcap entry.
you can change your added lines to /etc/bash.bashrc.local and /etc/profile.local back to what you had previously. might hold up on that, the purported "fix" did not work for me. I am using: TERM=xterm mc <directory> <directory> and that works w/o affecting any other app.
Same here. Latest TW snapshot from this morning does not appear to resolve the "mc in konsole" issue.
mc uses slang instead of ncurses and the slang version on Tumbleweed can not handle the 32bit terminfo entries like xterm-256color, but I've submitted a fixed version, see https://bugzilla.opensuse.org/show_bug.cgi?id=1079543 ... any test is welcome ;)
libslang2-2.3.1a-46.1.x86_64.rpm fixes mouse cursor in mc on Tw for me. tks -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Registered Linux User #207535 @ http://linuxcounter.net Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet freenode -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 10/02/18 00:35, Patrick Shanahan wrote:
On Fri, Feb 09, 2018 at 09:24:08AM +0000, Vadym Krevs wrote:
but you also have lost color output which may make no difference to you but may to others. iow, you have used a sledge hammer to drive a tack. the problem is within konsole or supporting files, not your entire system.
but, whatever floats yer boat.
flash: todays offering for tw, konsole-17.12.2-1.1.x86_64, contains a fix, rpm -q --changelog konsole Unknown terminal: screen-256color Check the TERM environment variable. Also make sure that the terminal is defined in the terminfo database. Alternatively, set the TERMCAP environment variable to the desired termcap entry.
you can change your added lines to /etc/bash.bashrc.local and /etc/profile.local back to what you had previously. might hold up on that, the purported "fix" did not work for me. I am using: TERM=xterm mc <directory> <directory> and that works w/o affecting any other app.
Same here. Latest TW snapshot from this morning does not appear to resolve the "mc in konsole" issue. mc uses slang instead of ncurses and the slang version on Tumbleweed can not handle the 32bit terminfo entries like xterm-256color, but I've submitted a fixed version, see https://bugzilla.opensuse.org/show_bug.cgi?id=1079543 ... any test is welcome ;)
* Dr. Werner Fink <werner@suse.de> [02-09-18 05:07]: libslang2-2.3.1a-46.1.x86_64.rpm fixes mouse cursor in mc on Tw for me.
tks
Thanks for the above, Patrick. You may be interested to know that the rpm has now gone to '...-46.2...'. And for those who need this rpm, to save you the hassle of searching for it you will find it here: https://download.opensuse.org/repositories/devel:/libraries:/c_c++/openSUSE_... BC -- Always be nice to people on your way up -- you'll see the same people on your way down. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (7)
-
Basil Chupin
-
Charles Philip Chan
-
Dr. Werner Fink
-
Konstantin Voinov
-
Patrick Shanahan
-
ub22@gmx.net
-
Vadym Krevs