Bug#279042: Bug#273789: tetex-base: fmtutil.cnf not found
On 08.11.04 Frank Küster (frank@debian.org) wrote:
> Thomas Heimroth <theimrot@gmx.de> schrieb:
Hello *!
> >> Does an strace over the xdvi.bin binary tell you more?
>
> strace is a program that records ("traces") all the calls to system
> functions, all file openings etc. that a command initiates, and writes
> them to stderr, or to a file. Writing to a file is usually much
> better. You would therefore use
>
> strace -o xdvi.trace xdvi $irgendeine-dvi-Datei.dvi
>
> (or simply
>
> strace -o xdvi.trace xdvi
>
I wouldn't do it that way. There is the shell program, which sets
some ENV variables IIRC. I think it's a better idea to copy
/usr/bin/xdvi into the home dir, edit it appropriatly and then call
it typing "./xdvi filename".
The first means replace line 75 by
exec strace -o xdvi.trace xdvi.bin $NAMEOPT $args "$filename" || exit 1
and line 77 by
exec strace -o xdvi.trace xdvi.bin $NAMEOPT $args || exit 1
H.
--
Tact, n.:
The unsaid part of what you're thinking.
Reply to: