From: takaoueda@... (Takao Ueda) Date: 2004-11-11T10:48:31+09:00 Subject: Scnaf Patch? It seems pos is undefined for STDIN. In order to use scanf for console input I had to change the line start_position = pos in class IO, def scanf(str, &b) in lib/ruby/1.8/scanf.rb into if self == STDIN start_position = 0 else start_position = pos end Any ideas?