Mac Modem Script Frequently Asked
Questions
Extracting init strings from Mac modem scripts CCL files
The init strings and drivers page lists many Mac modem
scripts, but not many init strings. The good news is that
you can easily extract the init string from the modem
script.
Modem scripts are just text files. They can be viewed in
most any word processor or text editor (but not TeachText or
SimpleText). I recommend using BBEdit
Lite, which is what I'll use for the example.
Instructions
1. Download the modem script for your modem and
decompress, if necessary.
Shortcut for steps 2-4: drag and drop the script onto
BBEdit Lite's icon.
2. Launch BBEdit. Choose Open from BBEdit's File menu.
Navigate to where ever the script is stored on your hard
drive.
3. You should see the modem script for your modem. If you
do not, set the File Types popup menu to Any File.
4. Select the script and click the Open button.
5. Now the file is open and you can begin looking for the
init string.
There will be a number of short init strings. You're
looking for a long string. Depending on the file, it could
be fifty or a hundred lines down. Here's one example of the
string and some of the lines around it:
matchclr
matchstr 1 4 "OK\13\10"
matchstr 2 101 "ERROR\13\10"
write "AT&FE0&C1&D0W2X4%E2S95=44S9=12S11=50S10=150SS0=0S10=255\13"
The last line above contains the init string inside
quotation marks. Note that the \13 in NOT part of the
init string. It is an end-of-string character. The init
string in this example is:
AT&FE0&C1&D0W2X4%E2S95=44S9=12S11=50S10=150SS0=0S10=255
6. Copy and paste the init string into your software
program. Close the modem script without saving any changes.
Next: back to inits and
drivers
|