Hello Angel,

On 2014-10-20 20:00, Angel Herráez wrote:
> I'm not a programmer, but I'd like to add some comments in this 
> discussion.
> 
> Jmol has a lot of power, but it is not mainly a programming language.
> It is a file reader, parser and viewer with many features.

Yes, Jmol is many-sided.
But one side is a DOMAIN SPECIFIC specific programming language,
with variables, control flow, scripts, etc. there is no doubt about it.

> I dont know if you are aware of this: You can use up-arrow from the
> console to retrieve last-used commands (i.e. those in the history).

Of course, I am using this functionality.
My suggestion came only after some experience.

> 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.)

> 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.

Best regards,
Gabor

------------------------------------------------------------------------------
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

Reply via email to