Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

immediate flush of scrollback buffer to file

Status
Not open for further replies.

gam4939

Technical User
May 9, 2006
2
US
looking for method to force immediate flush of scrollback
buffer to file
"scrollback file "myfile" append" seems to be very sporadic
as to exact time of when data is actually sent to file.

would greatly appreciate any help.
 
I've had similar hassles....
My problem was more that the script OFTEN generated MORE than the scrollbackbuffer holds.

My WORK-AROUND was....

Code:
string My_File = "Filename.txt"	
string Cap_Path = "C:\Program Files\Symantec\Procomm Plus\Capture\"

;capture screen buffer to file
set capture path Cap_Path
set capture file My_File    
set capture overwrite ON

clear  ; start with clean screen

capture on                 ; Open up the capture file.

;<I removed the few lines here relative to my equipment>
;<INSERT BITS OF YOUR SCRIPT THAT GENERATE BUFFER INFO TO CAPTURE>


capture off	;close capture file



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top