I\'m reading stdin using a scanner. The scanner stops reading if I send ^D (end of tranmission char) via command line.
Now let\'s say that I want the scanner to stop if t