From: Eero Saynatkari Date: 2006-08-28T06:50:47+09:00 Subject: Readline and StringIO It is currently not possible to substitute $stdout or $stdin with a StringIO when using the Readline library ($stderr seems to be fine) due to a T_FILE check in readline.c. Can someone come up with a reason why this might be required before I change it and submit a patch? While I am at it, I suppose I will try to provide an additional method for getting the full line of input. -- Posted via http://www.ruby-forum.com/.