From: Lukasz Pawelczyk <havner@smtp.kamp.pl>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] mc-4.6.1 not showing graphical characters in terminal
Date: Sun, 10 Sep 2006 17:16:25 +0200 [thread overview]
Message-ID: <20060910151625.GA15816@sirius.livecd.pl> (raw)
In-Reply-To: <200609091755.35304.mcbrides9@comcast.net>
On Sat, Sep 09, 2006 at 05:55:35PM -0400, Jerry McBride wrote:
> Prior to this upgrade, I never gave language setting a second thought... but
> once mc began acting up, I started digging around with google and this is
> what I cobbled up.
>
> In "/etc/env.d/02locale " I have set: LC_ALL="en_US.ISO-8859-1"
> In "/etc/rc.conf" I set "UNICODE=no"
> In "/etc/conf.d/consolefont" I have set: CONSOLETRANSLATION=8859-1_to_UNI"
I think that its enought to turn off UNICODE in /etc/rc.conf to restore
previous behaviour (2006.1 has it turned on by default). With it
terminal is set to unicode and that causes problems I suppose.
Locale (C as default) and translation shouldn't be required. If you want
to have proper frames displaying with unicode do the following:
UNICODE=yes in /etc/rc.conf
CONSOLEFONT="LatArCyrHeb-16" in /etc/conf.d/consolefont
drdos8x16 migth do the trick as well
for latin1:
LC_[ALL|CTYPE]=en_US.UTF-8 (or any other language) in /etc/env.d/02locale
you need to add this locale to /etc/locale.gen and regenerate
locales with locale-gen
CONSOLETRANSLATION=8859-1_to_UNI in /etc/conf.d/consolefont
DUMPKEYS_CHARSET="iso-8859-1" in /etc/conf.d/keymaps
for latin2:
LC_[ALL|CTYPE]=pl_PL.UTF-8 (same trick as above, and pl_PL is in my case)
CONSOLETRANSLATION=8859-2_to_UNI in /etc/conf.d/consolefont
DUMPKEYS_CHARSET="iso-8859-2" in /etc/conf.d/keymaps
Reboot might be required, dont know if its enough to restart consolefont
and keymaps services.
Make sure you have mc compiled with unicode and slang USE. This way you
should have properly configured unicode console support (as for some
reason 2006.1 tends to set). Beware though that not all applications
work properly with it. Mc and vim f.e. does.
--
Regards
Lukasz Pawelczyk
--
gentoo-user@gentoo.org mailing list
prev parent reply other threads:[~2006-09-10 15:22 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-09 20:02 [gentoo-user] mc-4.6.1 not showing graphical characters in terminal Peter
[not found] ` <45032BAF.8020309@gmx.net>
2006-09-09 21:09 ` [gentoo-user] " Stefan Wimmer
2006-09-09 21:55 ` [gentoo-user] " Jerry McBride
2006-09-09 22:55 ` [gentoo-user] " Peter
[not found] ` <edvh56$vh0$1@sea.gmane.org>
2006-09-10 1:31 ` Jerry McBride
2006-09-10 11:18 ` Peter
2006-09-10 14:55 ` Bo Ørsted Andresen
2006-09-10 15:46 ` Peter
2006-09-10 16:44 ` Bo Ørsted Andresen
2006-09-10 16:34 ` Jerry McBride
2006-09-10 13:33 ` Peter
2006-09-10 15:16 ` Lukasz Pawelczyk [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060910151625.GA15816@sirius.livecd.pl \
--to=havner@smtp.kamp.pl \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox