diff options
Diffstat (limited to 'x11/rxvt/files/patch-ab')
-rw-r--r-- | x11/rxvt/files/patch-ab | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/x11/rxvt/files/patch-ab b/x11/rxvt/files/patch-ab new file mode 100644 index 000000000000..fb2c7d1e507f --- /dev/null +++ b/x11/rxvt/files/patch-ab @@ -0,0 +1,23 @@ +*** command.c.old Mon Dec 5 01:07:33 1994 +--- command.c Mon Dec 5 01:07:49 1994 +*************** +*** 373,381 **** + { + int pgrp = getpid(); + ioctl(0, TIOCSPGRP, (char *)&pgrp); +! setpgrp(); + close(open(ttynam, O_WRONLY, 0)); +! setpgrp (); + } + + /* init of termios structure */ +--- 373,381 ---- + { + int pgrp = getpid(); + ioctl(0, TIOCSPGRP, (char *)&pgrp); +! setpgrp(0,pgrp); + close(open(ttynam, O_WRONLY, 0)); +! setpgrp (0,pgrp); + } + + /* init of termios structure */ |