Creating a new dial dialer
You can customize a dial program by editing the
source file (for example, dialHA24.c) and
changing modem commands embedded in the C code and then
recompiling the source.
The source and a makefile for recompiling dial binaries are included in the directory /usr/lib/uucp. If you have any other kind of modem, you can modify any of the source files and create your own dialer program.
To make a new dial program:
#define MDSETUP "ATQ0E0T&D2&C1S0=0X4S2=043\r"There are several ``defines'' in the program, each containing a different string, such as MDHANGUP, the command string to send that tells the modem to hang up (ATQ0H). Change each define as appropriate.
EXES= dialHA12 dialHA24 dialHA96V dialMUL dialTBIT dialT1500 dialVA3450Add the name of the dialer program that you wish to use. When this is done, exit the file, saving the changes you made.
When the make command is finished, you have a new dialer program. This can be used in the fifth field of an entry in the Devices file.