From owner-freebsd-hackers Tue Feb 7 11:58:33 1995 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id LAA06452 for hackers-outgoing; Tue, 7 Feb 1995 11:58:33 -0800 Received: from wcarchive.cdrom.com (wcarchive.cdrom.com [192.216.191.11]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id LAA06446 for ; Tue, 7 Feb 1995 11:58:32 -0800 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.34]) by wcarchive.cdrom.com (8.6.8/8.6.6) with ESMTP id LAA22166 for ; Tue, 7 Feb 1995 11:58:21 -0800 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id GAA02368; Wed, 8 Feb 1995 06:40:45 +1100 Date: Wed, 8 Feb 1995 06:40:45 +1100 From: Bruce Evans Message-Id: <199502071940.GAA02368@godzilla.zeta.org.au> To: peter@bonkers.taronga.com, ponds!rivers@dg-rtp.dg.com, terry@cs.weber.edu Subject: Re: chat(8) improvements for SL/IP dialout. Cc: freebsd-hackers@wcarchive.cdrom.com, longyear@netcom.com, rivers@dg-rtp.dg.com Sender: hackers-owner@FreeBSD.org Precedence: bulk > Let me add some motivation to this (because, I could have simply used >the -r and -z flags on slattach.) > My internet provider charges by the minute, thus, I'd like to connect >to the modem and *not* redial. (Hmmm... perhaps a flag on slattach >that says "this is how to dial the first time, but don't bother redialing >if Carrier Detect goes down".) I prefer this. > So, I had planned on doing: > chat -c "slattach ..." ... > > to start the connection, (setting the modem to disconnect after a minute >of no activity). Have sendmail do its thing, then when the modem disconnects, >use the slattach option to run the "shutdown-the-link" script. Thus, >since the shutdown-the-link script would have to go find the sleep and >kill it, I didn't like that idea. Slattach is supposed to shut down the link when it is killed by a SIGHUP and it was invoked without -r. However, this is broken in 2.0R and -current. Bruce