Tyring to switch to '/dev/tty' for input