1 |
On Sat, Sep 09, 2006 at 05:55:35PM -0400, Jerry McBride wrote: |
2 |
> Prior to this upgrade, I never gave language setting a second thought... but |
3 |
> once mc began acting up, I started digging around with google and this is |
4 |
> what I cobbled up. |
5 |
> |
6 |
> In "/etc/env.d/02locale " I have set: LC_ALL="en_US.ISO-8859-1" |
7 |
> In "/etc/rc.conf" I set "UNICODE=no" |
8 |
> In "/etc/conf.d/consolefont" I have set: CONSOLETRANSLATION=8859-1_to_UNI" |
9 |
|
10 |
I think that its enought to turn off UNICODE in /etc/rc.conf to restore |
11 |
previous behaviour (2006.1 has it turned on by default). With it |
12 |
terminal is set to unicode and that causes problems I suppose. |
13 |
|
14 |
Locale (C as default) and translation shouldn't be required. If you want |
15 |
to have proper frames displaying with unicode do the following: |
16 |
|
17 |
UNICODE=yes in /etc/rc.conf |
18 |
CONSOLEFONT="LatArCyrHeb-16" in /etc/conf.d/consolefont |
19 |
drdos8x16 migth do the trick as well |
20 |
|
21 |
for latin1: |
22 |
LC_[ALL|CTYPE]=en_US.UTF-8 (or any other language) in /etc/env.d/02locale |
23 |
you need to add this locale to /etc/locale.gen and regenerate |
24 |
locales with locale-gen |
25 |
CONSOLETRANSLATION=8859-1_to_UNI in /etc/conf.d/consolefont |
26 |
DUMPKEYS_CHARSET="iso-8859-1" in /etc/conf.d/keymaps |
27 |
for latin2: |
28 |
|
29 |
LC_[ALL|CTYPE]=pl_PL.UTF-8 (same trick as above, and pl_PL is in my case) |
30 |
CONSOLETRANSLATION=8859-2_to_UNI in /etc/conf.d/consolefont |
31 |
DUMPKEYS_CHARSET="iso-8859-2" in /etc/conf.d/keymaps |
32 |
|
33 |
Reboot might be required, dont know if its enough to restart consolefont |
34 |
and keymaps services. |
35 |
|
36 |
Make sure you have mc compiled with unicode and slang USE. This way you |
37 |
should have properly configured unicode console support (as for some |
38 |
reason 2006.1 tends to set). Beware though that not all applications |
39 |
work properly with it. Mc and vim f.e. does. |
40 |
|
41 |
-- |
42 |
Regards |
43 |
Lukasz Pawelczyk |
44 |
-- |
45 |
gentoo-user@g.o mailing list |