Skip to content
Tcl Source Code History Of Ticket 426679ef7d4da6bb
Login

History Of Ticket 426679ef7d4da6bb

Artifacts Associated With Ticket 426679ef7d4da6bb

  1. Ticket change [cad10a18b3] (rid 135077) by stwo on 2013-11-04 14:53:46:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/plain"
    4. comment initialized to:
      On OpenBSD and possibly other systems, the .TH macro causes local macros to be loaded, overwriting some macros defined in man.macros, resulting in incorrectly rendered man pages.
      One fix is to move '.so man.macros' to after the .TH in all affected .n files.
      Another fix is to flip them around in unix/installManPage, similar to what is being done on OpenBSD.
      This also affects Tk and probably doctools, others.
      
      See http://marc.info/?l=openbsd-ports&m=138326304909098&w=2 for more information.
      Excerpt:
      "This is also explicitly encouraged by groff_man(7):
         FILES
           an-ext.tmac
             Note that the definitions for these macros are read after the
             call of TH, so they will replace macros of the same names
             given at the beginning of your file.  If you must use your
             own definitions for these macros, they must be given after
             calling TH.
      
      Yes, that will cause a bit of churn on their side because all manuals need a patch, but this doesn't affect only OpenBSD, all operating systems using a modern groff that has an-ext.tmac enabled by default will suffer from the same clash."
      
    5. foundin initialized to: "all"
    6. is_private initialized to: "0"
    7. login: "stwo"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "36034badbf4fa68e1e6f55bc81729916152660a8"
    10. resolution initialized to: "None"
    11. severity initialized to: "Minor"
    12. status initialized to: "Open"
    13. submitter initialized to: "stwo"
    14. subsystem initialized to: "53. Configuration and Build Tools"
    15. title initialized to:
      Having man.macros after .TH breaks rendering on OpenBSD and possibly others.
      
    16. type initialized to: "Bug"
  2. Ticket change [34e6ab2ef9] (rid 135078) by stwo on 2013-11-05 04:28:55:

    1. icomment:
      Debian (partially?) fixes this by renaming Tcl's OP macro to OOP in all man pages.
      It may be worthwhile to consider changing some macros to names that don't have conflicts with macros in common *roff macro packages.
      Still, that wouldn't obviate the need to move man.macros to after TH.
      
    2. login: "stwo"
    3. mimetype: "text/plain"
    4. username: "stwo"
  3. Ticket change [ec73520266] (rid 135490) by jan.nijtmans on 2013-11-05 12:55:57:

    1. assignee changed to: "jan.nijtmans"
    2. closedate changed to: "2456602.03885697"
    3. closer changed to: "jan.nijtmans"
    4. icomment:
      Fixed in core-8-5-branch [426679ef7d] and trunk [92ff51d4b5]
      
    5. login: "jan.nijtmans"
    6. mimetype: "text/x-fossil-wiki"
    7. resolution changed to: "Fixed"
    8. status changed to: "Closed"
  4. Ticket change [1d1c1c8e83] (rid 135491) by jan.nijtmans on 2013-11-05 12:58:51:

    1. closedate changed to: "2456602.0408788"
    2. icomment:
      Of course, I meant:
      
      Fixed in core-8-5-branch [5145f9b673] and trunk [92ff51d4b5]
      
    3. login: "jan.nijtmans"
    4. mimetype: "text/x-fossil-wiki"