Bug #8029

M-p and M-n don't work in irb

Added by Ramkumar Ramachandra about 1 year ago. Updated about 1 year ago.

[ruby-core:53163]
Status:Rejected
Priority:Normal
Assignee:-
Category:-
Target version:-
ruby -v:ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-linux] Backport:

Description

irb is supposed to use readline and M-a, M-e are bound to beginning-of-line and end-of-line respectively. However, M-p and M-n don't have the same effect as up-arrow and down-arrow. Why is this?

History

#1 Updated by Ramkumar Ramachandra about 1 year ago

Okay, it seems to be a bug in readline, not irb.

#2 Updated by Ramkumar Ramachandra about 1 year ago

I'm sorry, but I seem to have misunderstood the non-incremental-reverse-search-history and non-incremental-forward-search-history functions of readline. I expected it to work like in ZSH (which uses zle, not readline).

#3 Updated by Tomoyuki Chikanaga about 1 year ago

  • Status changed from Open to Rejected

Hello, artagnon.

Thank you for your investigation. I'll close this ticket.

Also available in: Atom PDF