incorrect processing of "--p" in mindterm

Miroslav Luptak mluptak at email.com
Tue May 23 09:20:47 MEST 2006


Hello all,

I think Mindterm is incorrectly processing "--p" option and partially 
incorrectly the autoprops applet parameter. My understanding of "--p" 
switch is:

"--p load" means "Auto Save Settings off" and "Auto Load Settings on"
"--p save" means "Auto Save Settings on" and "Auto Load Settings off"

There are 2 errors related to this:

- regardless whether "--p load" or "--p save" is used, both "Auto 
Save Settings" and "Auto Load Settings" are always set. This is due 
to incorrect setting of autoSaveProps and autoLoadProps for --p in 
Mindterm.java. They should be handled the same way as autoprops for 
the applet. If you look at the code, you will spot it immediatelly

- as a workaround to the above error, I am using "--p none --p save". 
However the meaning of "--p save" and "--p load" is swapped. "--p 
none --p load" sets "Auto Save on", "Auto Load off", while "--p none 
--p save" sets "Auto Save off" and "Auto Load off". In applet mode 
autoprops=save sets "Auto Save off, Auto Load on", while 
autoprops=load sets "Auto Save on, Auto Load off". IMHO it should be 
the other way round.

Best regards,

Miroslav Luptak

-- 
___________________________________________________
Play 100s of games for FREE! http://games.mail.com/



More information about the Mindterm-users mailing list