Lines Matching defs:termp
54 TERMINAL *termp = TerminalOf(SP_PARM);
56 if (0 == termp) {
63 if (GET_TTY(termp->Filedes, buf) != 0) {
77 termp ? termp->Filedes : -1,
99 TERMINAL *termp = TerminalOf(SP_PARM);
101 if (0 == termp) {
108 if ((SET_TTY(termp->Filedes, buf) != 0)
110 && !isatty(termp->Filedes)
124 termp ? termp->Filedes : -1,
142 TERMINAL *termp = TerminalOf(SP_PARM);
146 if (termp != 0) {
153 if (_nc_get_tty_mode(&termp->Ottyb) == OK) {
155 if (termp->Ottyb.c_oflag & OFLAGS_TABS)
158 if (termp->Ottyb.sg_flags & XTABS)
180 TERMINAL *termp = TerminalOf(SP_PARM);
184 if (termp != 0) {
191 if (_nc_get_tty_mode(&termp->Nttyb) == OK) {
193 termp->Nttyb.c_oflag &= (unsigned) (~OFLAGS_TABS);
195 termp->Nttyb.sg_flags &= (unsigned) (~XTABS);
216 TERMINAL *termp = TerminalOf(SP_PARM);
220 if (termp != 0) {
224 if (_nc_set_tty_mode(&termp->Nttyb) == OK) {
249 TERMINAL *termp = TerminalOf(SP_PARM);
253 if (termp != 0) {
262 rc = _nc_set_tty_mode(&termp->Ottyb);