LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch
User Name
Password
Arch This Forum is for the discussion of Arch Linux.

Notices


Reply
  Search this Thread
Old 05-25-2010, 07:53 AM   #1
skola
Member
 
Registered: Nov 2009
Posts: 66

Rep: Reputation: 19
wrong characters in man, info pages


Running a test setup of the latest Arch and installed only the base from the cd. This obviously is just an init 3 terminal and I chose my locale and fonts correctly.

On looking at certain man and info pages - pacman and ifconfig plus
some others - I noticed that I didn't see some characters and they showed up as a question mark ?, BUT it was black on a grey background, all the other letters/chars being grey.

A) In man pacman, under DESCRIPTION the 2nd paragraph has a line shown like this: ?Arch Linux Package Management?

B) And, if you scroll down to the option -r, --root <'path'>
this is how it is shown:

Specify an alternative installation root (default is ?'/''). This should not be used as a way to install software into ''/usr/local?' instead of ?/usr?. This option is used if you want to install a package on a temporary mounted partition which is "owned" by another system.

C) On some info pages where a long word came to the r.h. edge and was hyphenated, instead of seeing hyphen- I see hyphen? again black on a grey b/g.

I also have a Suse setup on this disk and booted to it to check the name of the fonts and keyb map, and they were the same as the Arch. I copied the pacman.8.gz and ifconfig.8.gz into the Suse /man8 and invoked them in turn. Sure enough they looked ok and I could see what the missing chars were.

The Arch man display is giving the ? for double quotes " and an apostrophe ' (left and right oriented kind) , but not all the time.

In Suse, that first example above at A) it shows the double quotes " correctly, but back in Arch it doesn't BUT scroll down and it shows them around the word "owned" as in example B).

And example B) shows the discrepancy with the single quote or apostrophe, sometimes seen correctly, sometimes as a ?.

It's obviously not translating certain characters according to their coding. Using the numlock and keying alt+34 gives the d/qoutes ". Doing alt+39 is apostrophe ' and alt+96 is the left apsotrophe '. The ? I'm seeing is alt+128.

I looked in the /usr/share/kbd dirs and the mans about loadunimap and setfont and tried running those to see any change but no luck.

any hints appreciated.
 
Old 05-26-2010, 08:39 AM   #2
bartonski
Member
 
Registered: Jul 2006
Location: Louisville, KY
Distribution: Fedora 12, Slackware, Debian, Ubuntu Karmic, FreeBSD 7.1
Posts: 443
Blog Entries: 1

Rep: Reputation: 48
I wasn't entirely sure what controlled the character set, but I figured that it had to be a shell variable, and I figured that it was either UTF-8 or ISO/IEC 8859 (aka Latin1)... so I ran the following:

Code:
$ set | egrep -i 'utf|iso'
GDM_LANG=en_US.UTF-8
LANG=en_US.UTF-8
A quick trip to the Bash man pages yielded the following:

Code:
       LANG   Used to determine the  locale  category  for  any category  not
              specifically selected with a variable starting with LC_.
       LC_ALL This  variable  overrides  the  value  of LANG and any other LC_
              variable specifying a locale category.
So... I would take a look at the values of $LANG and $LC_ALL, just to see where you stand.

Also, what type of terminal are you using? gnome terminal? xterm?
 
Old 05-27-2010, 06:44 PM   #3
skola
Member
 
Registered: Nov 2009
Posts: 66

Original Poster
Rep: Reputation: 19
hi there and thanks.

As it happens I got stuck into some other stuff needing doing so I'm writin this away from that test setup with Arch. However, I had changed from the default US to my own en_GB and using latin1 which was alright on the Suse partition on that disk. I did use the commands to change mappings and there was no change or worse change!

For your q's. The Suse was a terminal in Gnome (terrible in Suse but it's only a trial) and as I said, the Arch was just the base install from the cd which only gives init 3 bash.

I'll get back to it later this morning (!) and have another go.
 
  


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
Strange characters in man pages _maco_ Linux - General 2 06-01-2009 05:44 PM
FC4 telnet and ' characters in man pages Mehuge Red Hat 12 11-24-2006 01:42 AM
Weird characters in man pages - possible CHARSET problem?? benr77 Linux - General 2 06-02-2005 01:44 PM
funny characters in man pages durden2.0 Linux - General 4 06-27-2003 12:34 AM
man/info pages no help dunbar Linux - Newbie 25 01-21-2003 12:48 PM

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

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