> From [EMAIL PROTECTED] Fri Nov 16 07:53:33 2001
> Date: Fri, 16 Nov 2001 10:53:31 -0500 (EST)
> From: J Scott Berg <[EMAIL PROTECTED]>
> To: Patrick Powell <[EMAIL PROTECTED]>
> Subject: Re: Another way to fix the gs problem
>
> On Fri, 16 Nov 2001, Patrick Powell wrote:
>
> > > From [EMAIL PROTECTED] Wed Nov 14 08:09:21 2001
> > > Date: Wed, 14 Nov 2001 11:09:18 -0500 (EST)
> > > From: J Scott Berg <[EMAIL PROTECTED]>
> > >
> > >   I found that simply replacing the gs_init.ps file as you suggested
> > > breaks a few things, ps2pdf being the most obvious.  While one could
> > > individually fix these cases, another suggestion might be to sed the
> > > appropriate lines into the users existing gs_init.ps and store it in
> > > ${prefix}/share/ifhp/gs or something like that, then in ifhp.conf, put
> > > a -I${prefix}/share/ifhp/gs into the gs_converter command line.
> >
> > This only breaks things if you are running 'ps2pdf' with the -DSAFER flag.
>
> This is what the ps2pdf script does by default, at least in 7.03 which
> is what I'm running at the moment.  gv also has that in its default
> configuration, and you can get crashes with anything trying to write
> to stdout, for instance (Windows PostScript being the most common
> culprit).
>
> -- 
> J. Scott Berg                           Email: [EMAIL PROTECTED]
> BROOKHAVEN NATIONAL LABORATORY          Phone: (631) 344-3553
> BUILDING 901A                           FAX:   (631) 344-3248
> PO BOX 5000                             http://pubweb.bnl.gov/people/jsberg/
> UPTON NY  11973-5000                    PGP key available from web page
>
>

Hmm... I just tried this with ps2pdf and GhostScript 7.0 and I did not
have this problem...

Also:
  ps2pdf <input >output
You do not have this problem...

I suggest modifying the ps2pdf script so that it uses redirection
and then see if you have the same problem.

At the 2001 Open Source Printing Conference I discussed this issue
with some of the GhostScript support team.  There were two possible
solutions:

a)  Add a 'PARANOID' option which suppressed any file opens at all
    This would allow all the old 'SAFER' options to be used and
    would not break 'ps2pdf'.

b)  When SAFER is set, allow files to be opened only in a set of 'safe' directories.
    The latter would allow the use of the file open to be used to read
    font and other configuration files.

Doing both would probably be good idea.

Patrick Powell                 Astart Technologies,
[EMAIL PROTECTED]            9475 Chesapeake Drive, Suite D,
Network and System             San Diego, CA 92123
  Consulting                   858-874-6543 FAX 858-279-8424 
LPRng - Print Spooler (http://www.lprng.com)

-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address

If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body.  For the impatient,
to subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED]
with:                           | example:
subscribe LIST <mailaddr>       |  subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr>     |  unsubscribe lprng [EMAIL PROTECTED]

If you have major problems,  send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------

Reply via email to