id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	branch_state	votes
4378	MC does not recognize XTerm as a terminal emulator that supports 256-colors	mleonov		"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:
----
Error
Unable to use '<picked_skin_name>' skin with 256 colors support on non-256 colors terminal. Default skin has been loaded.
----"	defect	closed	major		mc-tty	master	invalid					no branch	
