You are not logged in.
What is the cause of these usual characters when I "man patch"? Am I missing a locale or something?

Last edited by graysky (2011-10-19 17:29:53)
Offline
I see some bulletpoints there on my terminal.
I'd guess your font does not support that particular character. Or given the fact that there are two questionmark characters, are you using utf-8 at all? (I really assume you are, knowing you as power user)
zʇıɹɟʇıɹʞsuɐs AUR || Cycling in Budapest with a helmet camera || Revised log levels proposal: "FYI" "WTF" and "OMG" (John Barnette)
Offline
@SF - I think I am:
$ grep utf8 /etc/rc.conf
LOCALE="en_US.utf8"
$ grep en_US /etc/locale.gen
en_US.UTF-8 UTF-8
en_US ISO-8859-1The screenshot came from terminal 0.4.8 using monospace/10. HOWEVER, if I install gnome-terminal and look at the same manpage, I do indeed see a bullet point! Perhaps this is a limitation of terminal?
EDIT: Yes! This is the problem. I followed the advice on this wiki page adding the following to /etc/environment:
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"Rebooted and now there are no funny characters. Thanks for pointing me in the right direction.
Last edited by graysky (2011-10-19 17:30:06)
Offline
This is the character,
·It displays fine here in urxvt with profont.
What if you switch fonts/terminals? Any special settings of your $PAGER? Have you checked the output of `locale'?
This silver ladybug at line 28...
Offline
@l -
I switched to gnome-terminal using the same monospace/10 and it was displayed properly. After reading that wiki page I linked, and appending those two lines to /etc/environment, terminal looks fine.
$ echo $PAGER
$ locale
LANG=en_US.utf8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=en_US.UTF-8Note the above is after the aforementioned modification.
Offline
Whoops, didn't read carefully that I missed you had found the solution.
Still feels a little strange to have to set locale in several places IMO, but anyway whatever works... ![]()
This silver ladybug at line 28...
Offline