[NTG-pdftex] Re: Patch ShellEscape

Hans Hagen pragma@wxs.nl
Sat, 12 Jul 2003 19:22:06 +0200

```At 15:49 10/07/2003 +0200, Heiko Oberdiek wrote:
>On Thu, Jul 10, 2003 at 02:57:25PM +0200, Martin Schroeder wrote:
>
> > On 2003-07-10 14:35:48 +0200, Martin Schr=F6der wrote:
> > > - New readonly primitive \pdfshellescape which can be used to test if=
the
> >
> > Thinking further (and being reminded by Rolf): Is there a reason
> > why this can _not_ be called \shellescape? It's got nothing to do
> > with pdf (and would be usefull in all web2c-based TeX engines, no
> > matter what they are called).
>
>\write18 is a property of web2c-based TeX engines, so
>\shellescape is the better name and it would be even better,
>if this can be added to the other web2c-based TeX engines, too.

i have problems with the not that name compatible:

\shellescape
\write18

so if a dedicated name would be used, we would either have something:

\shellescape{some command}
\shellescapemode =3D=3D number

or (considering it a channel)

\write18
\ifeof18

Hans

-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | pragma@wxs.nl
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------