diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2000-10-18 00:02:25 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2000-10-18 00:02:25 +0000 |
commit | b5628647ad1e48d026064e5acc0d8dc0b8021cfa (patch) | |
tree | 645c6dc3a5b3b0e24ec4f7308e9fc1b7823bb0fa /pty.c | |
parent | 2594de81d301188108c1accbd4f937a86d70db1c (diff) |
- (bal) Changed from GNU rx to PCRE on suggestion from djm.
- (bal) Integrated Sony NEWS-OS patches from NAKAJI Hirouyuki
<nakaji@tutrp.tut.ac.jp>
Diffstat (limited to 'pty.c')
-rw-r--r-- | pty.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -242,6 +242,10 @@ pty_make_controlling_tty(int *ttyfd, const char *ttyname) | |||
242 | */ | 242 | */ |
243 | ioctl(*ttyfd, TIOCSCTTY, NULL); | 243 | ioctl(*ttyfd, TIOCSCTTY, NULL); |
244 | #endif /* TIOCSCTTY */ | 244 | #endif /* TIOCSCTTY */ |
245 | #ifdef HAVE_NEWS4 | ||
246 | if (setpgrp(0,0) < 0) | ||
247 | error("SETPGRP %s",strerror(errno)); | ||
248 | #endif /* HAVE_NEWS4 */ | ||
245 | #ifdef USE_VHANGUP | 249 | #ifdef USE_VHANGUP |
246 | old = signal(SIGHUP, SIG_IGN); | 250 | old = signal(SIGHUP, SIG_IGN); |
247 | vhangup(); | 251 | vhangup(); |