Lines Matching defs:tmode
60 struct termios tmode, omode;
99 #define ERASE tmode.c_cc[VERASE]
100 #define KILL tmode.c_cc[VKILL]
101 #define EOT tmode.c_cc[VEOF]
106 tmode.c_ispeed = tmode.c_ospeed = 0;
107 (void)tcsetattr(0, TCSANOW, &tmode);
259 if (tcgetattr(0, &tmode) == -1) {
263 omode = tmode;
280 cfsetispeed(&tmode, IS);
282 cfsetispeed(&tmode, SP);
284 cfsetospeed(&tmode, OS);
286 cfsetospeed(&tmode, SP);
289 if (tcsetattr(0, TCSANOW, &tmode) == -1) {
324 tmode.c_iflag |= ICRNL;
325 tmode.c_oflag |= ONLCR;
328 tmode.c_iflag |= IUCLC;
329 tmode.c_oflag |= OLCUC;
330 tmode.c_lflag |= XCASE;
333 tmode.c_iflag &= ~IUCLC;
334 tmode.c_oflag &= ~OLCUC;
335 tmode.c_lflag &= ~XCASE;
337 if (tcsetattr(0, TCSANOW, &tmode) == -1) {
379 if (tcsetattr(0, TCSANOW, &tmode) == -1) {
460 speed_t ospeed = cfgetospeed(&tmode);