From owner-freebsd-stable Thu Oct 14 18:59: 0 1999 Delivered-To: freebsd-stable@freebsd.org Received: from notrecords.com (228-121.ppp.ripco.net [209.100.228.121]) by hub.freebsd.org (Postfix) with ESMTP id D16F314FF1 for ; Thu, 14 Oct 1999 18:58:37 -0700 (PDT) (envelope-from aphor@ripco.com) Received: from ripco.com (localhost [127.0.0.1]) by notrecords.com (8.9.3/8.9.3) with ESMTP id BAA18107; Fri, 15 Oct 1999 01:58:50 GMT (envelope-from aphor@ripco.com) Message-ID: <38068A5A.BBC152D@ripco.com> Date: Thu, 14 Oct 1999 20:58:50 -0500 From: Jeremy McMillan Reply-To: aphor@ripco.com Organization: Loose.. X-Mailer: Mozilla 4.6 [en] (X11; I; FreeBSD 3.3-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: vladimir-bsd-stable@math.uic.edu Cc: freebsd-stable@freebsd.org Subject: Re: tip References: <19991014234420.12896.qmail@math.uic.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG You know, that one got me too: I had once tried to use tip for numeric paging, and I couldn't do the dial pause. I don't have time to try it myself, but if you want to, try this hack: it substitutes the comma-delimiter with a semicolon-delimiter in the phones file. A semicolon in a dial string is supposed to return the modem to command-mode after dialing. That will let the telco connection continue, but will wait for AT commands to go on-hook or start the handshake. I can't imagine a use for that in tip. Every time *I* have done that, it has been for troubleshooting and was convenient to type the AT command manually. I wonder why just a linefeed character won't work... This should probably be done with a #define... ---cut--- *** acu.c.orig Sun Aug 29 10:33:40 1999 --- acu.c Thu Oct 14 20:56:00 1999 *************** *** 105,111 **** return ("unknown ACU type"); if (*cp != '@') { while (*cp) { ! for (phnum = cp; *cp && *cp != ','; cp++) ; if (*cp) *cp++ = '\0'; --- 105,111 ---- return ("unknown ACU type"); if (*cp != '@') { while (*cp) { ! for (phnum = cp; *cp && *cp != 0x3b ; cp++) ; if (*cp) *cp++ = '\0'; *************** *** 142,148 **** fclose(fd); return ("missing phone number"); } ! for (phnum = cp; *cp && *cp != ',' && *cp != '\n'; cp++) ; if (*cp) *cp++ = '\0'; --- 142,148 ---- fclose(fd); return ("missing phone number"); } ! for (phnum = cp; *cp && *cp != 0x3b && *cp != '\n'; cp++ ) ; if (*cp) *cp++ = '\0'; ---cut--- vladimir-bsd-stable@math.uic.edu wrote: > > Dear -STABLE users, > > I tried to use tip today to connect to a dialup line on our > server, and discovered that there is no way to tell tip > to pause dialing for some period of time. Pause is > specified by ',' in the AT command set, but tip terminates > dialing when a comma is encountered. I confirmed that > by looking at tip's source. So is there any way to tell > tip to pause dialing? > > Vladimir > vladimir@math.uic.edu > > PS Also from the man page phones(5): > .....the form: [ \t]*. The system name is one of > those defined in the remote(5) file and the phone number is constructed > from any sequence of characters terminated only by ``,'' or the end of > the line. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message -- PLEASE NOTICE: THERE MAY BE NOSPAM IN THE HEADERS WHEN YOU HIT "REPLY"!!! Jeremy McMillan | Ask for PGP-2.6.2 or 5.0i Chicago FreeBSD Users Group http://pages.ripco.com/~aphor/ChiFUG.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message