svn commit: r315850 - head/sys/boot/forth

Bruce Evans brde at optusnet.com.au
Thu Mar 23 11:22:01 UTC 2017


On Thu, 23 Mar 2017, [UTF-8] Dag-Erling Smørgrav wrote:

> Log:
>  The original author abused Nd (one-line description, used by makewhatis)
>  for its side effect of producing an en-dash.  This broke whatis with
>  newer versions of mdocml.  Use \(en instead.

Nd (or is it mumble-dash?) is broken for all man pages.  Old man renders
the dash for Nd as 2 hyphens in ascii.  New man renders it as 1 hyphen in
ascii.  postscript output is even more broken.  Old man renders the dash
for Nd as an especially wide one.  New man still seems to render it as 1
hyphen, and hyphens are especially narrow in postscript output for new
man (they are 1.5 to 2 times narrower than with old man, and that is with
a larger font for the smaller hyphens).  Altogther, the dash for Nd is
about 4 times larger with old man after adjusting for the font size
(about 3 average characters wide instead of 3/4).

Whatever the dash for Nd is, it shouldn't look like a hyphen.

I compared the output of "man ls.1 | col -bx".  The diffs were too large
due to different policies for splitting lines, but this and 2 other known
bugs were obvious (the others are sentence breaks after complicated sentence
terminations like ".)", and -width not working giving misformatted tables
and lists).  Different justification was even more obvious.  -Tascii uses
hyphens to split long lines with old man only, and this allows perfect
right justification in postscript output for old man only.  New man
apparently doesn't try to right justify for -Tps any more than with -Tascii.

Bruce


More information about the svn-src-all mailing list