Re: Xdvi: shell-command specials don't work.

2000-05-16 Thread Tomas G. Rokicki
I think that, it may actually be possible to support them if they fit some really simple grammar of how they are used, or else automatic conversion . . . that is, config.ps could say something like allow command jpg2eps %f - where %f means file name with no shell metacharacters or spaces or some

Re: Xdvi: shell-command specials don't work.

2000-05-16 Thread Fabrice Popineau
* Tomas G Rokicki <[EMAIL PROTECTED]> writes: > In general, it may be time to pull all those shell escapes from the > dviware, including dvips . . . I haven't heard of anyone abusing > them, but they are a danger. I wonder how many people do use them, but they are such a convenient way to includ

Re: Xdvi: shell-command specials don't work.

2000-05-16 Thread Keith Refson
Tomas G. Rokicki writes: > > What we really want is something like the standard mime content handlers. Agreed -- this would be a good step. But I would be opposed to removing the shell-command functionality before a good replacement is in place. The ability to convert gif and other images on

Re: Xdvi: shell-command specials don't work.

2000-05-16 Thread Tomas G. Rokicki
In general, it may be time to pull all those shell escapes from the dviware, including dvips . . . I haven't heard of anyone abusing them, but they are a danger. tom

Xdvi: shell-command specials don't work.

2000-05-16 Thread Keith Refson
Oops, there was a bug in my patch! Here's the correct one: metropolis% diff -c hypertex.c{,~} *** hypertex.c Tue May 16 13:36:30 2000 --- hypertex.c~ Tue Jun 15 00:09:05 1999 *** *** 880,887 const char *href; { /* Why reinvent the wheel? Use libwww routines! */ -

Xdvi: shell-command specials don't work.

2000-05-16 Thread Keith Refson
There is a bug in xdvik versions 22.05d-k 22.15 and probably more, which mistakenly takes a PSfile special for a WWW URL and then fails to parse it. This may be trivially demonstrated by a LaTeX document containing, eg \DeclareGraphicsRule{.gif}{eps}{.gif.bb}{`convert #1 eps:-} . . . \includeg