-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Monday 25 October 2004 13:31, Ren� Kanters wrote: > I was surprised that the command history in the script window rolls > around, i.e., once you get to the first command it starts at the last > or vice versa. I am not used to that happening in my shell, so that > surprised me. > > A side-effect is that if you start scrolling up or down, you can never > get to an empty command anymore unless you delete the echoed history > command...
I checked the code, and I think the idea *was* to include "" as a command in the history (pos=0 was reserved for that...) But in practice the pos did not scroll around the size, so reaching 0 was difficult... I've fixed this. Please check CVS and see if you still dislike the feature... > I noticed that Egon (in CommandHistory.java) has some specific > calculations set up (lines 95-103) where this is done, so it was a very > deliberate choice at that point in time. The rolling around is intended. > Is this something we may want to reconsider? Since the bug in the code was fixed, I think we can leave the feature in as is... Egon - -- [EMAIL PROTECTED] - --------------------------------------- CDK: http://cdk.sf.net/ JChemPaint: http://jchempaint.sf.net/ Jmol: http://www.jmol.org/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (SunOS) iD8DBQFBflCFd9R8I9Yza6YRAlwxAJ9IP2CPkSeEExJI+IjdcDlFsxb3tQCgkZKz kj3Svwk8dv9KwrQaPGJJrps= =XDkF -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Jmol-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jmol-developers
