From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1GMAvE-0001YU-7H for garchives@archives.gentoo.org; Sat, 09 Sep 2006 22:03:32 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k89M1dGb029815; Sat, 9 Sep 2006 22:01:39 GMT Received: from sccrmhc12.comcast.net (sccrmhc12.comcast.net [204.127.200.82]) by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k89Lta5V010639 for ; Sat, 9 Sep 2006 21:55:37 GMT Received: from spinner (c-69-249-7-96.hsd1.nj.comcast.net[69.249.7.96]) by comcast.net (sccrmhc12) with ESMTP id <200609092155350120002r4ke>; Sat, 9 Sep 2006 21:55:35 +0000 From: Jerry McBride Organization: TEAM-GENTOO To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] mc-4.6.1 not showing graphical characters in terminal Date: Sat, 9 Sep 2006 17:55:35 -0400 User-Agent: KMail/1.9.4 References: In-Reply-To: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200609091755.35304.mcbrides9@comcast.net> X-Archives-Salt: 7bc7b5d7-3593-4294-a9f0-ed62a6be459d X-Archives-Hash: fbddd6ee35a21b724fda6d095cc5cbd8 On Saturday 09 September 2006 16:02, Peter wrote: > After > 1) upgrade to gcc 4.1.1 > 2) upgrade to profile 2006.1 > 3) revdep-rebuild recompile for libstdc++ and for new profile uses (which > included mc) > > Now, issuing mc at a terminal prompt (not inside X) shows no border > characters. Does this have something to do with unicode support? The only > way I can get any useful terminal output is to use the -a output for stick > characters. Inside an xterm or similar, mc shows graphical characters > fine. I re-emerged mc with -unicode, but the results are the same. > > Clues? Yup... I had the same MC issue after upgrading to the 2006.1 levels. It's a very basic language issue. I'm not sure if it's gcc, glibc or perhaps an xorg module... 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" That last line makes no since to me, but it seems to be required for MC. Last but least run env-update, source /etc/profile and check /etc/profile.env has LC_ALL set to "en_US.ISO-8859-1". It may take a reboot, but once I had made the change, midnight commander began drawing lines again. The only other problems I ever had with MC is, if I leave mc running for any length of time, it begins to take more and more cpu resource... Top will show like 80% useage. Once I kill off mc, everything is back to normal. Anyone have a tip for that one? Jerry... P.S. I welcome all comments. -- gentoo-user@gentoo.org mailing list