Gentoo Archives: gentoo-user

From: Peter <sw98234@×××××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: mc-4.6.1 not showing graphical characters in terminal
Date: Sat, 09 Sep 2006 23:03:10
Message-Id: edvgpo$uo5$1@sea.gmane.org
In Reply to: Re: [gentoo-user] mc-4.6.1 not showing graphical characters in terminal by Jerry McBride
1 On Sat, 09 Sep 2006 17:55:35 -0400, Jerry McBride wrote:
2
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 (which
8 >> 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 only
12 >> way I can get any useful terminal output is to use the -a output for stick
13 >> characters. Inside an xterm or similar, mc shows graphical characters
14 >> fine. I re-emerged mc with -unicode, but the results are the same.
15 >>
16 >> Clues?
17 >
18 > Yup...
19 >
20 > I had the same MC issue after upgrading to the 2006.1 levels. It's a very
21 > basic language issue. I'm not sure if it's gcc, glibc or perhaps an xorg
22 > module...
23 >
24 > Prior to this upgrade, I never gave language setting a second thought... but
25 > once mc began acting up, I started digging around with google and this is
26 > what I cobbled up.
27 >
28 > In "/etc/env.d/02locale " I have set: LC_ALL="en_US.ISO-8859-1"
29 > In "/etc/rc.conf" I set "UNICODE=no"
30 > In "/etc/conf.d/consolefont" I have set: CONSOLETRANSLATION=8859-1_to_UNI"
31 >
32 > That last line makes no since to me, but it seems to be required for MC.
33 >
34 > Last but least run env-update, source /etc/profile and check /etc/profile.env
35 > has LC_ALL set to "en_US.ISO-8859-1". It may take a reboot, but once I had
36 > made the change, midnight commander began drawing lines again.
37 >
38 > The only other problems I ever had with MC is, if I leave mc running for any
39 > length of time, it begins to take more and more cpu resource... Top will show
40 > like 80% useage. Once I kill off mc, everything is back to normal. Anyone
41 > have a tip for that one?
42 >
43 > Jerry...
44 >
45 > P.S. I welcome all comments.
46 >
47
48 http://bugs.gentoo.org/show_bug.cgi?id=146990
49 This is tough. I filed a bug. Obviously, with unicode a new can of worms
50 has been opened. I have slang, ncurses, etc. I did not change the default
51 console fonts but am afraid I will have to. ITMT, mc -a will have to do.
52 Thanks for the feedback. Feel free to chime in on the bug. Jakub is in his
53 worksforme mode.
54
55 --
56 Peter
57 +++++
58 Do not reply to this email, it is a spam trap and not monitored.
59 I can be reached via this list, or via
60 jabber: pete4abw at jabber.org
61 ICQ: 73676357
62
63 --
64 gentoo-user@g.o mailing list