1 |
On Saturday 09 September 2006 19:01, Peter wrote: |
2 |
> On Sat, 09 Sep 2006 17:55:35 -0400, Jerry McBride wrote: |
3 |
> > On Saturday 09 September 2006 16:02, Peter wrote: |
4 |
> >> After |
5 |
> >> 1) upgrade to gcc 4.1.1 |
6 |
> >> 2) upgrade to profile 2006.1 |
7 |
> >> 3) revdep-rebuild recompile for libstdc++ and for new profile uses |
8 |
> >> (which included mc) |
9 |
> >> |
10 |
> >> Now, issuing mc at a terminal prompt (not inside X) shows no border |
11 |
> >> characters. Does this have something to do with unicode support? The |
12 |
> >> only way I can get any useful terminal output is to use the -a output |
13 |
> >> for stick characters. Inside an xterm or similar, mc shows graphical |
14 |
> >> characters fine. I re-emerged mc with -unicode, but the results are the |
15 |
> >> same. |
16 |
> >> |
17 |
> >> Clues? |
18 |
> > |
19 |
> > Yup... |
20 |
> > |
21 |
> > I had the same MC issue after upgrading to the 2006.1 levels. It's a very |
22 |
> > basic language issue. I'm not sure if it's gcc, glibc or perhaps an xorg |
23 |
> > module... |
24 |
> > |
25 |
> > Prior to this upgrade, I never gave language setting a second thought... |
26 |
> > but once mc began acting up, I started digging around with google and |
27 |
> > this is what I cobbled up. |
28 |
> > |
29 |
> > In "/etc/env.d/02locale " I have set: LC_ALL="en_US.ISO-8859-1" |
30 |
> > In "/etc/rc.conf" I set "UNICODE=no" |
31 |
> > In "/etc/conf.d/consolefont" I have set: |
32 |
> > CONSOLETRANSLATION=8859-1_to_UNI" |
33 |
> > |
34 |
> > That last line makes no since to me, but it seems to be required for MC. |
35 |
> > |
36 |
> > Last but least run env-update, source /etc/profile and check |
37 |
> > /etc/profile.env has LC_ALL set to "en_US.ISO-8859-1". It may take a |
38 |
> > reboot, but once I had made the change, midnight commander began drawing |
39 |
> > lines again. |
40 |
> > |
41 |
> > The only other problems I ever had with MC is, if I leave mc running for |
42 |
> > any length of time, it begins to take more and more cpu resource... Top |
43 |
> > will show like 80% useage. Once I kill off mc, everything is back to |
44 |
> > normal. Anyone have a tip for that one? |
45 |
> > |
46 |
> > Jerry... |
47 |
> > |
48 |
> > P.S. I welcome all comments. |
49 |
> |
50 |
> It required a reboot although I think I could have run console manually. |
51 |
> Turning off UNICODE and enabling the cache translation setting as you |
52 |
> suggested worked. This needs to be documented. Jerry, would you like to |
53 |
> add your comments to the bug? I'd like to see you credited for your help. |
54 |
> |
55 |
|
56 |
Hi Peter, |
57 |
|
58 |
I just had a look at the bug report and comment #5 from Jakub Moc is the |
59 |
correct fix. |
60 |
|
61 |
I'll chime in and post my thoughts anyway... |
62 |
|
63 |
|
64 |
Jerry |
65 |
-- |
66 |
gentoo-user@g.o mailing list |