Lines Matching refs:oldmodes
266 #define olderase oldmodes.c_cc[VERASE]
267 #define oldkill oldmodes.c_cc[VKILL]
268 #define oldintr oldmodes.c_cc[VINTR]
433 struct termios oldmodes;
478 modes.c_lflag = oldmodes.c_lflag = mode.c_lflag;
479 modes.c_oflag = oldmodes.c_oflag = mode.c_oflag;
480 modes.c_iflag = oldmodes.c_iflag = mode.c_iflag;
481 modes.c_cflag = oldmodes.c_cflag = mode.c_cflag;
483 modes.c_cc[i] = oldmodes.c_cc[i] = mode.c_cc[i];
485 bmove((char *)&modes, (char *)&oldmodes, sizeof (modes));
950 if (oldmodes.c_oflag&(TAB3|ONLCR|OCRNL|ONLRET)) {
951 oldmodes.c_oflag &= (TAB3|ONLCR|OCRNL|ONLRET);
1133 oldmode.c_lflag = oldmodes.c_lflag;
1134 oldmode.c_oflag = oldmodes.c_oflag;
1135 oldmode.c_iflag = oldmodes.c_iflag;
1136 oldmode.c_cflag = oldmodes.c_cflag;
1138 oldmode.c_cc[i] = oldmodes.c_cc[i];
1141 ttymodes = &oldmodes;
1144 oldmode.c_lflag = oldmodes.c_lflag;
1145 oldmode.c_oflag = oldmodes.c_oflag;
1146 oldmode.c_iflag = oldmodes.c_iflag;
1147 oldmode.c_cflag = oldmodes.c_cflag;
1149 oldmode.c_cc[i] = oldmodes.c_cc[i];
1159 } else if (!bequal((char *)&modes, (char *)&oldmodes,