Re: 1.1.6fix3 pictures no longer display ( eps ghostscript preview )

2001-11-21 Thread Morten S. Nielsen

On 21-11-2001 at 13:45, Kornel Benko wrote:
> 
> > On my system lyx 1.1.6-fix3 works with Ghostscript 6.51 when setting
> > \ps_command to "/usr/bin/gs "
> > in lyxrc.defaults or equivalent
> 
> No help here with this configuration.
> 

The execvp + " " also seemed to bet ustable on my system, so I guess the 
workaround is to have a separate gs5.50 installation and then setting the gs
interpreter for lyx to be gs5.50. 

Morten

-- 
- The Penguin's  1. We are better together than alone
- Postulate  2. If you push something hard enough it will fall over
- Morten S. Nielsen  Dept. of Manuf. Engineering and Management
- mailto:[EMAIL PROTECTED]  Building 425, 2. floor, DK-2800 Lyngby



Re: 1.1.6fix3 pictures no longer display ( eps ghostscript preview )

2001-11-07 Thread Morten S. Nielsen


On Mon, 24 Sep 2001 07:25:08 -0700 john wrote:

> well as someone said that doesn't work for everyone.
>
> If I could reproduce the problem I could debug it :(
>
> john

Sorry if this is a bit outdated, but this bug still seems to exist.

In figinset.C there seems to be a problem with execlp if one uses 
ghostscript 6.51 + 

The gs process starts but never exits. Why I don't know. One can go 
into /proc and see the commandline arguments, but this doesn't explain
where it hangs. If you're curious I could try to strace gs. But for now
I'll just report the workaround.

If using ghostscript 5.50 it always works fine. 

On my system lyx 1.1.6-fix3 works with Ghostscript 6.51 when setting  
\ps_command to "/usr/bin/gs "
in lyxrc.defaults or equivalent

It's the first argument to execlp which must end with a space (works
also when setting the first string to " ") 

Morten

Ps: the xhost trick didn't do it for me and I'm not on the lyx list.

-- 
- The Penguin's  1. We are better together than alone
-     Postulate  2. If you push something hard enough it will fall over
- Morten S. Nielsen  Dept. of Manuf. Engineering and Management
- mailto:[EMAIL PROTECTED]  Building 425, 2. floor, DK-2800 Lyngby