URL: <https://savannah.gnu.org/bugs/?67532>
Summary: [troff] diverted transparent (but sanitized)
throughput files (`trf` request args) don't work
Group: GNU roff
Submitter: gbranden
Submitted: Thu 18 Sep 2025 04:10:23 AM UTC
Category: Core
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect behaviour
Status: In Progress
Privacy: Public
Assigned to: gbranden
Open/Closed: Open
Discussion Lock: Any
Planned Release: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Thu 18 Sep 2025 04:10:23 AM UTC By: G. Branden Robinson <gbranden>
Observe.
$ cat src/roff/groff/tests/artifacts/throughput-file
# this is a trout/grout comment
$ ~/groff-1.23.0/bin/groff -Z <<EOF
hello
.trf src/roff/groff/tests/artifacts/throughput-file
world
EOF
x T ps
x res 72000 1 1
x init
p1
x font 5 TR
f5
s10000
V12000
H72000
md
DFd
thello
n12000 0
# this is a trout/grout comment
V24000
H72000
tw
H79120
torld
n12000 0
x trailer
V792000
x stop
Now let's see `trf` used in a diversion.
~/groff-1.23.0/bin/groff -Z <<EOF
.box DIV
hello
.trf src/roff/groff/tests/artifacts/throughput-file
world
.br
.box
.DIV
EOF
x T ps
x res 72000 1 1
x init
p1
x font 5 TR
f5
s10000
V12000
H72000
md
DFd
thello
wh2500
t#
wh2500
tthis
wh2500
tis
wh2500
ta
wh2500
ttrout/grout
wh2500
tcomment
wh2500
tw
H227180
torld
n12000 0
x trailer
V792000
x stop
The contents of the file are formatted as text--that's not transparent
throughput at all!
Same result with _groff_ 1.22.4 and 1.22.3. I'm guessing this bug is quite
old.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?67532>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
