pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: python (2.7) interpreter and readline history?



On Wed, Apr 20, 2016 at 03:18:54PM +0200, Richard Palo wrote:
> Curious, I thought this used to work.
> 
> Under the python2.7 interpreter (I'm using SunOS i386)
> I don't seem to have working readline history (up arrows and the like)
> 
> Native python works fine.
> 
> Tried on mollari with the same result... 
> > -bash-4.3$ python2.7
> > Python 2.7.10 (default, Oct  9 2015, 04:06:18) 
> > [GCC 4.8.4] on netbsd7
> > Type "help", "copyright", "credits" or "license" for more information.
> >>>> ^[[A^[[A^[[A^[[B^[[B^[[B
> 
> ? anybody actually have this working?

You need to install py27-readline.
 Thomas


Home | Main Index | Thread Index | Old Index