Notes on CUTCP Telnet
---------------------

CUTCP Telnet is an offshoot of NCSA Telnet, one of the first DOS Internet
applications to be developed.  NCSA Telnet itself has trouble resolving
domain names, which greatly reduces its usefulness.  Clarkson University's
version doesn't have that problem, so it is preferable to the original NCSA
Telnet package, unless you need some features such as rexec, rsh, or whois
that NCSA has and CUTCP does not.  For dynamic IP configuration, CUTCP
Telnet supports BOOTP, RARP, include files, and environment variables.  You
do not need to be connected to set it up.

The CUTCP Telnet package is set up by editing the CONFIG.TEL file.  That
file must either be in the current directory when the programs are run, or
there must be an environment variable pointing to it.  Put something like
this in AUTOEXEC.BAT:

   SET CONFIGTEL=E:\INTERNET\CUTCP-B\CONFIG.TEL

Load CONFIG.TEL into your favorite text editor.  The first thing to set is
your IP address.  There are 5 ways to do this.  If you have static IP, just
fill it in:

   myip=127.0.0.1

To use BOOTP with dynamic IP, leave it at the default:

   myip=bootp

To use RARP with dynamic IP, change it to this:

   myip=rarp

To use an environment variable, comment out the myip line and put a line
like this in your dialer batch file (SLIPOPEN.BAT or PPPOPEN.BAT):

   SET $CUTCP1=myip~%MYIP%

The last option is to use an include file.  This is similar to configuring
WATTCP applications for dynamic IP.  To use this method, comment out the
myip line and put this instead:

   include=E:\INTERNET\CONFIG.INC

As with WATTCP, you will have to generate CONFIG.INC at connect time and put
its full pathname here.  CONFIG.INC looks like this:

   myip=127.0.0.1

If you don't use any of these options, BOOTP is attempted.

If you're using CSLIP, you can set vjc to yes.  I have CSLIP, though, and it
doesn't seem to matter much.

splayc, clock, and sound lines don't need to be changed.  myname is not
needed unless you're using the line printer utilities; see README.LPR.

If you're using BOOTP, the netmask line doesn't matter.  In fact, it doesn't
seem to matter in any case, but you ought to put it in, I suppose:

   netmask=255.255.255.0

Leave this line alone:

   hardware=packet

Set interrupt to 0:

   interrupt=0

Leave address alone:

   address=0

Set ioaddr to 60 (or leave it alone).  The first packet driver will install
itself at interrupt 60h by default:

   ioaddr=60

Leave noarpme alone.  Leave video at "auto" or set it to your video type. 
Comment out visbell unless you're deaf.  bios can be left at the default
(no) in most cases.  On Tandy 1000's, bios can be no (we don't have CGA snow
problems).

Leave tek, ftp, rcp, and passfile alone.  The include line here is just an
example; leave it at "nul" or comment it out.  If you use include's, you
want to place the include line where you want the file included.  capfile,
hpfile, psfile, and tekfile are fine as is.

Increase domaintime to 20; 4 seconds is not long enough for a modem link:

   domaintime=20

domainretry is fine as is.  Set domainslist to the empty string to speed up
DNS queries:

   domainslist=""

map3270 and tnmode are fine as is.  The default machine settings are mostly
fine as is.  You might want to change the screen colors to keep it from
blinking so much, but you can do that later.  Increase contime for slow
servers:

   contime=60

If you are *not* using BOOTP, you need to add your nameserver and gateway
machines to the end of the file, like so.  Do *not* specify your nameserver
or gateway in CONFIG.TEL if you use BOOTP:

   name=mynameserver
   hostip=199.191.1.80
   nameserver=1

   name=mygateway
   hostip=199.191.1.70
   gateway=1

You do not need to give hostnames for your gateway and nameserver.  You can
of course use an include line for the gateway IP address, as with myip, but
it's OK just to use a dummy gateway (the gateway you *usually* get) as I do.

There are a lot of settings available in CONFIG.TEL, so feel free to modify
things to suit your preferences.

To telnet to a particular site, specify the site on the command line, like
so:

   E:\INTERNET\CUTCP-B>telbin ursus.maine.edu

To telnet to a particular port, specify both the site and the port enclosed
in quotes:

   E:\INTERNET\CUTCP-B>telbin "ursus.maine.edu 23"

CUTCP Telnet can be used to obtain a list of newsgroups carried by your
provider's NNTP server if the provider doesn't have a file available by ftp
listing them (or if you are using Minuet for news).  To do that, telnet to
port 119 of your NNTP server like this:

   E:\INTERNET\CUTCP-B>telbin "news.buckeyeweb.com 119"

After you get a response from the NNTP server, turn on file capture by
hitting <alt>-C.  Then type this:

   list

The newsgroup list will scroll past on the screen and be written to the
capfile specified in CONFIG.TEL (CAPFILE.OUT by default).  When the listing
stops, hit <alt>-C again to save the file, then hit <alt>-X to close the
connection.

If you are using the Trumpet newsreader, you don't need to do anything with
the file except print it out.  Trumpet will not use it directly; rather, you
will use it to edit NEWS.INI to subscribe to the groups you want.

Of course, if your provider has a list of newsgroups available by ftp, that
may be easier.