Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the '10.4: Add readline support to Tiger's python' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: Add readline support to Tiger's python
Authored by: juanfal on Jan 12, '07 10:33:24AM
You always can use rlwrap:
Usage: rlwrap [options] command ...

   -a, --always-readline[=password:] 
   -b, --break-chars 
   -c, --complete-filenames
   -C, --command-name 
   -f, --file 
   -h, --help
   -l, --logfile 
   -n, --no-warnings
   -r, --remember
   -v, --version
   -s, --histsize 

bug reports, suggestions, updates:
with any line interpreter.
% port info rlwrap
rlwrap 0.24, sysutils/rlwrap

rlwrap is a 'readline wrapper' that uses the GNU readline library to allow the editing of keyboard input for any other command.

Library Dependencies: readline
Platforms: darwin
: I have defined:
alias irb 'rlwrap irb'
and many similar others, so I can easily edit Ruby code, for example:
% irb
irb(main):001:0> 5.times { p "Hola" }
=> 5

[ Reply to This | # ]