Lines Matching defs:oldmode
431 struct termio oldmode;
477 bmove((char *)&mode, (char *)&oldmode, sizeof (mode));
1118 * if called from terminal init, flag == -1 means reset "oldmode".
1131 if (flag < 0) { /* unconditionally reset oldmode (called from init) */
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];
1139 ttymode = &oldmode;
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];
1156 if (!bequal((char *)&mode, (char *)&oldmode,