URL: <https://savannah.gnu.org/bugs/?67119>
Summary: (Some) underlined warnings/diagnostics are not
readable when redirected
Group: GNU roff
Submitter: scfcde
Submitted: Tue 13 May 2025 02:05:07 PM GMT
Category: None
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Tue 13 May 2025 02:05:07 PM GMT By: Tim Landscheidt <scfcde>
While reporting a bug, I noticed that on a Konsole terminal "man glFrustum"
with groff 1.23.0/Fedora shows:
⎣right_left 0 A 0⎦
0 top_bottom B 0
0 0 C D
0 0 −1 0
A=right_left
B=top_bottom
C=−far_val_near_val
D=−farrval_near_val
where "right_left", etc. are underlined.
However, "man glFrustum | cat" shows:
⎣__________ 0 A 0⎦
0 __________ B 0
0 0 C D
0 0 −1 0
A=__________
B=__________
C=−________________
D=−________________
I. e., most of the text underlined on a terminal gets replaced with
underscores, but not "A", "B", "C", "D", "⎣" and "⎦".
Analyzing the output with od shows that really only underscores are output (in
contrast to trying-underlining-with-ASCII à la "r^H_i^H_", etc.).
This is not a bug, but it might be preferable to output the non-underscore
version when redirected as well. :-)
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?67119>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
