[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] [off] micro-typography
From: |
Ted Harding |
Subject: |
Re: [Groff] [off] micro-typography |
Date: |
Wed, 13 Feb 2002 11:45:34 -0000 (GMT) |
On 13-Feb-02 Colin Watson wrote:
> On Wed, Feb 13, 2002 at 11:06:31AM +0100, Thomas Baruchel wrote:
>> Scheme suits this purpose very well, because unlike other languages,
>> Scheme can wait for scheme code and execute it in its own environment
>> (you can't do that in all languages; for instance, a C program can't
>> execute a C code it receives through a socket); I don't know if
>> perl/python can do it?
>
> Perl certainly can (eval), and I believe Python can too. You also don't
> have to worry about whether the co-language can handle sockets; just
> connect its stdin and stdout to the pipe/socket to troff.
On this general question: Is there any problem with getting
groff simply to open a pair of named pipes using 'mkfifo',
reading from one, writing to the other, and invoking the
user's favorite program to write to and read fromthe other ends
of the pipes?
Then standard troff/groff requests should be able to do
the communication. However, for the sort of work that we
are thinking of getting done on the external program,
there has to be, I think, better access to groff "internals".
Ted.
--------------------------------------------------------------------
E-Mail: (Ted Harding) <address@hidden>
Fax-to-email: +44 (0)870 167 1972
Date: 13-Feb-02 Time: 11:45:34
------------------------------ XFMail ------------------------------
- RE: [Groff] [off] micro-typography, (continued)
- Re: [Groff] [off] micro-typography, Larry Kollar, 2002/02/15
- Re: [Groff] [off] micro-typography, Bernd Warken, 2002/02/15
- Re: [Groff] [off] micro-typography, ralph, 2002/02/15
- RE: [Groff] [off] micro-typography, P. Alejandro Lopez-Valencia, 2002/02/15
- Re: [Groff] [off] micro-typography, Thomas Baruchel, 2002/02/16
- RE: [Groff] [off] micro-typography, Sigfrid Lundberg, NetLab, 2002/02/18
- Re: [Groff] [off] micro-typography, Thomas Baruchel, 2002/02/13
- Re: [Groff] [off] micro-typography,
Ted Harding <=
- Re: [Groff] [off] micro-typography, ralph, 2002/02/13
- Re: [Groff] [off] micro-typography, Werner LEMBERG, 2002/02/08
Re: [Groff] [off] micro-typography, Werner LEMBERG, 2002/02/02
RE: [Groff] [off] micro-typography, Ted Harding, 2002/02/02
Re: [Groff] [off] micro-typography, Ted Harding, 2002/02/03