Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
displaying problems with midnight comander
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
isaacrc82
n00b
n00b


Joined: 03 Nov 2006
Posts: 8

PostPosted: Mon Nov 06, 2006 3:12 pm    Post subject: displaying problems with midnight comander Reply with quote

Hi every body:

I emerged MC (midnight commader) a few weeks ago. But when I executed mc I get a display that look awful, I mean that the lines do not display instead a group of characters are display and that make that very stanges things happen. However, that only happens when I am in text mode console because when I am in gnome and execute a console with MC then MC display it so good.

I don't know how it's possible this happen ???
I think it is a problem with codification but I am new with gentoo so I don'know.
Could you help me please ???

greetings.
Back to top
View user's profile Send private message
santiago
n00b
n00b


Joined: 08 Oct 2006
Posts: 35
Location: Argentina

PostPosted: Mon Nov 06, 2006 5:18 pm    Post subject: Reply with quote

I solved that disabling unicode for the console in /etc/rc.conf
Back to top
View user's profile Send private message
96140
Retired Dev
Retired Dev


Joined: 23 Jan 2005
Posts: 1324

PostPosted: Mon Nov 06, 2006 5:55 pm    Post subject: Reply with quote

Yes, MC is one of a few applications that are known to look better with unicode disabled.
Back to top
View user's profile Send private message
isaacrc82
n00b
n00b


Joined: 03 Nov 2006
Posts: 8

PostPosted: Mon Nov 06, 2006 6:01 pm    Post subject: Reply with quote

hmmmm, How Can I disable unicode ???
Back to top
View user's profile Send private message
96140
Retired Dev
Retired Dev


Joined: 23 Jan 2005
Posts: 1324

PostPosted: Mon Nov 06, 2006 6:11 pm    Post subject: Reply with quote

isaacrc82 wrote:
hmmmm, How Can I disable unicode ???

The same way you create USE flags for any other packages. Read the handbook! Here it is in a nutshell:
Code:
# echo "app-misc/mc -unicode" >> /etc/portage/package.use
# emerge -avN app-misc/mc
Back to top
View user's profile Send private message
santiago
n00b
n00b


Joined: 08 Oct 2006
Posts: 35
Location: Argentina

PostPosted: Mon Nov 06, 2006 7:26 pm    Post subject: Reply with quote

In my case, compiling mc with or without uncode flag doesn't change the awful display in the console.
What I said was to edit /etc/rc.conf and change the line UNICODE="yes" to UNICODE="no"
Back to top
View user's profile Send private message
isaacrc82
n00b
n00b


Joined: 03 Nov 2006
Posts: 8

PostPosted: Tue Nov 07, 2006 2:29 pm    Post subject: Reply with quote

I'm sorry but disabling unicode do not work, MC continues displaying in a bad way.
What Does it suppose I must to do ???


Greetings
Back to top
View user's profile Send private message
x22
Apprentice
Apprentice


Joined: 24 Apr 2006
Posts: 208

PostPosted: Tue Nov 07, 2006 2:47 pm    Post subject: Reply with quote

Unicode USE flag for mc works only together with slang USE flag. You have to enable slang for mc to allow it to use utf-8 correctly.
To disable utf-8 you probably need to use non-uft-8 locale.

See Using UTF-8 with Gentoo for more info.
Back to top
View user's profile Send private message
isaacrc82
n00b
n00b


Joined: 03 Nov 2006
Posts: 8

PostPosted: Fri Nov 10, 2006 2:22 pm    Post subject: Reply with quote

Thanks, I have already solve the problem. Disabling unicode.

Greetings.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum