From owner-cvs-all Sun Apr 5 11:27:53 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA20686 for cvs-all-outgoing; Sun, 5 Apr 1998 11:27:53 -0700 (PDT) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA20661; Sun, 5 Apr 1998 11:27:49 -0700 (PDT) (envelope-from brian@FreeBSD.org) From: Brian Somers Received: (from brian@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id LAA04845; Sun, 5 Apr 1998 11:25:35 -0700 (PDT) Date: Sun, 5 Apr 1998 11:25:35 -0700 (PDT) Message-Id: <199804051825.LAA04845@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/ppp log.c main.c prompt.c prompt.h Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk brian 1998/04/05 11:25:35 PDT Modified files: (Branch: MP) usr.sbin/ppp log.c main.c prompt.c prompt.h Log: Make ^Z, bg & fg work. We don't muck around with SIGTTIN or SIGTTOU, we just disable use of the prompt for the controlling terminal (and put a ^Z next to it in a ``show who'' listing). Unfortunately, we need to enable a timer to ``poll'' for the terminal having us as the controlling pgrp when a user does a ``bg''. If anyone knows how to do this better - please speak up (is there any indication to the process group leader when it's ctrling terminal gets tcsetpgrp()'d back ?).... Revision Changes Path 1.25.2.4 +9 -3 src/usr.sbin/ppp/log.c 1.121.2.44 +10 -36 src/usr.sbin/ppp/main.c 1.1.2.21 +44 -3 src/usr.sbin/ppp/Attic/prompt.c 1.1.2.5 +4 -1 src/usr.sbin/ppp/Attic/prompt.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message