man pages in konqueror show 34 for quote

D. Michael McIntyre michael.mcintyre at rosegardenmusic.com
Sun Dec 30 21:26:49 UTC 2007


On Sunday 30 December 2007, John DeCarlo wrote:
> I can't get "man xorg.conf" to display anything like
>
> Section "SectionName"
>
> How do you get it to do that?

By RTFMing :)

Scroll down.  It's there.  I see this too, just like he said.

  Section  '34'SectionName'34'
      SectionEntry
      ...
  EndSection

Interesting.  I didn't see it earlier today, but there it is, and my encoding 
suggestion didn't do squat.  Unless...  Nope.  Squat.

Weird.

OK, I don't know anything about man page programming, but here's the code for 
that bit(/usr/share/man/man5/xorg.conf.5.gz):

  .RS 4
  .nf
  .BI "Section  \*q" SectionName \*q
  .RI "    " SectionEntry
      ...
  .B EndSection
  .fi
  .RE

Looks like the \*q" \*q" syntax is for fancy quotes, and looks like 
Konqueror's help browser mode is not interpreting this correctly.  It doesn't 
look like an encoding/locale problem after all.

But then...  Further down in the page in Konqueror, I see quotes, smart 
looking quotes:

  Note: hex integer values must be prefixed with “0x”, and octal values
  with “0”. 

So where is that in the man source?

  .BR "String      " "a string enclosed in double quote marks (\*q)"
  .fi
  .RE
  .PP
  Note: hex integer values must be prefixed with \(lq0x\(rq, and octal values
  with \(lq0\(rq.

OK, the top example is another \*q, and it shows up as another '34' in 
Konqueror, but the bottom example with \(lq0x\(rq interprets as I pasted 
above, with // // type quotes, which I think only exist in Unicode.

Anyway, it's all looking like a Konqueror bug.  I tried to launch the bug 
report wizard, and it's broken.  A bug in the bug reporter too?  Ah, glee and 
jubilant exaltation!

-- 
D. Michael McIntyre 




More information about the kubuntu-users mailing list