comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » close journal file read-only
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: close journal file read-only [message #79201 is a reply to message #79112] Fri, 03 February 2012 01:04 Go to previous messageGo to previous message
bstecklu is currently offline  bstecklu
Messages: 14
Registered: February 2012
Junior Member
David Fanning wrote:
> Heinz Stege writes:
>
>> My experience with an exit-replacement was, that it is hard to change
>> one's habit of typing "exit" to finish the session. I bet, you will
>> type "exit" instead of "myexit" several times...
>
> Yes, the Useability Index score might go up if you
> just choose a good filename to begin with:
>
> Journal, 'j'+ timestamp() + '.log'
>
> Then you could batch process all your log files to
> read-only status any time you thought it might be
> a good idea.
>
> Cheers,
>
> David
>
I am using this filename scheme anyway. I agree that changing the habit from
"exit" to "myexit" might not be that easy. Another possibility is to wrap the
IDL command with a bash script that changes the logfile to read-only after the
session was closed. This would also work if IDL crashed or was killed.

cheers, Bringfried
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: ANOVA statistical analysis with IDL
Next Topic: Re: Read data as array structure

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 12:42:29 PDT 2025

Total time taken to generate the page: 0.58117 seconds