Project

General

Profile

Feature #14918

Use Reline for fallback of ext/readline

Added by aycabta (aycabta .) over 1 year ago. Updated 7 months ago.

Status:
Closed
Priority:
Normal
Target version:
-
[ruby-core:87973]

Description

Ruby loses readline standard library when the system doesn't have libreadline during Ruby installation, At https://bugs.ruby-lang.org/issues/11084, hsbt (Hiroshi SHIBATA) proposed pure Ruby implementation. But I think that rb-readline is not good for Ruby standard library and I described it at http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/86213. The important reason for it personally is that rb-readline doesn't have vi mode.

So I'm implementing Reline for a new standard library as GNU Readline and existing ext/readline compatible. I can maintain it.
https://github.com/aycabta/reline

I don't think that Reline should replace ext/readline fully, it's just for fallback. But it's important for Ruby.

Associated revisions

Revision 67645
Added by aycabta (aycabta .) 7 months ago

IRB is improved with Reline and RDoc

Reline is a readline stdlib compatible library. It also supports
multiline input. IRB is improved with Reline and supports multiline.
Besides, supports showing documents when completed.

History

#1

Updated by aycabta (aycabta .) over 1 year ago

  • Backport deleted (2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN)
  • Tracker changed from Bug to Feature

Updated by naruse (Yui NARUSE) 7 months ago

  • Assignee set to aycabta (aycabta .)
  • Status changed from Open to Closed

r67645 introduces this feature.

Also available in: Atom PDF