[Boa Constr] Shell enhancements
Status: Beta
Brought to you by:
riaan
From: Patrick K. O'B. <po...@or...> - 2001-06-11 18:49:21
|
When I am in the shell, how do I reexecute a previous command? In other shells you can go to a previous line and hit return and that line gets copied down to the lowest prompt, then you can hit return again and it is executed. I'm rather in the habit of doing this while experimenting with things interactively. Is there a way to get the same behavior with boa? In addition, IDLE has Alt-p and Alt-n to retrieve commands and Alt-/ to expand words. PythonWin shares some of these same conventions. While it doesn't have Alt-p or Alt-n it does allow you to hit return on previous lines and do Alt-/ to expand words. >From the IDLE help file: Python Shell window: ^C interrupts executing command ^D sends end-of-file; closes window if typed at >>> prompt Command history: Alt-p retrieves previous command matching what you have typed Alt-n retrieves next Return while on any previous command retrieves that command Alt-/ (Expand word) is also useful here --- --- Patrick K. O'Brien Orbtech "I am, therefore I think." |