read form /dev/tty