Chris Moline wrote:

> Are you sure you are getting the input after printing the prompt?? May I
> see more of your code??

Sure. This is the main loop (the current version) ...

    while !$stdin.eof
        print "-> "; STDOUT.sync
 
        line = $stdin.gets

        # Then I do some stuff with the contents of line 
    end