前田です。

ごめんなさい、Readline::HISTORYでバグがありました。
パッチです。

-- 
前田 修吾

diff -u /home/shugo/src/ruby-1.1a2/ext/readline/readline.c.orig /home/shugo/src/ruby-1.1a2/ext/readline/readline.c --- /home/shugo/src/ruby-1.1a2/ext/readline/readline.c.orig Wed Aug 27 01:09:52 1997 +++ /home/shugo/src/ruby-1.1a2/ext/readline/readline.c Wed Aug 27 01:09:52 1997 @@ -3,7 +3,7 @@ * module for GNU Readline Library * * Author: maeda shugo <shugo / po.aianet.ne.jp> - * Version: $Id: readline.c,v 1.2 1997/08/21 10:41:33 shugo Exp $ + * Version: $Id: readline.c,v 1.3 1997/08/26 16:09:29 shugo Exp $ * * Usage: * @@ -231,7 +231,7 @@ state = history_get_history_state(); for (i = 0; i < state->length; i++) { - rb_yield(state->entries[i]); + rb_yield(str_new2(state->entries[i]->line)); } return Qnil; }