You are not logged in.

#1 2008-03-18 17:01:08

okar
Member
Registered: 2008-03-01
Posts: 12

man pages character encoding

hi there,
I just installed arch the weekend before.
When I'm browsing the man pages I got problems with the character encoding. Most of them are displayed correctly, but sometimes there stands something like that: ?<80><98> instead of an character. As I do not know how to take an screenshot of an manpage without having an GUI installed I took a picture( XD ).
[img=http://img411.imageshack.us/img411/184/dsc00185hj0.th.jpg]
What configuration files do you need to help me? or do you know what my problem is, yet?
thanks in advance

Offline

#2 2008-03-18 17:03:18

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: man pages character encoding

check for /etc/profile.pacnew, and if you have it, replace or merge it with your existing one.


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

#3 2008-03-18 17:58:54

okar
Member
Registered: 2008-03-01
Posts: 12

Re: man pages character encoding

I got a file named /etc/profile.pacnew
what is the file I have to merge/replace it with?

furthermore I got the problem with my manpages, which is solved by using unset MANPATH, but it will reappear after a reboot. These problems are probably connected.

I just don't know which files I have to merge, remove or keep and so on.
thx

edit:
ok replaced profile with profile.pacnew, as I can't remember that I changed something in the profile ever since. this solves the problem.
does pacman tell me if it create such a .pacnew kinda file?
Or how do I know that this files is existing, searching for all files with an .pacnew ending once in a while an mergen them with the old file?

Last edited by okar (2008-03-18 18:08:29)

Offline

#4 2008-03-18 18:44:29

tigrmesh
IRC Op
From: Florida, US
Registered: 2007-12-11
Posts: 794

Re: man pages character encoding

okar wrote:

searching for all files with an .pacnew ending once in a while an mergen them with the old file?

That's what I do. 

Pacman -Su will give you a message if there's a .pacnew file created.  But sometimes I miss the message...

Offline

#5 2008-03-18 18:49:37

dyscoria
Member
Registered: 2008-01-10
Posts: 1,007

Re: man pages character encoding

This is really useful:

ls /etc | grep pacnew

flack 2.0.6: menu-driven BASH script to easily tag FLAC files (AUR)
knock-once 1.2: BASH script to easily create/send one-time sequences for knockd (forum/AUR)

Offline

#6 2008-03-25 17:11:51

slackhack
Member
Registered: 2004-06-30
Posts: 738

Re: man pages character encoding

I replaced my /etc/profile a while ago, and I'm still getting this problem. I just got around to searching for it and found this thread, but my /etc/profile was already changed. I tried adding unset MANPATH to my ~/.bashrc and re-sourcing it, but it didn't work. anyone know what the problem might be?

Offline

#7 2008-03-25 17:15:31

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: man pages character encoding

MANPATH has nothing to do with the encoding, only the locations of man pages..
It's LESSCHARSET which has something to do with encoding. Check that this var is not set to anything either.
Also check for a /etc/man.conf.pacnew


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

#8 2008-03-25 21:01:14

slackhack
Member
Registered: 2004-06-30
Posts: 738

Re: man pages character encoding

thanks, that explains it why source ~/.bashrc didn't do anything. killing X and logging out and back in from the console worked. cheers

Offline

Board footer

Powered by FluxBB