On 10/21/2014 06:08 PM, go wrote: >> Where would that data be saved? and compatible with >> any operating system? > > My suggestion applies only to the standalone Jmol program. > In this case the history file can naturally live in Jmol's > install directory, where the Jmol.jar file already resides. > (For the Java applet I don't have a suggestion. > Here even the notion of previous session is unclear.) > It is not that simple. The current user might not have the right to write in the install directory. What about multiple users on the same computer?
>> How to control how much disk space will be available for that storage? >> How to clear it? > > Regarding the size of the history file, it must be limited. > A few thousand lines would suffice as a default, > but the maximum number of lines should be a user-defined parameter. > What happens when the maximum number of lines are exceeded? > Naturally the first and oldest ones are lost gradually. > > A more important decision to make: > - When should we append to the history file? > After execution of each line, after execution of n lines, > at regular time intervals, at the end of the session, etc.? > I think that after each line should be a good first choice, > and then we should just gain experience and see how it goes. > One set of problems here will be caused by multiple instances of Jmol run simultaneously by the same user on the same computer. If you write one line at a time you will get a mixture of different sessions that will not be very helpful. You must also make sure that the instances are writing one after another. And what about command-line usage? We use Jmol.jar for example for producing automatically about 300000 images for all PDB structure by a complex script with about hundred lines of code. I wouldn't want that to be slowed down by writing into a history file for each line (and coordinating to do this from 30 processes in parallel). Regards, Rolf -- Rolf Huehne Postdoc Leibniz Institute for Age Research - Fritz Lipmann Institute (FLI) Beutenbergstrasse 11 07745 Jena, Germany Phone: +49 3641 65 6205 Fax: +49 3641 65 6210 E-Mail: [email protected] Website: http://www.fli-leibniz.de Scientific Director: Prof. Dr. K. Lenhard Rudolph Head of Administration: Dr. Daniele Barthel Chairman of Board of Trustees: Dennys Klein VAT No: DE 153 925 464 Register of Associations: No. 230296, Amtsgericht Jena Tax Number: 162/141/08228 ------------------------------------------------------------------------------ Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://p.sf.net/sfu/Zoho _______________________________________________ Jmol-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users

