$B$$$^$$$G$9!#(B
GNU readline library $B$G$NOC$G$9$,!"(B6 $B7O$N$b$N$r;H$&$H(B TAB
$B%-!<$G$NJd40(B
$B8e$K(B Readline.completion_append_character $B$,%G%U%)%k%H$N(B " "
$B$KLa$C$F$7(B
$B$^$$$^$9!#$7$+$b!"(B" "
$B0J30$K%;%C%H$7$F$b!"Jd40$5$l$?C18l$K$O%G%U%)%k%H(B
$B$N(B " " $B$,IU2C$5$l$^$9!#(B
require “readline”
p RUBY_DESCRIPTION
p Readline::VERSION
p Readline.completion_append_character
Readline.completion_proc = ->(input){[input]}
IO.pipe do |r, w|
Readline.output = (w << “Readline\t”).reopen("/dev/null")
Readline.input = r
Readline.completion_append_character = nil
p Readline.completion_append_character
p Readline.readline
p Readline.completion_append_character
end
Debian GNU/Linux (sid) libreadline-gplv2-dev (5.2-8)
>> “ruby 1.9.3dev (2011-04-29 trunk 31382) [x86_64-linux]”
>> “5.2”
>> " "
>> nil
>> “Readline”
>> nil
Debian GNU/Linux (sid) libreadline6-dev (6.2-1)
>> “ruby 1.9.3dev (2011-04-29 trunk 31382) [x86_64-linux]”
>> “6.2”
>> " "
>> nil (nil $B$K%;%C%H$O=PMh$k$1$I(B)
>> "Readline " ($BKvHx$K%9%Z!<%9$,IU$$$F$7$^$C$F(B)
>> " " ($B%j%;%C%H$5$l$F$7$^$&(B)
changelog
$B$K0J2<$N$h$&$K=q$$$F$"$C$F!"Jd408e$K%j%;%C%H$5$l$k$N$O0U?^E*(B
$B$J$h$&$G$9!#(BRuby $B$N(B readline
$BB&$G2?$H$+$J$i$J$$$b$N$G$7$g$&$+!)(B
This document details the changes between this version, readline-6.0,
and the previous version, readline-5.2.
(snip)
f. Fixed a bug that caused the completion append character to not be
reset to
the default after an application-specified completion function
changed it.