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/
_______________________________________________
bug-groff mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-groff