Technical Background of Interactive CLI of Ruby 2.7
summary
Reline is a pure Ruby GNU Readline replacement that lands in Ruby 2.7 when system Readline is absent and powers a new multiline IRB, implemented as three layers: select(2)/kbhit getwch keyboard input layer, Emacs and Vi line‑editing bindings ported from GNU Readline, and string construction by environment encoding handling grapheme clusters not just codepoints. Reline is released to rubygems (reline 0.0.6) and IRB 1.1.0 ships but early releases contain Unicode and editing bugs that are actively fixed.
AI-written summary · about
chapters (8)
- 0:00Start
- 0:14Let me introduce myself
- 0:36Company: Space Pirates, LLC.
- 1:14Hobby: Climbing
- 3:22My Adventure In Ruby
- 7:04The History of Terminal
- 19:03GNU Readline Compatible Features
- 24:05118n Support
related talks
30mExploring Reline: Enhancing Command Line Usability
35mThe New Design of Ruby's Documentation
36mTerminal With Your Life
46mXiki: the Rubyfied Next-Generation Shell
44mIrb 20th anniversary memorial session: Reish and Irb2
41mIt's Time for a Ruby Editor
32mUsage and implementation of Reish which is an Unix shell for Rubyist
39mIDE development with Ruby
