menu2,isatty
menu3,read and write tty