Project

General

Profile

Actions

Bug #8029

closed

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

Added by artagnon (Ramkumar Ramachandra) about 11 years ago. Updated about 11 years ago.

Status:
Rejected
Assignee:
-
Target version:
-
ruby -v:
ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-linux]
Backport:
[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?

Updated by artagnon (Ramkumar Ramachandra) about 11 years ago

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

Updated by artagnon (Ramkumar Ramachandra) about 11 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).

Updated by nagachika (Tomoyuki Chikanaga) about 11 years ago

  • Status changed from Open to Rejected

Hello, artagnon.

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

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0