Re: getting up arrow in terminal to scroll thought history of python commands

2010-06-14 Thread Irmen de Jong
On 14-6-2010 15:09, Vincent Davis wrote: Anyway, make sure readline is installed, and then recompile Python. So I should run ./configure make install again? Will this overwrite other py packages I have installed? Vincent Often there is no need to run the configure script again if you're just

Re: getting up arrow in terminal to scroll thought history of python commands

2010-06-14 Thread Thomas Jollans
>>> Anyway, make sure readline is installed, and then recompile Python. >> >> So I should run >> ./configure >> make install >> again? >> Will this overwrite other py packages I have installed? >> >> Vincent >> > > That should be > ./configure > make > make install > > You missed a rather importan

Re: getting up arrow in terminal to scroll thought history of python commands

2010-06-14 Thread Thomas Jollans
On 06/14/2010 03:09 PM, Vincent Davis wrote: > On Mon, Jun 14, 2010 at 6:49 AM, Thomas Jollans wrote: >> On 06/14/2010 02:37 PM, Vincent Davis wrote: >>> On Sun, Jun 13, 2010 at 6:24 PM, Irmen de Jong >>> wrote: On 14-6-2010 1:19, Vincent Davis wrote: > > I just installed 2.6 and 3.

Re: getting up arrow in terminal to scroll thought history of python commands

2010-06-14 Thread Benjamin Kaplan
On Mon, Jun 14, 2010 at 6:09 AM, Vincent Davis wrote: > On Mon, Jun 14, 2010 at 6:49 AM, Thomas Jollans wrote: >> On 06/14/2010 02:37 PM, Vincent Davis wrote: >>> On Sun, Jun 13, 2010 at 6:24 PM, Irmen de Jong >>> wrote: On 14-6-2010 1:19, Vincent Davis wrote: > > I just installed

Re: getting up arrow in terminal to scroll thought history of python commands

2010-06-14 Thread Vincent Davis
On Mon, Jun 14, 2010 at 6:49 AM, Thomas Jollans wrote: > On 06/14/2010 02:37 PM, Vincent Davis wrote: >> On Sun, Jun 13, 2010 at 6:24 PM, Irmen de Jong >> wrote: >>> On 14-6-2010 1:19, Vincent Davis wrote: I just installed 2.6 and 3.1 from current maintenance source on Mac OSx. Wh

Re: getting up arrow in terminal to scroll thought history of python commands

2010-06-14 Thread Thomas Jollans
On 06/14/2010 02:37 PM, Vincent Davis wrote: > On Sun, Jun 13, 2010 at 6:24 PM, Irmen de Jong > wrote: >> On 14-6-2010 1:19, Vincent Davis wrote: >>> >>> I just installed 2.6 and 3.1 from current maintenance source on Mac >>> OSx. When I am running as an interactive terminal session the up arrow

Re: getting up arrow in terminal to scroll thought history of python commands

2010-06-14 Thread Vincent Davis
On Sun, Jun 13, 2010 at 6:24 PM, Irmen de Jong wrote: > On 14-6-2010 1:19, Vincent Davis wrote: >> >> I just installed 2.6 and 3.1 from current maintenance source on Mac >> OSx. When I am running as an interactive terminal session the up arrow >> does not scroll thought the history of the py comma

Re: getting up arrow in terminal to scroll thought history of python commands

2010-06-13 Thread Gerry Reno
sounds like your keymapping got messed with.you could just:set -o vipythonESC, Ctrl-jand now ESC-k and ESC-j will take you back and forth in history (std vi editing)-GerryJun 13, 2010 07:22:40 PM, vinc...@vincentdavis.net wrote:I just installed 2.6 and 3.1 from current maintenance source on MacOSx

Re: getting up arrow in terminal to scroll thought history of python commands

2010-06-13 Thread Irmen de Jong
On 14-6-2010 1:19, Vincent Davis wrote: I just installed 2.6 and 3.1 from current maintenance source on Mac OSx. When I am running as an interactive terminal session the up arrow does not scroll thought the history of the py commands I have entered I just get ^[[A. When I install from a compiled

Re: getting up arrow in terminal to scroll thought history of python commands

2010-06-13 Thread Sean DiZazzo
On Jun 13, 4:39 pm, Vincent Davis wrote: > On Sun, Jun 13, 2010 at 5:28 PM, Gerry Reno wrote: > > sounds like your keymapping got messed with. > > > you could just: > > set -o vi > > python > > ESC, Ctrl-j > > and now ESC-k and ESC-j will take you back and forth in history (std vi > > editing) >

Re: Re: getting up arrow in terminal to scroll thought history of python commands

2010-06-13 Thread Gerry Reno
These command just allow you to use 'vi editing mode' within python.  If you've ever navigated a file with vi to go up and down the document you'll immediately know how it works.-GerryJun 13, 2010 07:39:35 PM, vinc...@vincentdavis.net wrote:On Sun, Jun 13, 2010 at 5:28 PM, Gerry Reno wrote:> soun

Re: getting up arrow in terminal to scroll thought history of python commands

2010-06-13 Thread Vincent Davis
On Sun, Jun 13, 2010 at 5:28 PM, Gerry Reno wrote: > sounds like your keymapping got messed with. > > you could just: > set -o vi > python > ESC, Ctrl-j > and now ESC-k and ESC-j will take you back and forth in history (std vi > editing) This is done within python? Let make sure I am clear. This