Date: Thu, 14 Oct 1999 20:58:50 -0500 From: Jeremy McMillan <aphor@ripco.com> To: vladimir-bsd-stable@math.uic.edu Cc: freebsd-stable@freebsd.org Subject: Re: tip Message-ID: <38068A5A.BBC152D@ripco.com> References: <19991014234420.12896.qmail@math.uic.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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: <system-name>[ \t]*<phone-number>. 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 <aphor at ripco.com> | 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38068A5A.BBC152D>