How to use graphical line drawing characters with Midnight Commander on OS X under ssh?
Posted
by
Sorin Sbarnea
on Super User
See other posts from Super User
or by Sorin Sbarnea
Published on 2010-09-03T11:57:13Z
Indexed on
2011/11/20
9:59 UTC
Read the original article
Hit count: 267
I discovered that when I do ssh
to a machine using OS X 10.6 and use mc
I do not see the graphical line drawing characters.
This does not happen if I open terminal and start mc
.
I'm connecting using putty
configured to use xterm-color
, configuraton that works just fine if I do ssh to a linux machine.
The mc
from OS X is version 4.7.0 (installed using macports).
What locale
returns:
- LC_CTYPE="C" <== ssh
- LC_CTYPE="UTF-8" <== Terminal.app
ssh: mc > display bits shows: 7-bit ASCII
(changing does not help, it defaults to the same value)
Terminal.app: mc > display bits shows: UTF-8
The environment shows TERM=xterm-color
in both cases Terminal.app and ss but mc looks different
.
I filed a bug to mc with this information at http://www.midnight-commander.org/ticket/2339
© Super User or respective owner