Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!apple!sun-barr!lll-winken!unixhub!linac!att!news.cs.indiana.edu!maytag!xenitec!zswamp!root From: root@zswamp.fidonet.org (Geoffrey Welsh) Newsgroups: comp.dcom.modems Subject: Re: Controlling answer tone sequence Message-ID: <7129.27F41B91@zswamp.fidonet.org> Date: 29 Mar 91 18:16:20 GMT Organization: Izot's Swamp BBS - Kitchener, Ontario Lines: 47 Dave McLane (davidg%aegis.or.jp@kyoto-u.ac.jp ) wrote: > A simple AT will do. >Yes, exactly; on a BBS where you can do such. But the >question >was how to do this with UNIX? Specifically ISC UNIX R3.2 >V2.2. I've long been of the opinion that getty needs a serious rewrite. For instance, my SCO Unix feed has both 2400 and PEP lines, but my login script must send a number of BREAK signals to tell uugetty to toggle baud rates. The number of BREAKs needed depends on many things, including line noise at connect. Only recently have I managed to get a decent uucico working with my brain-dead PC software, allowing me to put conditional sends into my login scripts(!) Even so, the time it takes for getty to react to a break varies, so I must put in long login chat timeouts... unfortunately, in many cases, it would be to my advantage to reduce those timeouts if at all possible (e.g. no point waiting a minute to figure out that CARRIER isn't going to show up if the system's busy)... all of this would be solved if getty had the ability to recognize connect strings sent by the modem. To bring our gripes together, it would be nice if getty could re-initialize the modem periodically using a user- (oops, sysadmin-) configurable string, much as the Mess-DOS BBS programs currently do. Geoff P.S.: Incidentally, I was surprised and pleased to read a few months back in the SCO *ix docs that dialout scripts can now be told to watch for baud rates reported in the CONNECT string. These scripts, though not as efficient as dialer binaries, seem a *lot* friendlier and would be by far my choice when configuring a new modem. Heck, *patching* DialTBit.c was hell... -- UUCP: watmath!xenitec!zswamp!root | 602-66 Mooregate Crescent Internet: root@zswamp.fidonet.org | Kitchener, Ontario FidoNet: SYSOP, 1:221/171 | N2M 5E6 CANADA Data: (519) 742-8939 | (519) 741-9553 The mile is traversed not by a single leap, but by a procession of coherent steps; those who insist on making the trip in a single element will be failing long after you and I have discovered new worlds. - me