From: wak4@ellis.uchicago.edu (Valentine)
Subject: PC+ Help requested (SCRIPTS!!!!)  (LONGISH)
Reply-To: wak4@midway.uchicago.edu
Organization: Secrecy Anonymous
Date: Tue, 26 Jan 1993 02:26:59 GMT


OK PC+ Masters.....Here is one for you....

    I have tried many times and failed to write a logon script for my school's 
UNIX system.  The problem comes when the host computer asks for a few carriage
returns to determine speed.  I have never been able to get PC+ to hit carriage
returns in such a manner as to please the host.  I have tried to logon while
recording what I was doing, but running this script does not get past the 
speed check.  I have tried changing what PC+ "waitfor"s to a number of 
different combinations of what I see on the screen, to no avail.  I have tried
to bypass the whole waitfor command by using a likely pause length and then a 
whole string of ^m's, but that, too, fails.  I have even tried to use a pause
and then call another aspect script to take care of the speed checker.  Nothing
works!  
     What follows is the output of a manual logon and the resulting recorded
script.  If anyone has any idea how to get this thing to work I would 
surely appreciate it.



















University of Chicago Computing Organizations
Gandalf Starmaster



All of the modems accessed by calling 753-0975 have been replaced
with Dual Standard modems which operate at speeds up to 9600 baud.
Higher thruput is possible with data compression.  Supported are all
previous protocols(eg v.22bis) plus v.32.


ENTER CLASS tip

Enter 2 or 3 carriage returns to allow for speed recognition.
NOTE:  The server assumes EVEN parity 7 databits when you first logon.
To change the settings to 8 bits no parity, type 'term download'
at the 'cc-tip>' prompt.
CONNECTED
         University of Chicago Terminal Server

cc-tip>

cc-tip>term download

cc-tip>ellis
Trying ELLIS (128.135.12.62)... Open


SunOS UNIX (ellis)

login: wak4
Password:
Last login: Mon Jan 25 19:11:10 from cc-tip-1.uchicag
SunOS Release 4.1.1 (APC.rfcftp-64) #3: Wed Oct 7 09:40:44 CDT 1992

For assistance, send mail to advisor@midway, or call the APC Hotline,
702-3111, from 10-Noon, 2-4PM weekdays.

Usage notes:

- Nov 16,1992.  Kimbark is now available for general use.  Please type
  "info" for more information.

- Requested changes to passwords, default shells, and 'finger' info
  may take up to 45 minutes to propagate to all machines.
  Please be patient, and wait for one change to take effect before
  trying to make another one.

Enter "info" for latest Info on the SUN Cluster
(Last info update: Nov16,1992 -- "Kimbark" available for general use)

NOTE:  We have dismounted /usr/spool/news.  All news is to be read
       remotely.  Please type 'msgs 303' at a unix prompt for more
       details.

TERM = (vt100)
>

*******************************************************************************

The following is the recorded script to match the above captured screens:

*******************************************************************************



;Recorded script. Editing may be required.         
proc main
   transmit "^M"
   waitfor "ENTER CLASS "
   transmit "tip^M"
   waitfor "ONNECTED ^M^J"
   transmit "^M^M^M"
   waitfor "cc-tip>"
   transmit "term download^M"
   waitfor "cc-tip>"
   transmit "ellis^M"
   waitfor "login: "
   transmit "wak4^M"
   waitfor "Password:"
   transmit "PASSWORD^M"
   waitfor "TERM = (vt100) "
   transmit "^M"
endproc



*******************************************************************************


Good luck and May the Farce be with You


k
-- 
.sig under repair