man pages in konqueror show 34 for quote

Edward Dunagin edunagin at gmail.com
Sun Dec 30 22:48:10 UTC 2007


On Dec 30, 2007 2:26 PM, D. Michael McIntyre
<michael.mcintyre at rosegardenmusic.com> wrote:
> 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!
>
> --
Hey D. Michael McIntyre,

What the font is going on!?


Edward Dunagin-Dunigan-Dunnigan
4646 Glenwood Drive
Bozeman, MT 59718
mobile 406-570-0992
Landline 406-556-7282
http://doas.montanalinux.org




More information about the kubuntu-users mailing list