Project

General

Profile

Bug #8029

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

Added by Ramkumar Ramachandra almost 3 years ago. Updated almost 3 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
ruby -v:
ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-linux]
Backport:
2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN
[ruby-core:53163]

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 [ruby-core:53164] Updated by Ramkumar Ramachandra almost 3 years ago

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

#2 [ruby-core:53166] Updated by Ramkumar Ramachandra almost 3 years 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 [ruby-core:53169] Updated by Tomoyuki Chikanaga almost 3 years ago

  • Status changed from Open to Rejected

Hello, artagnon.

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

Also available in: Atom PDF