This is difficult, because uupc gets its phone numbers from
a Systems file (just like Honey-Danber UUCP), and many terminal
emulator programs get their phone numbers from dialing directories
(although dgterm is not one of them). I've never seen a dialing
directory implemented with the flexibility to handle different
forms of the same number for a given system.
The solution?
The UltraLite modem has the ability to store one phone number
in non-volatile memory. Use the command "AT&Z=[number]" to
store the number, and the command "ATDS" to dial it. I know,
the manual says "AT&Z01=[number]" and "ATDS=0" -- when I do that,
I get "01" prepended to the phone number!
Anyway, you can set up a set of phone numbers to choose from
in a variety of ways. I use Korn shell aliases which call
the "AT.COM" program to drive the COM port, but you could
similarly use a .BAT file, or a script in your favorite terminal
emulator script language, or whatever. I just type
"modem-normal" and it sets the modem to dial XXX-XXXX, or
modem-dial9" for 9-XXX-XXXX, etc. You get the idea.
One problem area might be getting your terminal emulator program
to do an ATDS instead of an ATDT[number]. It may take some
playing around or you may have to issue the ATDS command in some
way other than using a dialing directory.
By the way, uupc has no trouble with it. I simply replaced
the phone number with the character "s"!
Now here's a question for all of you: the manual refers to the
commands AT&W0 and AT&W1 which save the current register settings
to configuration profiles 1 and 2, respectively. Unfortunately,
it doesn't tell you how to invoke those profiles! I tried using
AT&E0 and AT&E1, which I've seen on other modems, but it didn't
seem to work.
--
-Brian Smithson
Motorola Inc., Computer Group, Commercial Systems Division
10700 N. De Anza Boulevard, Cupertino, CA 95014 USA, (408)366-4104
brian@csd.mot.com, {apple | pyramid}!motcsd!brian