Hi,

When I open xdvi using 'buffer-view dvi', and later update the DVI file
using 'buffer-update dvi' and immediately switch to xdvi, I sometime get
the following message in the xdvi window: 
  "DVI file corrupted"
and next time I xdvi gets focus it terminates.

Obviously there's a race condition between latex writing the .dvi file
and xdvi reading it. A similar race condition happens with PostScript
and presumably other formats. Just waiting until latex finishes works,
but...

Perhaps it would be possible to create the file under another name and
rename it when done?

  Regards,
    Eran Tromer

Reply via email to