9fans / plan9port

Plan 9 from User Space
https://9fans.github.io/plan9port/
Other
1.64k stars 326 forks source link

troff: fix missing soelim #342

Closed phonologus closed 4 years ago

phonologus commented 4 years ago

The troff .so preprocessor soelim is missing. It is essential for any troff workflow beyond individual manpages.

In Plan9 it was rewritten as an rc script (like man) and located in /rc/bin. It seems not have made the transition into plan9port.

This pull request (1) imports the Plan9 rc script into bin/ and fixes the #! line to conform to plan9port expectations; (2) adds an entry into lib/moveplan9.files to trigger the /usr/local/plan9 pathname relocation during INSTALL; and (3) imports the Plan9 soelim.1 manpage with some light-touch fixes for plan9port style (mainly adding the \*9 macro in the SOURCE section and removing hard-coded spacing requests).

The tears-of-frustration comments in the script are the original ones. I have left them untouched, as a mark of respect for the original author's pain...