LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-18-2016, 10:30 AM   #16
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled

The encoding used for your locale should be consistent with the one of the console (or tty, or virtual terminal).

So if "locale -k charmap" says:
Code:
charmap="UTF-8
you should remove this line in /etc/lilo.conf:
Code:
vt.default_utf8=0
This will be the case for instance if LANG is set to en_US.UTF-8.

If instead you set LANG to en_US for instance you will get:
Code:
charmap="ISO-8859-1"
Then you should keep "vt.default_utf8=0".

This has nothing to do with Midnight Commander per se, let alone with the time zone, only with usage of ANSI codes to display graphical characters.

The same apply to xwmconfig or any utility that relies on ncurses, for instance see http://www.linuxquestions.org/questi...ed-4175584782/

Taking the risk to look harsh, may I add that someone running -current is expected to be ready to deal with such changes as the ones quoted in the ChangeLog?

Of course you are not going to come across such issues under X, provided that you use suitable (and properly configured) terminal and fonts.

Last edited by Didier Spaier; 07-18-2016 at 10:33 AM.
 
1 members found this post helpful.
Old 07-18-2016, 12:39 PM   #17
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749
Quote:
Taking the risk to look harsh, may I add that someone running -current is expected to be ready to deal with such changes as the ones quoted in the ChangeLog?
As the instigator and lead developer of slint, I appreciate why you applaud the switch to UTF-8 as the default in Slackware. http://www.linuxquestions.org/questi...ml#post5574601
The need for internationalisation was brought home to me when I was seeding Slackware 14.2 as a torrent download, where I observed multiple accesses from every populated continent on the planet.
However, if this change to UTF-8 is as seamless as you suggest, then why did our BDFL choose not to throw the switch to UTF-8 until after the release of 14.2?
For the OP, I suspect the problem may have been the use of rxvt, which is part of official Slackware. But rxvt has problems when used with UTF-8.

Quote:
Of course you are not going to come across such issues under X, provided that you use suitable (and properly configured) terminal and fonts.
There is the nub. Should Slackware-current continue to support programs that do not play well with UTF-8, but are perfectly serviceable if locale is changed back to the previous default?
The case in point here is rxvt. I have used rxvt for many years because it is lean by comparison to xterm. But now rxvt causes problems (e.g. mc, tree and man). The replacement, urxvt, fixes the problems but it is not a lean alternative to xterm and can also bring a host of issues if used with the perl options.
 
Old 07-18-2016, 01:30 PM   #18
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Quote:
Originally Posted by allend View Post
However, if this change to UTF-8 is as seamless as you suggest, then why did our BDFL choose not to throw the switch to UTF-8 until after the release of 14.2?
I assume because that means not only that the user will have either to abandon the few legacy utilities that are not yet able to handle UTF-8 encoding or use a (now non default) legacy encoding and associated font, but also take care of other aspects, like the many man pages that use various legacy encoding and that could need to be converted for consistency.

Quote:
For the OP, I suspect the problem may have been the use of rxvt, which is part of official Slackware. But rxvt has problems when used with UTF-8.
I rather assume that the OP is just using a Linux console with UTF-8 not enabled by default, which has been the recommended setting during installation until very recently.

Quote:
There is the nub. Should Slackware-current continue to support programs that do not play well with UTF-8, but are perfectly serviceable if locale is changed back to the previous default?
The case in point here is rxvt. I have used rxvt for many years because it is lean by comparison to xterm. But now rxvt causes problems (e.g. mc, tree and man). The replacement, urxvt, fixes the problems but it is not a lean alternative to xterm and can also bring a host of issues if used with the perl options.
This is a non issue: every one will be allowed to continue using a legacy encoding, both in the console and under X. That just won't be the default anymore.

PS Feel free to continue using a terminal of which the most recent release is dated 2003-03-26. After all it's only thirteen years old

Meanwhile I have enough resources to use xterm that has received continuous tender loving care from Thomas E. Dickey since 1996/1/6 (yes, that's twenty years ago), with the last patch dated 2016/06/25.

FYI xterm will be shipped in Slint 14.2 with a toolbar by default (I anticipate many rants from people not used to that but hey, any one can put a line with "XTerm.toolBar: off" in one's ~/Xresources then run "xrdb ~/.Xresources").

Last edited by Didier Spaier; 07-18-2016 at 02:32 PM. Reason: Corrected: s/(now non default) UTF-8 encoding/(now non default) legacy encoding/
 
2 members found this post helpful.
Old 07-18-2016, 02:39 PM   #19
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,223

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Quote:
Originally Posted by Didier Spaier View Post
Taking the risk to look harsh, may I add that someone running -current is expected to be ready to deal with such changes as the ones quoted in the ChangeLog?
I think that was indeed overly harsh. I didn't know what to do with that either.
 
Old 07-18-2016, 03:19 PM   #20
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
What worries me is seeing posts like #6. The analysis is relevant:
Quote:
Originally Posted by MarcT View Post
I think UTF is the cause. If the OP is tracking -current, the Jul 12th update makes UTF-8 the default locale:
But not the conclusion:
Quote:
So I think they'll need to revert those changes.
So as a reminder, -current:
  • is not a "rolling release",
  • is not a release at all.
Everyone is of course free to run it, but shouldn't expect the same stability as that of a release.

PS I did learn from this reading from Mr Dugan Chen, so I recommend it

Last edited by Didier Spaier; 07-18-2016 at 05:39 PM. Reason: PS modified.
 
2 members found this post helpful.
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Midnight Commander 4.6.2 guanx Slackware 8 02-07-2009 03:53 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
midnight commander enigma1 Linux - Software 6 12-10-2003 02:47 PM
Midnight Commander XPediTioN Slackware 2 07-12-2003 11:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:51 AM.

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