Update of bug #68132 (group groff):

         Planned Release:                    None => 1.24.1
                 Summary: [troff] formatting Ritchie's "C Reference Manual"
from V6 Unix aborts with assertion failure => [PATCH] [troff] formatting
Ritchie's "C Reference Manual" from V6 Unix aborts with assertion failure

    _______________________________________________________

Follow-up Comment #2:

For those wanting to play along at home, here's where the _troff_ files Clem
and I are attempting to render can be found.

https://minnie.tuhs.org/cgi-bin/utree.pl?file=V6/usr/doc/c

The scope of this ticket is _only_ to fix the regression such that GNU _troff_
dumps core due to an assertion failure.

It is **not** to make Ritchie's Unix V6 _C Reference Manual_ paper format
correctly.  It almost does, but for the character translations that attempt to
map characters to non-characters.

Here they are:


$ grep -Fn .tr c*
c0:3:.tr ^\|
c0:5:.tr @
c2:421:.tr ^^
c2:428:.tr ^\|
c2:524:.tr ^^
c2:527:.tr ^\|
c5:566:.tr ^^
c5:574:.tr ^\|
ca:202:.tr ^^
ca:204:.tr ^\|
ca:209:.tr ^^
ca:221:.tr ^\|


(`.tr @` does actually work as intended, replacing '@' with a word space in
_groff_ 1.23.0 and 1.24.0--patched or not--but I intend to evict support for
that idiom to compatibility mode in _groff_ 1.25.0; see bug #68133.)

The result is that Ritchie's document is readable when rendered by _groff_,
but ugly where the translated '^` is used, and apparently always has been.

See attached screenshots.

Other bug #68133 work will make _groff_ 1.25.0 render this historical document
faithfully.

(file #58321, file #58322)

    _______________________________________________________

Additional Item Attachment:

Name: ritchie-v6-cref-1.png          Size: 90KiB
    <https://file.savannah.gnu.org/file/ritchie-v6-cref-1.png?file_id=58321>

Name: ritchie-v6-cref-2.png          Size: 102KiB
    <https://file.savannah.gnu.org/file/ritchie-v6-cref-2.png?file_id=58322>


    AGPL NOTICE

These attachments are served by Savane. You can download the corresponding
source code of Savane at
https://savannah.gnu.org/source/savane-5479f0ac3e1f014845fd281c379bc3ccb7a72723.tar.gz


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?68132>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature

Reply via email to