groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is .rd implemented at all?


From: Oliver Corff
Subject: Re: Is .rd implemented at all?
Date: Tue, 15 Dec 2020 20:17:25 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]