rem: newtty.c_lflag &= ~ICANON; newtty.c_lflag &= ~ECHO;
add: newtty.c_lflag &= ~(ICANON | ECHO); newtty.c_oflag &= ~(TAB3);
context: static void whack_terminal (void){   struct termios newtty;      /* first the curses part... */#ifdef PRETENDNOCAP   setupterm("dumb", STDOUT_FILENO, NULL);#else   setupterm(NULL, STDOUT_FILENO, NULL);#endif      /* now our part... */   if (!Batch) {      if (-1 == tcgetattr(STDIN_FILENO, &Savedtty))         std_err("failed tty get");      newtty = Savedtty;      newtty.c_lflag &= ~ICANON;      newtty.c_lflag &= ~ECHO;      newtty.c_cc[VMIN] = 1;      newtty.c_cc[VTIME] = 0;      Ttychanged = 1;      if (-1 == tcsetattr(STDIN_FILENO, TCSAFLUSH, &newtty)) {         putp(Cap_clr_scr);         std_err(fmtmk("failed tty set: %s", strerror(errno)));      }      tcgetattr(STDIN_FILENO, &Rawtty);      putp(Cap_clr_scr);      fflush(stdout);   }}