RE: [SLE] how to get mc and yast showing nice lines via putty
Works! and how to make this default? -----Original Message----- From: Harsh Busa [mailto:harsh.busa@gmail.com] Sent: 07 October 2004 11:28 To: Heupink, Mourik Jan C. Cc: SLE Subject: Re: [SLE] how to get mc and yast showing nice lines via putty try this argument before running mc export LANG=C On Thu, 7 Oct 2004 11:10:15 +0200, Heupink, Mourik Jan C. <heupink@intech.unu.edu> wrote:
dear list.
I asked this before, but didn't get any solutions... I'm sure some of you must know how to solve this.
I've installed SuSE 9.1 ftp on a new server, and am having the following problem:
I can't get yast and mc to show they 'graphic' lines correctly. If i select utf8 in putty, mc works beautifully, and yast shows wrong characters (qqqqqqqqqqqqqqqqq instead of horizontal line) and if I select ISO-8859-1 (and "use unicode line drawing code points") shows garbled characters, instead of nice lines.
what to do? With older verions of SuSE this used to work, never had this problem. What did I do wrong..?
Yours, Mourik Jan
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
-- __________________________ http://www.ebackend.com/blog
On Thursday 07 October 2004 11:47, Heupink, Mourik Jan C. wrote:
Works!
and how to make this default?
Only for mc, or for the entire system? For the entire system, edit /etc/sysconfig/language, and set RC_LANG="C" (untested). Here is a patch for mc: --- /usr/share/mc/bin/mc-wrapper.sh.orig 2004-09-09 18:30:10.000000000 +0200 +++ /usr/share/mc/bin/mc-wrapper.sh 2004-10-07 11:59:43.093697268 +0200 @@ -1,5 +1,8 @@ MC_PWD_FILE="${TMPDIR-/tmp}/mc-$USER/mc.pwd.$$" +SAVE_LANG="$LANG" +export LANG="C" /usr/bin/mc -P "$MC_PWD_FILE" "$@" +export LANG="$SAVE_LANG" if test -r "$MC_PWD_FILE"; then MC_PWD="`cat $MC_PWD_FILE`" But you can also edit mc-wrapper.sh by hand. Cheers, Leen
participants (2)
-
Heupink, Mourik Jan C.
-
Leendert Meyer