PS: My version is groff 1.22.3.
Oliver.
On 15/12/2020 20:17, Oliver Corff wrote:
Hi,
for me, it works as described in the info file.
Minimal working example: create a file "myfile.ro" which contains just
one line:
.rd
Say
$ groff myfile.ro > myfile.ps<CR>
As soon as you hit <CR> the terminal will wait for input. Write, e.g.:
This is a line of text.
Hit <CR> twice, as groff needs a blank line to terminate input.
Inspect the resulting file myfile.ps, et voilĂ , it has just one line:
"This is a line of text."
I didn't try whether .rd is disabled by any macro package, in theory,
this is possible, though I do not see a reason why this should be
necessary. groff is famous for not converting your digital estate into a
nanny state.
Oliver.
On 15/12/2020 19:59, Dorai Sitaram via wrote:
groff.texi mentions the request .rd that's supposed to read user
input mid-run, but I can't seem to get it work at all. No prompt,
just quite ignoration.
--d