FS#57300 - [ncurses] [slang] most of color terminals break mc start
Attached to Project:
Arch Linux
Opened by Vladimir (_v_l) - Wednesday, 31 January 2018, 01:19 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Thursday, 08 February 2018, 18:40 GMT
Opened by Vladimir (_v_l) - Wednesday, 31 January 2018, 01:19 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Thursday, 08 February 2018, 18:40 GMT
|
Details
Description: after updating ncurses to ver. 6.1 MC
(midnight-commander) refuses to start with most '-256color'
terminals with message:
``` Unknown terminal: tmux-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. ``` Checked with 'screen-256color', 'xterm-256color' and 'st-256color'. ncurses 6.0 (6.0+20170902-3) from core allows MC to start and works fine. Additional info: * mc 4.8.20, slang 2.3.1a, ncurses 6.0+20170902-3 vs ncurses 6.1-3 Steps to reproduce: - start MC like that (I tried in rxvt-unicode terminal, but think it is unrelated to the terminal emulator): ``` $ TERM=tmux-256color mc ``` |
This task depends upon
Closed by Bartłomiej Piotrowski (Barthalion)
Thursday, 08 February 2018, 18:40 GMT
Reason for closing: Fixed
Additional comments about closing: slang 2.3.1a-2
Thursday, 08 February 2018, 18:40 GMT
Reason for closing: Fixed
Additional comments about closing: slang 2.3.1a-2
Also works for me.
I doubt because MC compiled vs ncurses works fine, but the one compiled with slang --- shows the problem.
I tried to run less on sample text file with TERM=rxvt-unicode-256color and TERM=screen-256color, TERM=tmux-256color but it works fine (ncurses 6.1-3). Do you have a recipe how to show a problem with less? (I locally build tmux from git but I don't see problem with tmux too).
Also started being after that same ncurses update.
Is this the exact same issue, or would it require a separate fix?
***
commit 6dd5ade9a97b52ace4ac033779a6d3c1c51db4d1
Author: John E. Davis <jed@jedsoft.org>
Date: Tue Jan 30 04:04:17 2018 -0500
pre2.3.2-19: Added support for the new ncurses 32-bit terminfo database entries.
***
So maybe slang should be bumped to a more recent git commit?
I can't see the above link (https://invisible-island.net/ncurses/announce.html), so I can't really understand where the issue stands; I get:
> Access from your Country was disabled by the administrator.