readline: edit-and-execute-command

J

josh

anybody know why "edit-and-execute-command" doesn't work in python's readline?
it doesn't even show up in a dump of readline functions:

$ cat fc_test
C-p: dump-functions
C-e: edit-and-execute-command
$
$ python
Python 2.4 (#1, Jan 14 2005, 14:29:23)
[GCC 3.3.3 20040412 (Red Hat Linux 3.3.3-7)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
--- import readline
--- readline.read_init_file('fc_test')

if you hit control p, and you won't see 'edit-and-execute-command'
listed at all, though you will when you run "INPUTRC=fc_test bash"

thanks in advance
 
M

Michael Hoffman

josh said:
anybody know why "edit-and-execute-command" doesn't work in python's readline?
it doesn't even show up in a dump of readline functions:

Is that a standard readline command? It's not in my readline(3). It
might just be added for bash.

That said, this would be very useful. You should submit an RFE on the
Sourceforge tracker.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,204
Messages
2,571,066
Members
47,672
Latest member
svaraho

Latest Threads

Top