Ticket #4378 (closed defect: invalid)

Opened 21 months ago

Last modified 21 months ago

MC does not recognize XTerm as a terminal emulator that supports 256-colors

Reported by: mleonov Owned by:
Priority: major Milestone:
Component: mc-tty Version: master
Keywords: Cc:
Blocked By: Blocking:
Branch state: no branch Votes for changeset:


What version of Midnight Commander is used?
GNU Midnight Commander 4.8.19
This issue was discovered when using the mc (x86_64) package that is available from dnf on RHEL 8.6.:
Installed Packages
Name : mc
Epoch : 1
Version : 4.8.19
Release : 9.el8
Architecture : x86_64
Size : 6.8 M
Source : mc-4.8.19-9.el8.src.rpm
Repository : @System
From repo : AppStream?

What steps will reproduce the problem?
Use the default package manager to install the XTerm package (https://en.wikipedia.org/wiki/Xterm, https://invisible-island.net/xterm/) that is available for your Linux distribution.
Options > Appearance > Skin > Pick any skin the name of which ends with 256.

What is the expected output?
XTerm supports 256 colors, so any 256-color skin should be applied nominally.

What do you see instead?
Error message:

Unable to use '<picked_skin_name>' skin with 256 colors support on non-256 colors terminal. Default skin has been loaded.

Change History

comment:1 Changed 21 months ago by andrew_b

  • Status changed from new to closed
  • Component changed from mc-core to mc-tty
  • Resolution set to invalid
  • Milestone Future Releases deleted

4.8.19 is 5-years old. For old mc, please send bugreports to bug tracker of your Linux distro.

In order to use 256 colors skins, set XTERM=xterm-256color.

Note: See TracTickets for help on using tickets.