=1B$B9bHx$G$9!#=1B(B

> GNU readline library =1B$B$G$NOC$G$9$,!"=1B(B6 =1B$B7O$N$b$N$r;H$&$H=1B(=
B TAB =1B$B%-!<$G$NJd40=1B(B
> =1B$B8e$K=1B(B Readline.completion_append_character =
=1B$B$,%G%U%)%k%H$N=1B(B " " =1B$B$KLa$C$F$7=1B(B
> =1B$B$^$$$^$9!#$7$+$b!"=1B(B" " =
=1B$B0J30$K%;%C%H$7$F$b!"Jd40$5$l$?C18l$K$O%G%U%)%k%H=1B(B
> =1B$B$N=1B(B " " =1B$B$,IU2C$5$l$^$9!#=1B(B
(=1B$B>JN,=1B(B)
> changelog =
=1B$B$K0J2<$N$h$&$K=3Dq$$$F$"$C$F!"Jd408e$K%j%;%C%H$5$l$k$N$O0U?^E*=1B(B
> =1B$B$J$h$&$G$9!#=1B(BRuby =1B$B$N=1B(B readline =
=1B$BB&$G2?$H$+$J$i$J$$$b$N$G$7$g$&$+!)=1B(B

=1B$B>e5-$K4X$7$F3NG'$5$;$F$/$@$5$$!#=1B(B

=
Readline=1B$B$K$D$$$F!"$$$^$$$5$s$+$i=1B(B2=1B$B$D$NAjCL$,$"$C$?$HG'<1$7$F=
$$$^$9!#=1B(B

1)GNU Readline =
6=1B$B$N>l9g$K=1B(BReadline.completion_append_character=1B$B$K=1B(Bnil=1B$=
B$r;XDj$G$-$J$$IT6q9g$,$"$k=1B(B

nil=1B$B$r%;%C%H$7$F$bJd408e$K%9%Z!<%9$,DI2C$5$l$kLdBj$G$9$M!#=1B(B
=1B$B$3$A$i$O860x$rD4::$7$FBP1~$7$?$[$&$,$h$$$H9M$($F$$$^$9!#=1B(B

2)GNU Readline 6=1B$B$N>l9g$G$b=1B(B5=1B$B0JA0$HF1MM$NF0:n$K$7$F$[$7$$=1B(=
B

GNU Readline =
6=1B$B$G$O!"Jd408e$K=1B(BReadline.completion_append_character=1B$B$,%G%U%)=
%k%HCM$X%j%;%C%H$5$l$k$N$G!"=1B(B5=1B$B0JA0$HF1MM$K%j%;%C%H$5$l$J$$$h$&$K$=
7$F$[$7$$$3$H$G4V0c$$$J$$$G$7$g$&$+!#$3$A$i$K$D$$$F$O!";d$O=1B(BGNU =
Readline=1B$B$G$=3D$N$h$&$J5sF0$J$N$G$"$l$P$=3D$l$K=3D>$C$?$[$&$,$h$$$H;W$=
C$F$$$^$9!#=1B(BGNU =
Readline=1B$BK\BN$G$O!"2?$+$7$i$NM}M3$,$"$C$F$=3D$NJ}$,$h$$$H9M$($F=3D$@5$=
7$?$N$G$O$J$$$G$7$g$&$+!#$=3D$N287C$r<u$1$i$l$kJ}$,$h$$$N$G$O$J$$$G$7$g$&$=
+!#$=3D$l$,LdBj$G$"$l$P=1B(BGNU =
Readline=1B$BK\BN$r=3D$@5$7$F$b$i$&J}$,$h$$$H;W$$$^$9!#=1B(B

=1B$B0J>e$G$9!#=1B(B
=1B$B$h$m$7$/$*4j$$$7$^$9!#=1B(B

On 2011/04/29, at 22:37, Nobuhiro IMAI wrote:

> =1B$B$$$^$$$G$9!#=1B(B
>=20
> GNU readline library =1B$B$G$NOC$G$9$,!"=1B(B6 =1B$B7O$N$b$N$r;H$&$H=1B(=
B TAB =1B$B%-!<$G$NJd40=1B(B
> =1B$B8e$K=1B(B Readline.completion_append_character =
=1B$B$,%G%U%)%k%H$N=1B(B " " =1B$B$KLa$C$F$7=1B(B
> =1B$B$^$$$^$9!#$7$+$b!"=1B(B" " =
=1B$B0J30$K%;%C%H$7$F$b!"Jd40$5$l$?C18l$K$O%G%U%)%k%H=1B(B
> =1B$B$N=1B(B " " =1B$B$,IU2C$5$l$^$9!#=1B(B
>=20
>=20
> require "readline"
>=20
> p RUBY_DESCRIPTION
> p Readline::VERSION
> p Readline.completion_append_character
> Readline.completion_proc =3D ->(input){[input]}
> IO.pipe do |r, w|
>  Readline.output =3D (w << "Readline\t").reopen("/dev/null")
>  Readline.input =3D r
>  Readline.completion_append_character =3D nil
>  p Readline.completion_append_character
>  p Readline.readline
>  p Readline.completion_append_character
> end
>=20
> 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
>=20
> 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 =1B$B$K%;%C%H$O=3DPMh$k$1$I=1B(B)
> # >> "Readline " (=1B$BKvHx$K%9%Z!<%9$,IU$$$F$7$^$C$F=1B(B)
> # >> " "         (=1B$B%j%;%C%H$5$l$F$7$^$&=1B(B)
>=20
>=20
> changelog =
=1B$B$K0J2<$N$h$&$K=3Dq$$$F$"$C$F!"Jd408e$K%j%;%C%H$5$l$k$N$O0U?^E*=1B(B
> =1B$B$J$h$&$G$9!#=1B(BRuby =1B$B$N=1B(B readline =
=1B$BB&$G2?$H$+$J$i$J$$$b$N$G$7$g$&$+!)=1B(B
>=20
> 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.
> --
> Nobuhiro IMAI <nov / yo.rim.or.jp>
> Key fingerprint =3D E57F 2482 4074 13BC 3B9A  165B C689 5B16 A620 4657
>=20

---
TAKAO Kouji <kouji / takao7.net>
blog: http://d.hatena.ne.jp/kouji0625/
twitter: takaokouji / projects: ruby, s7-seven