By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,660 Members | 1,100 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,660 IT Pros & Developers. It's quick & easy.

readline: edit-and-execute-command

P: n/a
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

Jul 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
josh wrote:
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.
--
Michael Hoffman
Jul 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.