LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


View Poll Results: What locale/codeset do you use?
UTF-8 73 85.88%
ISO8859-1 9 10.59%
Other ISO8859-* 2 2.35%
Other 3 3.53%
Multiple Choice Poll. Voters: 85. You may not vote on this poll

Reply
  Search this Thread
Old 08-05-2014, 06:38 AM   #16
GazL
LQ Veteran
 
Registered: May 2008
Posts: 7,102

Original Poster
Rep: Reputation: 5266Reputation: 5266Reputation: 5266Reputation: 5266Reputation: 5266Reputation: 5266Reputation: 5266Reputation: 5266Reputation: 5266Reputation: 5266Reputation: 5266

Quote:
Originally Posted by brianL View Post
I've got locale set to en_GB. On my laptop, anyway, (where I am now). But I'm pretty sure I've got en_GB.UTF-8 on my desktop - I'll check later.
I'm using a unicode font in the console (Lat2-Terminus16), because it looks better than the default. Nothing bad has happened yet. But it probably will now I've mentioned it.
A Lat1 font would be more appropriate for that locale, and as long as you stick to the Terminus family shouldn't look any different.
Give "ter-116b.psf.gz", or "ter-116n.psf.gz" a try. I prefer the look of the bold font myself.
 
Old 08-05-2014, 06:45 AM   #17
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,311
Blog Entries: 61

Rep: Reputation: Disabled
Quote:
Originally Posted by GazL View Post
A Lat1 font would be more appropriate for that locale, and as long as you stick to the Terminus family shouldn't look any different.
Give "ter-116b.psf.gz", or "ter-116n.psf.gz" a try. I prefer the look of the bold font myself.
Ok, I'll try those. Thanks for the tip.
 
Old 08-05-2014, 06:49 AM   #18
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,285

Rep: Reputation: Disabled
In the console, I'd suggest using a true type font like DejaVu through fbterm. You can size it at will [1] and it's good looking.

[1] as long as each glyph can fit individually in the screen, to be accurate

Last edited by Didier Spaier; 08-05-2014 at 06:51 AM.
 
Old 08-05-2014, 06:57 AM   #19
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,311
Blog Entries: 61

Rep: Reputation: Disabled
On my desktop, I'm using the NVidia driver, so I can't use the VESA framebuffer. As a result the console font is rather large, so I'll try ter-114n(or b) or ter-112n(or b).

Last edited by brianL; 08-05-2014 at 06:58 AM.
 
Old 08-05-2014, 07:16 AM   #20
audriusk
Member
 
Registered: Mar 2011
Location: Klaipėda, Lithuania
Distribution: Slackware
Posts: 384

Rep: Reputation: 228Reputation: 228Reputation: 228
My locale is UTF-8 for at least five years, if not longer. It allows me to work with multilingual text, e.g. read email written in Lithuanian (my native tongue) and Russian in Mutt (can occur at work). If some program doesn't support it, I consider it broken and obsolete, as this program most likely was abandoned by its author(s).
 
Old 08-05-2014, 07:52 AM   #21
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,285

Rep: Reputation: Disabled
Quote:
Originally Posted by brianL View Post
On my desktop, I'm using the NVidia driver, so I can't use the VESA framebuffer. As a result the console font is rather large, so I'll try ter-114n(or b) or ter-112n(or b).
That's not an issue at all. If FbTerm can't find a framebuffer, it just fall back to using a VESA driver if available.

For instance here I use a NVIDIA driver too and fbterm relies on the VESA VGA driver that is built in all Slackware kernels. That's makes no difference in the rendering.
 
Old 08-05-2014, 08:03 AM   #22
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065
UTF-8 for working with multiple languages' character sets.

Only utility I have trouble with is gv (I do have PostScript documents).

For example, displaying the GNU Scientific Library documentation
Code:
gv ./Documents/gsl-ref.ps
Warning: Missing charsets in String to FontSet conversion
Warning: Cannot convert string "-efont-biwidth-medium-r-normal--16-*-*-*-*-*-iso10646-1,-gnu-unifont-medium-r-normal--16-*-*-*-*-*-iso10646-1,-adobe-helvetica-medium-r-normal--14-*-*-*-*-*-*-*,-jis-fixed-medium-r-*--16-*-*-*-*-*-jisx0208.1983-0,-*-*-medium-r-*--16-*-*-*-*-*-*-*,*" to type FontSet
Warning: Missing charsets in String to FontSet conversion
Warning: Unable to load any usable fontset
Warning: Missing charsets in String to FontSet conversion
Warning: Unable to load any usable fontset
Displays fine, but pretty much any PostScript file does the above.

I do have the Adobe Type Library and have no problem printing any PostScript file (or converting PostScript to PDF and the like) so it's no big deal but gv is just one of those older utilities that don't like UTF-8 it seems. Haven't noticed any problems with any other utilities, just gv.

Just a little weirdness, no big deal.
 
Old 08-05-2014, 08:05 AM   #23
GazL
LQ Veteran
 
Registered: May 2008
Posts: 7,102

Original Poster
Rep: Reputation: 5266Reputation: 5266Reputation: 5266Reputation: 5266Reputation: 5266Reputation: 5266Reputation: 5266Reputation: 5266Reputation: 5266Reputation: 5266Reputation: 5266
Quote:
Originally Posted by audriusk View Post
If some program doesn't support it, I consider it broken and obsolete, as this program most likely was abandoned by its author(s).
A big part of the reason I posted this thread (other than general curiosity about UTF-8 uptake amongst slackers) was to identify which programs still don't support utf-8.

So far, I have:

elvis (slackware's default vi).
ash (no surprise here).
 
Old 08-05-2014, 08:06 AM   #24
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,311
Blog Entries: 61

Rep: Reputation: Disabled
Quote:
Originally Posted by Didier Spaier View Post
That's not an issue at all. If FbTerm can't find a framebuffer, it just fall back to using a VESA driver if available.

For instance here I use a NVIDIA driver too and fbterm relies on the VESA VGA driver that is built in all Slackware kernels. That's makes no difference in the rendering.
Ah, I was going off the warning (forget exactly what it says, something about stability?) that appears if using anything other than vga = normal with the NVidia driver.

Last edited by brianL; 08-05-2014 at 08:08 AM.
 
Old 08-05-2014, 08:32 AM   #25
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,285

Rep: Reputation: Disabled
Quote:
Originally Posted by brianL View Post
Ah, I was going off the warning (forget exactly what it says, something about stability?) that appears if using anything other than vga = normal with the NVidia driver.
Here I have "vga = 791" but IIRC even with "vga = normal" fbterm can use the VESA VGA driver. I'll check later because I can't reboot now.
 
Old 08-05-2014, 08:33 AM   #26
GazL
LQ Veteran
 
Registered: May 2008
Posts: 7,102

Original Poster
Rep: Reputation: 5266Reputation: 5266Reputation: 5266Reputation: 5266Reputation: 5266Reputation: 5266Reputation: 5266Reputation: 5266Reputation: 5266Reputation: 5266Reputation: 5266
Yeah, like brian I stick with vga=normal because the NVIDIA blob driver used to have problems with framebuffer consoles. Haven't tried it in a long time though and things may have improved by now.

It'd be nice if nvidia actually included a framebuffer console driver in their kernel module so we don't have to rely on generic things like vesafb though, though I guess like everyone else, they consider consoles a thing of the past.
 
Old 08-05-2014, 08:39 AM   #27
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,285

Rep: Reputation: Disabled
Quote:
Originally Posted by GazL View Post
It'd be nice if nvidia actually included a framebuffer console driver in their kernel module.
Try this
Code:
modprobe nvidiafb
lsmod|grep nvidiafb
And that:
Code:
modinfo nvidiafb

Last edited by Didier Spaier; 08-05-2014 at 08:40 AM.
 
Old 08-05-2014, 08:56 AM   #28
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,311
Blog Entries: 61

Rep: Reputation: Disabled
From a quick googling, you can't use nvidiafb with the NVidia driver. You can use uvesafb.

P.S.
Found this LQ thread from 6 years ago:
http://www.linuxquestions.org/questi...vesafb-654739/

Last edited by brianL; 08-05-2014 at 08:59 AM.
 
Old 08-05-2014, 10:28 AM   #29
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,311
Blog Entries: 61

Rep: Reputation: Disabled
Quote:
Originally Posted by brianL View Post
I'm pretty sure I've got en_GB.UTF-8 on my desktop - I'll check later.
Yes, I was right.
 
Old 08-05-2014, 11:02 AM   #30
irgunII
Member
 
Registered: Jan 2012
Location: Directly above the center of the earth
Distribution: Slackware. There's something else?
Posts: 383

Rep: Reputation: 72
I *think* I have utf8 setup on my system, but not sure, though it *is* in use in my bash console.

When I do this though, it show's nothing is utf8.
Code:
me@home:~$ locale
LANG=en_US
LC_CTYPE="en_US"
LC_NUMERIC="en_US"
LC_TIME="en_US"
LC_COLLATE=C
LC_MONETARY="en_US"
LC_MESSAGES="en_US"
LC_PAPER="en_US"
LC_NAME="en_US"
LC_ADDRESS="en_US"
LC_TELEPHONE="en_US"
LC_MEASUREMENT="en_US"
LC_IDENTIFICATION="en_US"
LC_ALL=
Somehow or another I'm sure I've got utf8 setup for use on my system. I has given me trouble in only very few places, unfortunately I can't remember any of them at the moment as I just more or less ignore when I get a weird symbol instead of the character I was expecting to see.

Last edited by irgunII; 08-05-2014 at 11:06 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
locale: Cannot Set LC_ALL to default locale: No such file or directory. asym Linux - General 11 10-24-2018 06:54 PM
Locale or run level - cannot open display message konzo Linux - Newbie 5 01-14-2010 05:32 PM
How on Sarge to get adduser+locale let new user run a language root & others don't Frommacau Debian 3 06-28-2006 09:11 AM
locale: Cannot set LC_ALL to default locale: Invalid argument GadgetWiz Mandriva 1 04-01-2006 12:38 AM
Linux box calling a batch script on a windows box to run? Is it possible? joelhop Programming 8 05-17-2004 05:49 PM

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

All times are GMT -5. The time now is 05:56 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