POV-Ray : Newsgroups : povray.unix : To the Unix gurus ! : Re: To the Unix gurus ! Server Time
28 Jul 2024 10:30:07 EDT (-0400)
  Re: To the Unix gurus !  
From: Steve
Date: 25 Jul 2002 13:24:54
Message: <slrnak0csq.onv.steve@zeropps.org.uk>
On Thu, 25 Jul 2002 09:39:54 +0200, Yann Remond wrote:
> Steve wrote:
>> 
> (...)
>> You don't need to do this, as my example says use tail -f.
> 
> Ok, I just miss it !
> 
> But the file must exist. So either you launch PoV before xterm or you
> use something like "touch some.file.to.be.read".
> 
> This works : this time I try before posting stupids tricks :-)
> 
> Yann

Yes touching the file every time Pyvon is started is a good idea, it'd
be nice to purge the file after it reaches a certain size too - and keep
previous output and let the file grow to a size specified by the user in
the config file, maybe default to something like 1 Meg.  And if the file 
is over 1 Meg when render is pressed then use > rather than >> and maybe 
even copy the old some.file.to.be.read to a backup file. 

-- 
#local i=.1;#local I=(i/i)/i;#local l=(i+i)/i;#local ll=(I/i)/l;box{<-ll,
-((I/I)+l),-ll><ll,-l,ll>pigment{checker scale l}finish{ambient((I/l)/I)+
(l/I)}}sphere{<i-i,l-l,(I/l)>l/l pigment{rgb((I/l)/I)}finish{reflection((
I/l)/I)-(l/I)specular(I/l)/I}}light_source{<I-l,I+I,(I-l)/l>l/l} // Steve


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.