[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
- Is .rd implemented at all?, Dorai Sitaram, 2020/12/15
- Re: Is .rd implemented at all?,
Oliver Corff <=
- Re: Is .rd implemented at all?, Oliver Corff, 2020/12/15
- Re: Is .rd implemented at all?, Dorai Sitaram, 2020/12/15
- Re: Is .rd implemented at all?, Oliver Corff, 2020/12/15
- Re: Is .rd implemented at all?, Dave Kemper, 2020/12/15
- Re: Is .rd implemented at all?, Dorai Sitaram, 2020/12/16
- Re: Is .rd implemented at all?, Dave Kemper, 2020/12/16
- Re: Is .rd implemented at all?, Colin Watson, 2020/12/17
- Re: Is .rd implemented at all?, Oliver Corff, 2020/12/17
- Re: Is .rd implemented at all?, Dorai Sitaram, 2020/12/17