Red Hat Bugzilla – Bug 75805
mc (over telnet/ssh) font/color usage is a mess.
Last modified: 2015-01-07 19:01:04 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020830
Description of problem:
When to run mc locally behind console, it is fine but if to telnet/ssh to other
host and run mc there - total mess and unusability.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1) Run mc at console not at X11 window to verify it is running fine;
2) telnet/ssh to some other host ad run mc from there;
Actual Results: No correct output from mc, total mess: random symbols at random
Expected Results: Same results as when to run mc locally.
This font/symbol/color problems are not only with mc but with all such programs
what use console (iptraf, setup).
Is the remote system also an 8.0 system?
Yes and no as it does not depend on what RedHat version is running at the host
(in my case 7.3 & 8.0).
STRG-X c over ssh doen't work when the server is RH 8
Is there a hope for a fix or workaround for this problem?
Can you try "LANG=C mc" on the remote host?
"LANG=C mc" will generate better results - no random symbols, but all border
symbols are missing, only different background colors are visible.
All bold colors is missing:
Yellow is brown.
Light green is dark green (see at boot the "[ OK ]"!!)
No way to change the palette (setpalette from SVGATextMode don't works!!)
Please ask RedHat you too for reintegrate bold colors!!
I can't utilize RH8.0 so!!
For problems of encoding mismatch (UTF-8 locally, something else remotely),
there's not much we can do other than the Encoding menu available in rawhide
If there are terminal emulation issues in vte we should fix those.
If there are remaining mc-specific issues then this bug should be assigned
back to mc and the MoveUpstream keyword added.
Before starting ssh, check the contents of your locale settings using the
"locale" command. If they're all the same (the usual case), ensure that LANG is
set to the same value on the remote system as it is locally before you start mc
How I can change these?
redhat-config-keyboard and redhat-config-language seem not to have any effect.
Local machine (fresh install of RedHat Linux 8.0):
[IS@sarmax IS]$ locale
[IS@sarmax IS]$ echo $LANG
Remote machine (RedHat Linux 8.0 upgrade from RedHat Linux 7.3):
[IS@ragana IS]$ locale
[IS@ragana IS]$ echo $LANG
(Somehow on this machine "setup" utility is missing "Keyboard configuration"...)
Another remote machine (also RedHat Linux 8.0 upgrade from RedHat Linux 7.3):
[IS@ranume IS]$ locale
[IS@ranume IS]$ echo $LANG
gnome-terminal now has a menu item to address this problem.