SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Run the setconsolefont dialog and choose a font that matches the locale ($LANG) you're using. ncurses is most likely expecting to find line graphics at those codepoints in the character set, but the console font you're using has accented character glyphs in those locations.
Are you talking about a terminal emulator such as xterm, konsole, or Terminal? If so then the consolefonts won't help. I thought you were referring to the console.
If you're using a terminal program then you'll need to check it's preferences for the font it's using. Some terminals also let you change the encoding in their preferences/menu rather than using the value of $LANG so you'll need to check that that is correct also.
Personally, I use the "Deja Vu Sans Mono font" in xterm and it works fine with en_GB (which uses iso8859-1 just like en_US does)
Hi, if you are not using English you need unicode to get line drawing chars, that means you can not use the iso* fonts but must use the lat* fonts or fonts that end in *.psfu.gz
edit:
mm, I don remember if this is enough, you may need to switch LANG to utf-8 in your /etc/profile.d/lang.sh, just read that file and see what to do, but just start with the font.
Switching to a UTF-8 locale will have the side effect of putting all your apps into UTF-8 mode (Well, those that take notice of the locale) and you might not want that.
I have no problem with the graphic characters in the non UTF-8 "en_GB" locale, which is very similar to en_US, However, I do have the following in my lilo.conf, that leave the console in ascii mode, rather than utf-8 mode which is likely significant.
Code:
append=" vt.default_utf8=0"
Before you jump into the world of utf-8 variable length characters, you might want to try LANG=en_US and vt.default_utf8=0 kernel option and the default console font.
console does not exhibit the reported issue. Problems existed in terminal emulators.
Since you mentioned lilo, I did add a compact option to mine a day or so ago...but haven't noticed anything except a a faster boot up, so I'd be hesitant to say the two (lilo edit + font issue) were/are related.
No, the vt.defaut_utf8 kernel parameter is not related if you're not talking about the console tty.. I and I guess tty13 as he was talking about psfu fonts were still under the impression you were talking about the console.
Nevermind, If you're happy with running in the utf-8 locale then I'll leave it with you.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.