bugGNU troff - Bugs: bug #55695, Troff outputs garbled file names...


bug #55695: Troff outputs garbled file names on MS-Windows

Submitted by:  Eli Zaretskii <eliz>
Submitted on:  Mon 11 Feb 2019 05:25:48 PM UTC  
Category:  Core Severity:  3 - Normal
Item Group:  Incorrect behaviour Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Planned Release:  None

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Mon 11 Feb 2019 05:25:48 PM UTC, original submission:  

A command such as this:

      troff -ms \usr\share\man\man1\addr2line.1

when invoked on MS-Windows, produces the following diagnostics:

  \usr\share\man\man1☺ddr2line.1:136: macro error: .TH without .TS H (recovering)

The funny smiley after "man1" is the glyph produced by emitting a Ctrl-A (ASCII 0x1) code on the Windows console.  The reason for this is that the backslashes in the file name are interpreted.

Is the attached patch a good way to fix this?

Eli Zaretskii <eliz>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #46235:  DIFFS_troff_backslashes added by eliz (800B - application/octet-stream)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by eliz (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-02-11 eliz Attached File- => Added DIFFS_troff_backslashes, #46235

    Back to the top

    Powered by Savane 3.5