You output is buffered. To turn it off set $| to a true value, for example $| = 1
Update: I answered the wrong question. I thought the OP was printing the prompt, he is trying to read it. read or sysread is the correct answer as given by pc88mxer
In reply to Re: I/O buffering problem
by hipowls
in thread I/O buffering problem
by pwr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |