From owner-freebsd-current Sat Dec 21 10:51:54 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id KAA21892 for current-outgoing; Sat, 21 Dec 1996 10:51:54 -0800 (PST) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id KAA21873 for ; Sat, 21 Dec 1996 10:51:49 -0800 (PST) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id TAA26922; Sat, 21 Dec 1996 19:51:37 +0100 Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id TAA11545; Sat, 21 Dec 1996 19:51:36 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.8.4/8.6.9) id TAA12073; Sat, 21 Dec 1996 19:49:58 +0100 (MET) From: J Wunsch Message-Id: <199612211849.TAA12073@uriah.heep.sax.de> Subject: Re: User ppp not hanging up modem. To: freebsd-current@FreeBSD.org (FreeBSD-current users) Date: Sat, 21 Dec 1996 19:49:58 +0100 (MET) Cc: dicen@hooked.net Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199612211751.KAA27123@rocky.mt.sri.com> from Nate Williams at "Dec 21, 96 10:51:29 am" X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E X-Mailer: ELM [version 2.4ME+ PL17 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk As Nate Williams wrote: > That's *NOT* the correct thing. What happens when for some reason > PPP happens to send the sequence '+++' to the modem? All of a sudden > it'll drop into command mode and you're screwed. User-PPP (as well as > all other PPP/SLIP implementations I've worked with) assumes that you've > disabled the escape sequence at least temporarily. That's why they protect it by requiring 500 ms spaces before and after the +++. I think AT&T even has a patent on this escaping scheme. Still i don't agree that IIJPPP should send this sequence, though. The heavy preference of +++ ATH does IMHO only arise out of messy DOS poor DTR handling. Dropping DTR on each device close is a very much cleaner policy than messing around with the command set of a modem (which cannot be done by the kernel or a multipurpose library anyway since there is no `standard command set', and a tty device might as well end up in any other communication endpoint that doesn't have a command set at all). -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)