Home
last modified time | relevance | path

Searched refs:tpgrp (Results 1 – 8 of 8) sorted by relevance

/original-bsd/bin/csh/
H A Derr.c378 if (tpgrp > 0)
379 (void) tcsetpgrp(FSHTTY, tpgrp);
H A Dcsh.c420 opgrp = tpgrp = -1;
447 if ((tpgrp = tcgetpgrp(f)) != -1) {
448 if (tpgrp != shpgrp) {
456 tpgrp = shpgrp;
473 if (tpgrp == -1) {
569 if (tpgrp > 0) { in untty()
1087 execute(savet, (tpgrp > 0 ? tpgrp : -1), NULL, NULL);
H A Dsem.c232 otpgrp = tpgrp;
254 tpgrp = otpgrp;
282 (tpgrp == -1 &&
306 else if (tpgrp == -1 &&
540 else if ((flags & F_NOINTERRUPT) && tpgrp == -1) {
H A Dproc.c273 if (tpgrp > 0) /* get tty back */
274 (void) tcsetpgrp(FSHTTY, tpgrp);
1233 ignint = (tpgrp == -1 && (t->t_dflg & F_NOINTERRUPT))
1275 else if (tpgrp == -1 && (t->t_dflg & F_NOINTERRUPT)) {
1303 if (tpgrp == -1) in okpcntl()
1305 if (tpgrp == 0) in okpcntl()
1351 if (tpgrp > 0)
1352 tpgrp = 0; /* gave tty away */
H A Dlex.c1382 if (tpgrp != -1 &&
1384 tpgrp != ctpgrp) {
1385 (void) tcsetpgrp(FSHTTY, tpgrp);
1388 ctpgrp, tpgrp);
H A Dcsh.h131 int tpgrp; /* Terminal process group */ variable
H A Dfunc.c289 execute(kp, (tpgrp > 0 ? tpgrp : -1), NULL, NULL);
1370 if (tpgrp != -1) {
/original-bsd/contrib/emacs-18.57/src/
H A Demacs.c111 int tpgrp; local
125 if (ioctl(0, TIOCGPGRP, &tpgrp) == 0
126 && tpgrp == getpgrp (0))