Thanks a lot for this fix ! It should be easy to fix it in the sources,
too.

However there are still some problems. It seems that postscript specials are 
not executed. I keep having error messages like this one:

Warning: Sys_error("Bad file descriptor")
Warning: GS Terminated

and the postscript decoration of my background is not displayed at all.

Le Wednesday 14 November 2007 13:36:17 vpadawan, vous avez écrit :
> I had exactly the same problem using advi with whizzytex. It seems to
> come from a faulty call to gs: when advi freezes, the gs entry in the
> process list looks like this :
>
> ...  /usr/bin/gs -dNOPLATFONTS -dNOPAUSE -sDEVICE=x11 -q -dDELAYSAFER -
>
> As you can see, there's an extra minus sign at the end of the command,
> probably coming from an incorrectly erased option in the source code. I
> didn't want to debug or recompile advi, so I used this dirty little trick
> instead : - install an hex editor such as ghex
> - just in case, make a copy of /usr/bin/advi
> - edit the binary file advi.
> - look for an occurrence of DELAYSAFER, followed by an occurrence of a
> minus sign. In advi 1.6.0-12 (ubuntu 7.10), I found this occurrence near
> 0x001610b7 :
>
> 001610b7 : .-dNOPLATFONTS...
> 001610c8 : ....-dNOPAUSE....
> 001610d9 : ...-q......-dDELA
> 001610ea : YSAFER........-..
>
> The minus sign is at 0x1610f8, with an hex value of 0x2d. I replaced
> this value with 0x20 (space).

-- 
active dvi freezes when viewing a dvi file with embedded eps image
https://bugs.launchpad.net/bugs/156642
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to