Project

General

Profile

Actions

Bug #1908

closed

readline ignores inputrc

Added by dmw (David Whetstone) over 14 years ago. Updated almost 13 years ago.

Status:
Rejected
Target version:
-
ruby -v:
ruby 1.9.2dev (2009-08-07 trunk 24440) [i386-darwin9.7.0]
Backport:
[ruby-core:24813]

Description

=begin
Applications using readline library should automatically load either ~/.inputrc or /etc/inputrc, per the GNU Readline docs. This doesn't appear to be working Ruby's readline library.

To reproduce:

  1. create ~/.inputrc with:
    set editing-mode vi
  2. run ruby app using readline (irb, for example)
  3. verify that vi commands do not work.
    =end
Actions #1

Updated by drbrain (Eric Hodel) over 14 years ago

=begin
OS X uses editline with the readline compatibility layer, not GNU readline.

Unless you explicitly linked against GNU libreadline, ~/.inputrc will not be read.
=end

Actions #2

Updated by drbrain (Eric Hodel) over 14 years ago

=begin
Setting ~/.editrc to:

bind -v

Allows vi command line bindings to work on OS X
=end

Actions #3

Updated by naruse (Yui NARUSE) over 14 years ago

  • Status changed from Open to Assigned
  • Assignee set to kouji (Kouji Takao)

=begin

=end

Actions #4

Updated by yugui (Yuki Sonoda) over 14 years ago

  • Status changed from Assigned to Rejected

=begin

=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0