> > Arjan Opmeer wrote:
> >>
> >> Looking at the man page I see that the escaped version of some characters
> >> are used.
> >>
> >>   \e  for \  (which won't work when the escape character is redefined)
> >>   \&_ for _  what is that non-printable, zero width character doing there?
> >>   \`  for `  but the escaped version maps to the grave accent
> >>   \'  for '  but the escaped version maps to the acute accent
> >>   \-  for -  why? we want the real minus character, not some hyphen
> >>
> >> As UTF8 and all the ISO-8859-x fonts have the standard ASCII character set
> >> at the beginning, why not use the real ASCII characters in this man page?
> >> After all, it is about the ASCII set now how you could pretty format that 
> >> on
> >> some output device.

\`, \(aq, \- etc. yield the real ASCII characters.

`, ', - etc. yield 'pretty' quotes, dashes, etc.

The fix for the apostrophes in ascii.7 is to use \(aq instead of \'.
\' produces the ISO-8859-x acute accent, not an apostrophe.  (The patch
for ascii.7 that I originally submitted used \(aq -- I later commented
that I thought \' should work, but I was mistaken.)

BTW, man pages can also be rendered as html, dvi, ps, etc. using -Tps,
etc.  (The html rendering could perhaps use some love, although AFAICT,
it still seems better than the various man2html scripts...)

Cheers,
-- 
Stuart Brady



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to