bug-groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Eli Zaretskii
Subject: [bug #55695] Troff outputs garbled file names on MS-Windows
Date: Mon, 11 Feb 2019 12:25:50 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:52.0) Gecko/20100101 Firefox/52.0

URL:
  <https://savannah.gnu.org/bugs/?55695>

                 Summary: Troff outputs garbled file names on MS-Windows
                 Project: GNU troff
            Submitted by: eliz
            Submitted on: Mon 11 Feb 2019 07:25:48 PM IST
                Category: Core
                Severity: 3 - Normal
              Item Group: Incorrect behaviour
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:

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?




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mon 11 Feb 2019 07:25:48 PM IST  Name: DIFFS_troff_backslashes  Size:
800B   By: eliz

<http://savannah.gnu.org/bugs/download.php?file_id=46235>

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]