+ t = md_string[(i*bs)..((i+1)*bs-1)]
+ printf("sending %d chars: %s\n", t.length, t[-10..-1]) if $debug
+ $sp.print(t)
+ sleep(0.1)
+ print("going to wait ... : ") if $debug
+ begin
+ line=$sp.gets()
+ puts(line.inspect) if $debug
+ line='' if !line
+ end while ! /\./.match(line)