[Pythonmac-SIG] CommandHistoryPatch

Rob Managan managan@llnl.gov
Tue, 19 Oct 1999 08:48:33 -0700


>
>I think in this case we can have our cake and eat it. Mark Hammond's PythonWin
>does more-or-less what you say here: with the arrow keys you can walk to a
>certain line. If you are on any line and you start typing[*] the line is
>copied to the bottom line of the screen (minus any prompts prefixing it),
>along with your cursor and your edits are being done. And, of course, if you
>want to use the mouse in stead of the cursor keys to position the cursor that
>also works.
>
>[*] I think that you have to hit an extra return in PythonWin to do the
>copying, but I don't see a good reason for copying that behaviour.
>--
>Jack Jansen             | ++++ stop the execution of Mumia Abu-Jamal ++++
>Jack.Jansen@oratrix.com | ++++ if you agree copy these lines to your sig ++++

The plotting program Igor does something similar. The up arrow 
selects a line at a time in the command history. Then an Enter copies 
any selection  to the input line. Just another idea on what may work.

*-*-*-*-*-*-*-*-*-*-**-*-*-*-*-*-*-*-*-*-*-
Rob Managan       <mailto://managan@llnl.gov>
LLNL                      ph:  925-423-0903
P.O. Box 808, L-095       FAX: 925-422-3389
Livermore, CA  94551-0808