How to handle incompatible modems?

Russell Nelson (nelson@crynwr.com)
Sat, 5 Mar 1994 07:38:00 +0100


I want to add support to mgetty+sendfax for modems based on the Cirrus
MD9624 chipset.  It's possible to automatically identify what modem is
being used via the ATIn command.  So I would say that the different
commands/code should be hidden behind variables and pointers to
functions (as opposed to ifdefs).  Any suggestions on how I should do
this?

-russ <nelson@crynwr.com>      ftp.msen.com:pub/vendor/crynwr/crynwr.wav
Crynwr Software   | Crynwr Software sells packet driver support | ask4 PGP key
11 Grant St.      | +1 315 268 1925 (9201 FAX)    | Quakers do it in the light
Potsdam, NY 13676 | LPF member - ask me about the harm software patents do.