Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
SMS Forum Index » Suggestions

Post new topic   Reply to topic
avoid garbage characters showed when using mc from remote
View previous topic :: View next topic  
Author Message
keopp
Senior Member


Joined: 08 Nov 2008
Posts: 166
Location: Romania

PostPosted: Tue Aug 25, 2009 11:03 am    Post subject: avoid garbage characters showed when using mc from remote Reply with quote

Hello.
I am using mc(midnight commander) very often.

I sugest a slight modification in etc-13.0-noarch-2sms.txz, more precisely files /etc/profile.d/lang.sh and /etc/profile.d/lang.csh to have uncommented the instructions setting LANG as en_US by default.(on both files, line #7)

This will fix the garbage characters showed by mc(mc-20090621_git-i486-1) when accesed remotely.

Thank you.
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Tue Aug 25, 2009 1:09 pm    Post subject: Reply with quote

I think that's an issue with mc and utf-8.
UTF-8 it's a must now days and there are not much applications that don't handle UTF-8.
Despite that, locale settings it's a subjacency.
There are some patches here for UTF-8 support in midnight commander.

gerasimos_h

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
keopp
Senior Member


Joined: 08 Nov 2008
Posts: 166
Location: Romania

PostPosted: Tue Aug 25, 2009 1:33 pm    Post subject: Reply with quote

I completly agree about UTF-8 support.
Unfortunately, the mc package I use(mc-20090714_git-i486-1.txz), supports UTF-8 as can be seen in the official current slackware changelog here ftp://ftp.osuosl.org/pub/slackware/slackware-current/ChangeLog.txt

Quote:
ap/mc-20090514_git-i486-1.txz: Switched to a GIT repo version with support for
xz/lzma related formats, and better UTF8 support.
Thanks to David Somero for getting the initial xz patches submitted upstream.


I'll have to wait for a better mc package.

Anyway thanks for your answer.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SMS Forum Index » Suggestions All times are GMT + 2 Hours
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
You can attach files in this forum
You can download files in this forum

SMS - Superb! Mini Server Project © 2016
Powered by phpBB © 2001, 2002 phpBB Group
iCGstation v1.0 Template By Ray © 2003, 2004 iOptional