scanner in text mode only