Forum: Ruby-core [ruby-trunk - Bug #8029][Open] M-p and M-n don't work in irb

Posted by artagnon (Ramkumar Ramachandra) (Guest)
on 2013-03-06 09:39
(Received via mailing list)
Issue #8029 has been reported by artagnon (Ramkumar Ramachandra).

----------------------------------------
Bug #8029: M-p and M-n don't work in irb
https://bugs.ruby-lang.org/issues/8029

Author: artagnon (Ramkumar Ramachandra)
Status: Open
Priority: Normal
Assignee:
Category:
Target version:
ruby -v: ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-linux]


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?
Posted by artagnon (Ramkumar Ramachandra) (Guest)
on 2013-03-06 09:51
(Received via mailing list)
Issue #8029 has been updated by artagnon (Ramkumar Ramachandra).


Okay, it seems to be a bug in readline, not irb.
----------------------------------------
Bug #8029: M-p and M-n don't work in irb
https://bugs.ruby-lang.org/issues/8029#change-37325

Author: artagnon (Ramkumar Ramachandra)
Status: Open
Priority: Normal
Assignee:
Category:
Target version:
ruby -v: ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-linux]


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?
Posted by artagnon (Ramkumar Ramachandra) (Guest)
on 2013-03-06 11:36
(Received via mailing list)
Issue #8029 has been updated by artagnon (Ramkumar Ramachandra).


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).
----------------------------------------
Bug #8029: M-p and M-n don't work in irb
https://bugs.ruby-lang.org/issues/8029#change-37327

Author: artagnon (Ramkumar Ramachandra)
Status: Open
Priority: Normal
Assignee:
Category:
Target version:
ruby -v: ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-linux]


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?
Posted by nagachika (Tomoyuki Chikanaga) (Guest)
on 2013-03-06 15:09
(Received via mailing list)
Issue #8029 has been updated by nagachika (Tomoyuki Chikanaga).

Status changed from Open to Rejected

Hello, artagnon.

Thank you for your investigation. I'll close this ticket.
----------------------------------------
Bug #8029: M-p and M-n don't work in irb
https://bugs.ruby-lang.org/issues/8029#change-37330

Author: artagnon (Ramkumar Ramachandra)
Status: Rejected
Priority: Normal
Assignee:
Category:
Target version:
ruby -v: ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-linux]


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?
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.