[Date Prev] [Date Next] [Thread Prev] [Thread Next] Date Index Thread Index Search archive:
Date:Mon Nov 27 19:03:39 2003 
Subject:using record and file in windows poplog - can you force a write? 
From:david 
Volume-ID:1031127.02 

hi there,

I'm running Poplog under Windows98 just now (after umpteen years
running it under Unix), and am hitting an exasperation or two in
relation to how it writes things - or rather, the way it delays in
writing things!

specifically the problem arises with two commands, record and file:

if I say "record in myfile", say, that's fine ... except that it
doesn't seem to ACTUALLY record anything in the file until I say
"endrecord" - as if it's saving it all up in some ever-increasing
buffer, then spewing it out ... this is particularly irritating,
as I'm trying to run a program that looks likely to take days/weeks/
maybe even months to complete ... and if my machine crashes (for any
reason), I lose everything, nothing ever makes it into the log, and I
lose any potential useful interim results.

similarly, if I do a "file in myfile" command within a running program,
it seems to do nothing whatever about it till the program ends - so
once again, if the system crashes, I lose all that data too!

so I'm really just hoping there's some tweak one can do to get Poplog
to actually write something when I tell it to, and not when it takes
its fancy! <grin> ... I tried guddling around with flush_buffer etc.,
but that's all Unix-oriented, and seems not to take effect under Windows.

... help!

p.s. ... ah, Unix, where art thou?


-- 
---------------------------------------------------------------------
David A Stevenson                  Email:      david@cad.strath.ac.uk
Teaching Assistant   Rm: JW 5.03E    URL: http://www.cad.strath.ac.uk
---------------------------------------------------------------------
Post: DMEM, University of Strathclyde,
      75 Montrose Street, Glasgow G1 1XJ, UK
Tel : (+44) (0)141-552-4400 x2177          Fax: (+44) (0)141-552-7986
      (+44) (0)141-548-2177 (Direct)
---------------------------------------------------------------------