LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 02-28-2013, 10:53 AM   #1
SharpyWarpy
Member
 
Registered: Feb 2003
Location: Florida
Distribution: Fedora 18
Posts: 862

Rep: Reputation: 90
Midnight Commander displays strange fonts


Using Fedora 18 x64 and KDE (unless I'm in multi-user mode, of course).
Could not find a similar thread less than 5 years old so here goes. In a console mode only - multi-user or run level 3 - when I run midnight commader with "mc" I get garbled fonts. Some examples of how the garbled fonts look.

6040M/13G (46%)

Oddly if I use ctl-alt-F3 or similar "F" key to go into console mode from the GUI (KDE) and start mc it behaves. I think it's a console font issue, and if that sounds reasonable would someone please be so kind as to inform me what package(s) I need to install for this? Thanks ahead of time.
UPDATE: Running
Code:
mc -a
fixes it. From the manual the "-a" switch is used to "Disable usage of graphic characters for line drawing." ??

Last edited by SharpyWarpy; 02-28-2013 at 10:58 AM. Reason: more info
 
Old 02-28-2013, 01:45 PM   #2
Drakevr
Member
 
Registered: Jan 2013
Location: Greece
Distribution: Slackware64, openBSD
Posts: 31

Rep: Reputation: 6
MC by default uses unicode glyphs for drawing lines and other UI elements.

Your terminal lacks proper unicode support or your system is misconfigured in that aspect.

Code:
mc -a
works because instead of unicode it uses other simpler glyphs for rendering.

You should search in your distro's documentation about how to set the locale to a UTF-8 one, so that the font will display correctly.
 
1 members found this post helpful.
Old 02-28-2013, 02:05 PM   #3
SharpyWarpy
Member
 
Registered: Feb 2003
Location: Florida
Distribution: Fedora 18
Posts: 862

Original Poster
Rep: Reputation: 90
@ Drakevr: Thank you, I will check into that.
 
Old 03-01-2013, 12:54 AM   #4
SharpyWarpy
Member
 
Registered: Feb 2003
Location: Florida
Distribution: Fedora 18
Posts: 862

Original Poster
Rep: Reputation: 90
Okay for Fedora 18 what I did to fix these problems was run
Code:
unicode_start
Then decided to change console font
Code:
setfont LatArCyrHeb-19.psfu.gz
which I'll try for a while. Good to know multi-user mode is still usable after all. I should mention here elinks text web browser was exhibiting some of the same behaviour, which this also fixed.

Last edited by SharpyWarpy; 03-01-2013 at 12:56 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ugly fonts in Midnight Commander (screenshot) artiomix Linux - Software 0 02-25-2008 08:45 AM
Enough of mrxvt and aterm, with ugly fonts with midnight commander mc ? frenchn00b Linux - General 3 02-10-2008 10:36 AM
Midnight Commander help? masterross Linux - Software 3 01-22-2008 10:25 AM
midnight commander prevoo DamnSmallLinux 6 09-19-2004 05:26 PM
localized fonts in rxvt & midnight commander / mandrake 9.1 2dope Linux - Newbie 0 07-25-2003 10:38 PM


All times are GMT -5. The time now is 12:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration