Searched refs:tpgrp (Results 1 – 7 of 7) sorted by relevance
| /netbsd-src/bin/csh/ |
| H A D | csh.c | 115 int tpgrp; variable 529 opgrp = tpgrp = -1; in main() 556 if ((tpgrp = tcgetpgrp(f)) != -1) { in main() 557 if (tpgrp != shpgrp) { in main() 565 tpgrp = shpgrp; in main() 582 if (tpgrp == -1) { in main() 680 if (tpgrp > 0) { in untty() 1211 execute(savet, (tpgrp > 0 ? tpgrp : -1), NULL, NULL); in process()
|
| H A D | sem.c | 253 otpgrp = tpgrp; in execute() 275 tpgrp = otpgrp; in execute() 303 (tpgrp == -1 && in execute() 327 else if (tpgrp == -1 && in execute() 557 else if ((flags & F_NOINTERRUPT) && tpgrp == -1) { in doio()
|
| H A D | err.c | 385 if (tpgrp > 0) in stderror() 386 (void)tcsetpgrp(FSHTTY, tpgrp); in stderror()
|
| H A D | proc.c | 303 if (tpgrp > 0) /* get tty back */ in pjwait() 304 (void)tcsetpgrp(FSHTTY, tpgrp); in pjwait() 1261 ignint = (tpgrp == -1 && (t->t_dflg & F_NOINTERRUPT)) in pfork() 1303 else if (tpgrp == -1 && (t->t_dflg & F_NOINTERRUPT)) { in pfork() 1331 if (tpgrp == -1) in okpcntl() 1333 if (tpgrp == 0) in okpcntl() 1379 if (tpgrp > 0) in pgetty() 1380 tpgrp = 0; /* gave tty away */ in pgetty()
|
| H A D | lex.c | 1384 if (tpgrp != -1 && in readc() 1386 tpgrp != ctpgrp) { in readc() 1387 (void)tcsetpgrp(FSHTTY, tpgrp); in readc() 1390 (long)ctpgrp, (long)tpgrp); in readc()
|
| H A D | func.c | 302 execute(kp, (tpgrp > 0 ? tpgrp : -1), NULL, NULL); in reexecute() 1342 if (tpgrp != -1) { in dosuspend()
|
| H A D | csh.h | 154 extern int tpgrp; /* Terminal process group */
|