Thanks
In reply to Re^2: Reading char-by-char from STDIN by reasonablekeith in thread Reading char-by-char from STDIN by reasonablekeith