[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #55299] "groff -v -e -s -t" produces garbled output on MS-Windows
From: |
Eli Zaretskii |
Subject: |
[bug #55299] "groff -v -e -s -t" produces garbled output on MS-Windows |
Date: |
Thu, 27 Dec 2018 12:15:46 -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/?55299>
Summary: "groff -v -e -s -t" produces garbled output on
MS-Windows
Project: GNU troff
Submitted by: eliz
Submitted on: Thu 27 Dec 2018 07:15:44 PM IST
Category: Core
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release: None
_______________________________________________________
Details:
Invoking "groff -v" with several preprocessor switches produces garbled output
on MS-Windows, like this:
d:\usr>groff --version
GNU groff version 1.22.4
Copyright (C) 2018 Free Software Foundation, Inc.
GNU groff comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of groff and its subprograms
under the terms of the GNU General Public License.
For more information about these matters, see the file
named COPYING.
called subprograms:
GNU troff (grGofNf) Uv egrrsoitotny 1(.g2r2o.f4f
) version 1.22.4
This happens because all the subprograms are launched almost simultaneously,
and the text they emit is mixed into one illegible mess. (I'm not sure the
same problem doesn't happen on Unix.)
To fix this, I propose the attached patch, which runs the subprograms
sequentially in this specific case, as there's no pipe to run anyway. While
at that, the patch also avoids breaking the loop if one of the preprocessors
fails to run, e.g. if it is not installed; this makes the behavior more
similar to what I see on Unix.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Thu 27 Dec 2018 07:15:44 PM IST Name: groff-pipe.patch Size: 1KiB
By: eliz
<http://savannah.gnu.org/bugs/download.php?file_id=45749>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?55299>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #55299] "groff -v -e -s -t" produces garbled output on MS-Windows,
Eli Zaretskii <=