Follow-up Comment #15, bug #60602 (project groff):

> In fact, a C version of cat2dit that would run on V7 Unix under SIMH would,
in my imagination, kick ass.  (People really wanted one, back in the '80s.) 
Then there would be no data migration issue or octal dumping to mess with. 
Run SIMH in a terminal window with enough scrollback and you could just copy
and paste the entire ditroff output to wherever you wanted. 

I've an even better idea: implement a driver for SIMH's PDP-11 emulator that
advertises itself as a connected C/A/T device. It's possible to emulate
paper-tape rolls and even Ethernet adapters for a SIMH client, but that's well
above my paygrade:

http://simh.trailing-edge.com/pdf/pdp11_doc.pdf

I imagine most of the terminology in this document is less opaque to you than
it is to me (Hell, I can barely write a C program to save my life). In any
case, if you still want a non-JS implementation of cat2dit, the source I got
it from was a C header file with all the macros provided and ready to go
<https://github.com/Alhadis/otroff/blob/92683053f9aad5b926fc447843bf2092ad59cebf/cat.h>.
They even provided a man page
<https://github.com/Alhadis/otroff/blob/92683053f9aad5b926fc447843bf2092ad59cebf/cat.5>!

The original UseNet post was
https://groups.google.com/d/topic/comp.text/IFbbkuI91nA

    _______________________________________________________

Reply to this item at:

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

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


Reply via email to