LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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, 09:53 AM   #1
SharpyWarpy
Member
 
Registered: Feb 2003
Location: Florida
Distribution: Fedora 18
Posts: 862

Rep: Reputation: 91
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 09:58 AM. Reason: more info
 
Old 02-28-2013, 12:45 PM   #2
Drakevr
Member
 
Registered: Jan 2013
Location: Greece
Distribution: Slackware64, openBSD
Posts: 38

Rep: Reputation: 7
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, 01:05 PM   #3
SharpyWarpy
Member
 
Registered: Feb 2003
Location: Florida
Distribution: Fedora 18
Posts: 862

Original Poster
Rep: Reputation: 91
@ Drakevr: Thank you, I will check into that.
 
Old 02-28-2013, 11:54 PM   #4
SharpyWarpy
Member
 
Registered: Feb 2003
Location: Florida
Distribution: Fedora 18
Posts: 862

Original Poster
Rep: Reputation: 91
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; 02-28-2013 at 11:56 PM.
 
  


Reply



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 07:45 AM
Enough of mrxvt and aterm, with ugly fonts with midnight commander mc ? frenchn00b Linux - General 3 02-10-2008 09:36 AM
Midnight Commander help? masterross Linux - Software 3 01-22-2008 09:25 AM
midnight commander prevoo DamnSmallLinux 6 09-19-2004 04:26 PM
localized fonts in rxvt & midnight commander / mandrake 9.1 2dope Linux - Newbie 0 07-25-2003 09:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:01 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
Open Source Consulting | Domain Registration