Using the Telnet Tool with the CompuServe Navigator

One of the popular uses of the Telnet Tool is with Mike O'Connor's "CompuServe Navigator". This note documents some of the known 'gotchas' and provides a reference for correct configuration.


Setup and Configuration

Instructions provided by Mike O'Connor (author of the CompuServe Navigator) with some amendments to accommodate CompuServe's recent changes.

To set up Navigator itself, open your session file and then the Session Parameters window. Select "Connection Tool..." from the "Connect Via" popup and a dialog will appear. Choose your telnet tool in the popup menu in the dialog, and set up the options as follows:

UNCHECK the box "Use Telnet Protocol"
enter "gateway.compuserve.com" as the host
enter "4144" as the port

and the other settings should be roughly left as they are ...

Back in the session parameters, select the Network popup and set it to use the Internet network script. There is an "Internet" script in the Nav Database which may work, but if you have an older database, get the most recent one (which is available from library 1 as NAVDB.SEA) and the script will appear.

To check what script you have, check the "Network" popup. If "Internet" doesn't appear (or you have problems with the one that does appear), enter the one below. To do that, select "Create..." from the popup, type in "Internet" for the name, and then type in the script below.

If "Internet" does appear, select it. Then use the popup again and select "Edit 'Internet'..." and a dialog will appear. A comment near the top will say what revision it is. Revision 2 or above may work, but if you have any problems then you should update to the one below. To update the script, select and delete the old one, then type (or paste with Command-V) the script below. Enter the whole thing including comments, and don't add any blank lines at the beginning or end. The first and last lines are comment lines, and the first character on every line is a "#". Then click OK.

Internet Script - Revision 4a

Following is the Internet used by the Telnet Tool Author:

#! Network script for Internet connection via telnet
#! based on Mike O'Connor's Revision 4, modified by Raine Storm Softworks
#!
#:PROMPT:#!       Get a prompt
#('ame:',NAME,'ID:',LOGIN,'ord:',LOGIN,'netd',FULL,'OFF)',RATE,20)#
#w'1'#!           Timeout, let line settle
#m'[Navigator Internet script: Timed out waiting for prompt]^M'#
#x'1'#!           Exit signalling failure
#
#:RATE:#!         Got baud rate prompt
#w'1'#!           Let line settle
2400^M#!          Type any old rate and a Return
#g:PROMPT:#!      Get next prompt
#
#:NAME:#!         Got Host Name prompt
#w'1'#!           Let line settle
CISAGREE^M#!      Type "CISAGREE" and a Return
#g:PROMPT:#!      Get next prompt
#
#:FULL:#!         No telnet ports available
#w'1'#!           Let line settle
#m'[Navigator Internet script: CompuServe is busy, try again later]^M'#!
#x'1'#!           Exit signalling failure
#
#:LOGIN:#!        Got User ID prompt, success
#!                Nav will answer the User ID prompt.

OK, everything is set up. The session parameters should show the name of your connection tool in the "connect via" popup, and "Internet" in the "Network" popup. Close the session parameters window, and you should give the Save command now.

If you use the "Show Preview" command to open the preview window, it will show that Nav is set to connect via the Internet, and the detail settings the tool uses will be shown. They are only of use if reporting a problem.

When you give the Run command, Nav should connect through the Internet and run its automatic session.

Have fun Navigating CompuServe through the Internet! -Mike (Nav author)

Internet Script - Revision 1

Some users prefer this script:

#! Network script for Internet connection via telnet
#! Mike O'Connor Revision 1
#!
#! Typically this script is used in conjunction
#! with a setup that uses an Internet connection
#! tool, such as TCPack.
#!
#p'ame:'#!     Wait for "Host Name:" prompt
CISAGREE^M#!   Type "CISAGREE" and a Return
#p'):'#!       Wait for line speed prompt
14400^M#!      Type "14400" and a Return
#p'ID:'#!      Wait for "User ID:" prompt
#!
#! Navigator will take over from here.

Internet Script - Revision 5

While others prefer this script:

#! Network script for Internet connection via telnet
#! by Mike O'Connor, Revision 5
#!
#! This script is used in conjunction
#! with a setup that uses an Internet telnet
#! connection tool such as "Black Night Telnet Tool"
#! or "TCPack".
#! Demo versions of these tools are available in
#! the Internet library of the GO MACCOM forum.
#! Set the tool to connect to "gateway.compuserve.com"
#! on the standard telnet port 23 with a binary
#! connection (the "accept binary" option on.)
#
#:PROMPT:#!       Get a prompt
#('ame:',NAME,'ID:',LOGIN,'ord:',LOGIN,'netd',FULL,'):',RATE,30)#
#w'1'#!           Timeout, let line settle
#m'^M[MacNav: Internet script timed out]^M'#
#x'1'#!           Exit, signalling failure.
#
#:RATE:#!         Got baud rate prompt
#w'1'#!           Let line settle
14400^M#!         Type highest available rate and a Return
#g:PROMPT:#!      Get next prompt
#
#:NAME:#!         Got Host Name prompt
#w'1'#!           Let line settle
CISAGREE^M#!      Type "CISAGREE" and a Return
#g:PROMPT:#!      Get next prompt
#
#:FULL:#!         No telnet ports available
#w'1'#!           Let line settle
#m'^M[MacNav: CompuServe Internet gateway is busy, try later]^M'#!
#x'1'#!           Exit, signalling failure.
#
#:LOGIN:#!        Got User ID prompt, success
#!                Nav will answer the User ID prompt.

Common Problems and Solutions

>> When I run MacNav I immediately loose my ISP connection

Show Review (command-R) to open MacNav's page first before you hit Connect (command-K). If you hit Connect (command-K) first, MacNav will first send a modem hangup command and disconnect your modem from the ISP. If you have Review page open, hitting Connect will NOT send a hangup.

>> I get occasional system crashes when I use the Telnet Tool with my Global Village Modem

Uncheck the "Show Status" box in the Teleport Control Panel. The "Show Status" feature puts a modem activity bar in the menu which conflicts with MacNav and the Telnet Tool.