[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#221793: tetex-bin: xdvi fails on compressed files in read-only directory



On 20.11.03 Julian Gilbey (jdg@polya.uklinux.net) wrote:
> On Thu, Nov 20, 2003 at 08:43:49AM +0100, Hilmar Preusse wrote:
> > On 20.11.03 Chung-chieh Shan (ken@digitas.harvard.edu) wrote:

Hello,

> > > The recent update to xdvi makes it impossible to use xdvi to view a
> > > compressed dvi file in a read-only directory, such as LaTeX package
> > > documentation.
> > > 
> > Well -- don't assume that I'm able to speak perl, but the following
> > works for me[TM]. Apply it to the xdvi perl script.
> 
> > --- xdvi-pl	Wed Oct 29 01:41:02 2003
> > +++ xdvi-pl.new	Thu Nov 20 08:36:09 2003
> > @@ -66,6 +66,7 @@
> >  
> >  	require Fcntl;
> >  	my $fh = tempfile( "tetexXXXXXX",
> > +			   DIR => "/tmp",
> >  			   SUFFIX => ".dvi",
> >  			   UNLINK => 1 )
> 
> That overrides the user's setting of TMPDIR, which is probably not
> desired.
> 
Well, errrm. Was just an idea. Sorry!

H. 
-- 
sigmentation fault



Reply to: