[email protected]
[Top] [All Lists]

Re: mc under Eterm

Subject: Re: mc under Eterm
From: Pavel Tsekov
Date: Mon, 25 Sep 2006 17:28:54 +0300 EEST
On Mon, 25 Sep 2006, Alessandro Magni wrote:

>>> Basically, the Fedora rpm (as well as packages from several other vendors)
>>> includes a set of patches which enable MC to work in a utf8-ized 
>>> environment. Those patches are not part of the original MC code. Anyway,
>>> my guess is that Eterm is not UTF-8 capable. I'd suggest you to set
>>> the LANG environment so that UTF-8 encoding won't be used by MC. For 
>>> example:
>>>
>>>  "export LANG=C" or "export it_IT.ISO8859-1" or "export it_IT"
>> 
>> 
>> Ooops, sorry. The above should read:
>>
>>   export LANG=it_IT.ISO8859-1
>>   export LANG=it_IT
>> 
>> 
> This almost worked, thanks!
> Pity that no chars at all are printed for the graphic chars (yet they are 
> present in the font I use,  -b&h-luxi 
> mono-medium-r-normal--0-0-0-0-m-0-iso10646-1),
> but at least mc is usable.

This is because you are not using the right font. xterm-like terminals
which do no support unicode - I guess Eterm is one of them - expect
that the glyphs for the line drawing characters are found in cells 0-31.
The font "luxi mono" doesn't satisfy this requirement - you can check
for yourself by issuing the following command:

xfd -fn "-b&h-luxi mono-medium-r-normal--0-0-0-0-m-0-iso10646-1"

Also you are not using the right encoding . You should use a
"iso8859-1" font instead of "iso10646" (unicode) font. The following
font should do the trick:

-*-fixed-medium-r-normal-*-*-*-*-*-*-*-iso8859-1

Or if you dont like it use xfontsel and xfd to find a font that
suits you and has line-drawing chars in cells numberd 0-31.
_______________________________________________
Mc mailing list
http://mail.gnome.org/mailman/listinfo/mc

<Prev in Thread] Current Thread [Next in Thread>