develooper Front page | perl.vmsperl | Postings from June 2002

RE: TYPE/CONT in Perl

Thread Previous | Thread Next
From:
Dan Sugalski
Date:
June 10, 2002 15:07
Subject:
RE: TYPE/CONT in Perl
Message ID:
a05111b20b92ad321f99c@[63.120.19.221]
At 4:59 PM -0500 6/10/02, Craig A. Berry wrote:
>At 05:38 PM 6/10/2002 -0400, Dan Sugalski wrote:
>
>>I also have some nagging memory that RMS caches filesize on open, 
>>and it's rather tough to get it to re-evaluate how big the file is 
>>without closing and reopening the file.
>
>Hopefully "shr=put" would be enough to make it aware that other processes
>might be extending the file, but I haven't tested that.

Hopefully, but one never knows. Also depends on the mode the original 
program has the file open in--if you have to play all sorts of "No, I 
really don't mind if I get an inconsistent view of the file" games, I 
don't know if that'd be sufficient.

>  >FWIW, playing around with some of the VMS hidden commands (which 
>I've forgotten about--it's been too long) to see what system calls 
>are being made when you type/cont would give you an idea of how 
>type's doing it.
>
>
>SET WATCH FILE can show you more about the bowels of the XQP than you really
>wanted to know.

That would be the one! Thanks.
-- 
                                         Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
dan@sidhe.org                         have teddy bears and even
                                       teddy bears get drunk

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About