Date: Mon, 15 Jun 1998 20:09:38 +0100 From: Brian Somers <brian@Awfulhak.org> To: wheely <wheely@thevortex.com> Cc: Brian Somers <brian@Awfulhak.org>, freebsd-questions@FreeBSD.ORG Subject: Re: PPP: !bg processes Message-ID: <199806151909.UAA08887@awfulhak.org> In-Reply-To: Your message of "Mon, 15 Jun 1998 13:50:47 %2B1200." <199806150150.NAA07273@smtp1.ihug.co.nz>
next in thread | previous in thread | raw e-mail | index | archive | help
> At 07:30 AM 15/06/98 , Brian Somers wrote: > > >I don't follow. What did it support ? 2.2.5 redirects descriptors 0 > >1 & 2 to /dev/null, fork()s and daemon(1, 1)s before execing the > >program. This is exactly the same behaviour as the 980612 version. > > Ok, I think I have confused you by saying iI would like it on the console. > I run ppp by telneting into FreeBSD from win95, giving ppp its own screen > using "screen", typing ppp, dial provider... > In my ppp.linkup I have !bg dnsupdate. On ppp2.2.5 the results on this > program came up in the ppp telnet window. An example from the program is > printf( "Host %s.%s NOT updated.\n", myhost, MYDOMAIN );. On ppp980612 I do > not see a thing back from the script unless I do it manually (I just found > manually works ok ie. typing !bg dnsupdate in ppp). I know it is executing > (or trying to) on the linkup cause I "set log local +Command." and I am > getting Command: MYADDR: !bg dnsupdate Ah, The problem here is that the old version of ppp used to have either one or zero command prompts. It was therefore easy to decide where to attach the commands output. Now, output goes to /dev/null unless a specific ``prompt'' has executed the command. > wheely -- Brian <brian@Awfulhak.org>, <brian@FreeBSD.org>, <brian@OpenBSD.org> <http://www.Awfulhak.org> Don't _EVER_ lose your sense of humour.... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806151909.UAA08887>