home *** CD-ROM | disk | FTP | other *** search
- :: rev 6-08-90 for v17.28+
- cls; goto cmdch
- ak lput "\r\n\E[1;5mType space to Continue\E[m"; if y
- lput "\E[2A\E[2K"
- tryd %telno
-
- waketb ena -t; ena -d
- pat; purgel; kill; pat 8 ERROR; pat 9 OK
- if iMODEM,TB goto wak0
- put "ATZ\r"; wait -f2
- put "ATE1Q0\r"; wait -f2
- if 9 goto wak9
- wak0: put "aaaaaa ATZ\r"; wait -f2
- if 8 put "ATZ\r"; wait -f2
- put "aaaaaa ATE1Q0\r"; wait -f2
- if 9 goto wak9
- pat 1i "A";
- while "L<5&&!m" mput "A" lput "!" sleep 2
- wait -f2; if !1 while "L<4&&!m" mput "A" lput "@" sleep 3
- if 1 put "TZ\r"; wait -f2
- if 9 goto wak1
- pat 1 ""; while "!9&&L<2" put "ATZ\r" wait -f3
- if 9 goto wak1
- bye
- while "L<9&&!m" mput "A" lput "#" sleep 3
- pat 1i "A"; wait -f2; if !1 while "L<5&&!m" mput "A" lput "$" sleep 3
- if 1 put "TZ\r"; wait -f2
- if 9 goto wak1
- pat 1 ""; while "!9&&L<2" put "ATZ\r" wait -f3
- if 9 goto wak1
- sp 9600 echo "9600 bps"
- bye; br; br; br; while "!9&&L<2" put "ATZ\r" wait -f1
- if 9 goto wak1
- echo "2400 bps"; sp 2400
- while "!9&&L<3" put "ATZ\r" wait -f1
- if 9 goto wak1
- echo "1200 bps"; sp 1200
- while "!9&&L<3" put "ATZ\r" wait -f1
- if 9 goto wak1
- while "!9&&L<10" put "ATE1Q0\r" wait -f1
- if 9 goto wak1
- echo "No response From MODEM" dis -Q
- bye; sleep 4; br; br; while "!9&&L<2" put "ATZ\r" wait -f2
- if 9 goto wak1
- echo "No response From MODEM"
- bye; sleep 4; br; br; while "!9&&L<2" put "ATZ\r" wait -f2
- if 9 goto wak1
- echo "No response From MODEM: setting 2400 bps"; sp 2400
- bye; sleep 4; br; br; while "!9&&L<2" put "ATZ\r" wait -f2
- if 9 goto wak1
- echo "No response From MODEM: setting 1200 bps"; sp 1200
- while "!9&&L<20" o sleep 9 bye sleep 9 put "ATZ\r" wait -f2
- if 9 goto wak1
- echo "No response From MODEM"
- wak1: pat; pat 1i A
- put "ATE1Q0\r"; sleep 2
- while "L<9&&!m" mput "A" lput "\045" sleep 3
- wait -f2; if !1 while "L<9&&!m" mput "A" lput "^" sleep 3
- pat; pat 1l "OK"; put "T\r"; wait -f3
- if !1 putw "ATE1Q0\r"
- wak9: pat; dis -t; ret
-
- call2 sp 19200; gosub waketb; putw "ATM0H1\r"; sleep 20
- sp 19200; gosub waketb; putw "ATX3Q0M0S10=10S50=0S0=1S95=2S7=30\r";
- call1 sp 19200; gosub waketb; putw ATM0H1\r"
- call2e bye; sp 9600; if iMODEM,MMV32 sp 19200
- gosub waketb; pat 1 OK
- put "ATX4 Q0 &Q0 H0 M0 B1 S0=1 &E1 &E4 &E14 \44BA0 &B0\r"; wait -f2
- handshake on
- call1e bye; bye; sp 9600; handshake off; gosub waketb; putw ATM0H1\r"
- call1h bye; sp 19200; gosub waketb; putw ATM0H1\r"
- call2h bye; sp 19200 :: Change this to match speed in inithst
- gosub waketb; pat 1 OK
- put "ATX6 Q0 S0=1 &A2 &B2 B0 S28=0 &H1 &I0 &K0 &M4 &R2 &Y0\r"; wait -f2
- :: put "AT&K3 S15=16\r"; wait -f2 :: Dual Standard/v.42bis
- put "AT&K3\r"; wait -f2 :: Dual Standard/v.42bis
- outahost bye; sp 2400; call waketb; putw "ATM0\r"
- pH0; pS60; set remote "Local"; set disks "abcd"; set dirrx ""
- put "ATH1\r"; type rxlog; set mprompt "\r\E[1m%drive:\L%pwd\E[m <<<: "
- quit
-
-
- queue cls
- qu1: cls
- qu2: if Q echo "Current Queue Entries"; queue list; lput "\n"
- if q lput "add \E[1mT\E[melno to queue, add \E[1mS\E[mystem name to queue, "
- acceptl1 s1 "\E[1mR\E[mun queue, \E[1mC\E[mlear queue, \E[1mQ\E[muit "
- if is1,t accept s1 "Enter number "; queue add " %s1"; goback qu1
- if is1,s accept s1 "Enter number "; queue add " call %s1"; goback qu1
- if is1,c queue clear; goback qu1
- if is1,r queue run; return
- if is1,q cls; return
- echo "Unknown Choice"; goback qu2
-
- ::
- :: Dial script for most 2400 bps modems uses speed fallback.
- :: Environment variable MODEM checked for:
- :: C2400E US Robotics Courier 2400E (MNP)
- :: HST US Robotics Courier HST
- :: HV96 Hayes V series 9600 bps
- :: MM224 MultiTech 224
- :: MM224E MultiTech 224E (MNP)
- :: MMV32 MultiTech MultiModemV32
- :: SM1200 Hayes Smartmodem 1200
- :: TB Telebit TrailBLazer
- :: If the call is placed at >300 and <9600 bps, switch to 2400 bps. Make the
- :: call. If the called modem only supports 1200 or (ugh) 300 bps,
- :: the modem will drop back in speed. The actual connect speed is indicated
- :: by a "CONNECT", "CONNECT 1200", or "CONNECT 2400" string.
- :: Fallback to 300 bps may be a bit messey, (depending on the answering
- :: modem, so a call originated at 300 bps will go out at that speed
- ::
- :: It is important to give Xn value with highest possible n, e.g. X4
- ::
- :: String vars: s0: original speed s1:non empty to lock interface speed
- :: s2: Current dial option s3:Current telno
- :: s4: Remaining alternate telnums s5: provisional speed
- ::
- mm224 if "itelno,1" if dX echo "Vritual Channel 1"; return
- if "itelno,2" if dX echo "Vritual Channel 2"; return
- if "itelno,3" if dX echo "Vritual Channel 3"; return
- if "itelno,1" port 1; set dirrx ""; echo "Port 1"; return
- if "itelno,2" port 2; set dirrx ""; echo "Port 2"; return
- if "%telno<2" echo "Please do not use \"call mm224\""; abort
- if iMODEM,MM224 if S>2500 sp 2400
- if iMODEM,MM224E if S>9600 sp 9600
- if iMODEM,MMV32 if S>19200 sp 19200
- if iMODEM,SM1200 if S>1201 sp 1200
- if iMODEM,C2400E sp 2400
- set? s0 S; sets s4 %telno
- mm2l: split s4 "+" ""; sets s4 %z1; sets s3 %z0
- set s1 ""; split s3 "/" ""; sets s3 %z0; sets s2 %z1
- handshake sw; pat; sets s5 "%s0"
- echo "PORT = %dport MODEM = %MODEM modifier = %s2"
- if js2,mnp set s1 "mnp"
- if js2,_s set s1 "_s"
- if js2,lock set s1 "lock"
- if iMODEM,AX9624 if js2,mnp sp 19200
- if iMODEM,TB if S>3000 if !%s1 set s1 "lock"
- if iMODEM,HST if js2,mnp sp 19200 :: Change this to match sp in inithst
- if js2,1200 sp 1200; set s5 1200
- else if js2,300 sp 300; set s5 300
- else if S==450 sp 300 echo "300 bps"
- else if !%s1 if "S<9500&&S>1201" sp 2400 echo "2400 bps"
- if !dv bye
- gosub waketb :: get modem to respond
- if iMODEM,C2400E sp 2400
- pat; pat 9 OK
- if iMODEM,C2400E if !js2,mnp put "AT&M0 &H0 &R1 &I0\r"; wait -f2
- if iMODEM,C2400E if js2,mnp put "AT&M5 &H1 &R2 &I0\r"; wait -f2
- if iMODEM,C2400E if js2,mnp_s put "AT&H2 &I1 &R1\r"; wait -f2
- if iMODEM,AX9624 if js2,mnp put "ATX4\\V1\\J0\\A3\\N3\\Q3\r"; wait -f2
- if iMODEM,AX9624 if js2,mnp_s put "ATX4\\V1\\J0\\A3\\N3\\Q1\r"; wait -f2
- put "AT"
- if iMODEM,HST if !js2,mnp put "&M0X6&B0&H0&R1&I0"
- if iMODEM,HST if js2,mnp put "&M5X6&B2"; if !js2,_s put "&H1&R2&I0"
- if iMODEM,HST if js2,mnp_s put "&H2&I1&R1"
- if iMODEM,HST if js2,_c put "&K1"
- if pMODEM,MM if js2,mnp put "&E2&E4&E13\44BA0&B0"
- if pMODEM,MM if js2,mnp_s put "&E5"
- if pMODEM,MM if js2,a_mnp put "&E1"
- if pMODEM,MM if "as5<2500" put "\44MB%s5"
- if jMODEM,C2400E if js2,a_mnp put "&M4"
- if iMODEM,HST if js2,a_mnp put "&M4S15=16"
- if iMODEM,HST if js2,300 put "&N1"
- if iMODEM,HST if js2,1200 put "&N2"
- if iMODEM,HST if js2,2400 put "&N3"
- if jMIDEM,HV if js2,v22 put "B0"
- if dp ss s2 "(c:)(.*)"; if %z2 put "%z2 " :: for extra commands
- if iMODEM,TB if is5,300 put "S50=1 "
- if iMODEM,TB if is5,1200 put "S50=2 "
- if iMODEM,TB if is5,2400 put "S50=3 "
- if iMODEM,TB if js2,fast z pW10000; put "S50=255 S7=50 "; if !%s1 set s1 "lock"
- if iMODEM,TB if js2,mnp put "S95=1 "
- if iMODEM,TB if js2,a_mnp put "S95=2 "
- if iMODEM,TB if %s1 put "S66=1 S58=2 " if S==19200 put "S51=5 "
- if iMODEM,TB if js2,_s put "S58=3 "
- if iMODEM,TB if js2,v22 put "S90=1 "
- if iMODEM,TB put "X3 S68=255 S111=0 "
- if iMODEM,TB if js2,xmodem put "S111=20 "
- if iMODEM,TB if js2,kermit put "S111=10 "
- if iMODEM,TB if js2,uucp put "S111=30 "
- if pMODEM,SM put "X3 "
- if "%s3>8" put "S7=70" : longer wait if long distance
- if pMODEM,MM put "X4&Q0"
- put "Q0S10=10V1\r"; wait -f2
- :: put "ATS6=3S8=1S0=0\r" wait -f2
- if !%MODEM put "ATX3\r"; wait -f2 :: Change this for your modem
- if iMODEM,C2400E if %s1 putw "AT&B6\r"; sp 9600
- :::if %s1 if !Js1,s handshake slow; lput "Handshake SLOW: "
- if %alds if ps3,0 putw "ATS8=10\r"
- put "%mprefix"; put "%s3%alds"; dis -Q
- if js2,man putw ";\r"; echo "Hit F1 when Tone is heard"; t; put "ATO"
- put "\r"; dis -t
- if "js3,;" accept s1 "Lift Telephone Receiver, Hit ENTER"; o; return
- pat 1 "CONNECT\r"; pat 2 "NO CARRIER"; pat 3 "BUSY"; pat 4 RING;
- pat 5l "ECT 12"; pat 6l "ECT 24"; pat 7l "CONNECT FAST"
- pat 8 "NO DIAL TONE"; pat 10l "CONNECT 300"
- pat 11l "CONNECT 96"; pat 12l "CONNECT 192"
- pat 13 "VOICE"; pat 14 "NO ANS"; pat 15l "CONNECT 4800"
- wait -f72
- while "4&&!L>3" wait -f40
- if "n||9||2||3||4||13||14" goto sorry
- dis -d
- if dd while "!c&&L<20" sleep 1 : For modems with slow carrier det
- if iMODEM,HST if "!hARQ" set s1 ""
- if !%s1 goto ns1
- if dp estimate 0 300; if "hCONNECT" ss y "[0-9]+"; estimate 0 z0
- if !Js1,s handshake slow; lput "Handshake SLOW: "
- echo "Speed Locked"; goto mm2end
- ns1: if "hARQ" echo "MNP Connected"; handshake both; goto arq
- if "hREL" echo "MNP Connected"; handshake both; goto arq;
- if "hERROR-CONTROL" echo "HV Connected"; handshake both; goto arq
- if js2,mnp set s2 ""
- arq: if "1||10" if is5,450 sp 450; echo "450 bps"; goto mm2end
- if "1||10" sp 300 goto mm2end
- if 5 sp 1200 goto mm2end
- if 6 sp 2400 goto mm2end
- if "du&&7" sp 9600 echo "9600 bps"; goto mm2end
- if "7||12" sp 19200; goto mm2end
- if 11 sp 9600; goto mm2end
- sorry: echo "No Connect Message Detected."
- : if iMODEM,TB sleep 10; pat; pat 1 OK; putw "ATN?\r" wait
- if iMODEM,C2400E if %s1 putw "ATZ\r"
- if %s4 echo "Attempting %s4"; speed s0; goback mm2l
- pat; bye; bye; fail
- mm2end: pat
- if js1,mnp sleep 15 : for gliches in MM224E
- sets telno %s3 : Telephone number we connected to
- if !js2,nodel queue delete
- return
-
-
- : inittb initializes the TrailBlazer NVRAM for these scripts
- : It may be necessary ot change the 9600 speed below if the
- : NVRAM has been set to a strange value by somebody else
- inittb sp 9600; ena -t; gosub waketb
- ena -t; pf4
- putw "AAAAAT&F\r"
- putw "AAAAATS51=255\r"
- sp 19200
- putw "A\336A\336A\336A\336A\336A\336A\336A\336A\336A\336A\336A\336AT\r"
- putw "aaaaaaaatS0=0 S7=45 S50=0 S52=1 S53=1 S54=1 S58=3 S68=3\r\336\336"
- putw "aaaatS111=255 S95=0 S92=1 S52=2\r\336\336"
- putw "aaaATJ6S39=3\r\336\336" : MNP bugfix magic incantation
- putw "aaaATS51=255&W\r\336\336"
- return
-
- : initmm initializes the MultiTech error correcting 224 NVRAM
- : Change &E14 to &E15 to enable MNP compression
- : "call initmm,aa" for Unix or VMS dial-in (NOT YAM HOST OPERATION!!)
- initmm speed 2400; pat; pat 0 OK; pat 1 ERROR; put "ATE1Q0\r"
- put "AT &F &C1 E1 Q0 V1 X4 B1 &E0 S0=0 S7=45 S11=80 Q0\r"; wait -f5
- if 1 echo "ERROR: cycle power on the modem and retry this script"; abort
- put "AT &D3 &C1 &T5 &E7 &E8 &E10 &E14 \44BA1 &B1\r"; wait -f5
- if jargs,aa put "ATE0 Q2 S0=1 S7=18\r"; wait -f5
- put at&w\r; wait -f5
- return
-
- : initc24e initializes the US Robotics Courier 2400E
- initc24e speed 2400; pat; pat 0 OK; pat 1 ERROR
- put "AT &F E1 V1 X6 B1 &G0 &Y1 S0=0 S7=45 S11=80 Q0\r"; wait -f5
- if 1 echo "ERROR: cycle power on the modem and retry this script"; abort
- put at&w\r; wait -f5
- return
-
- : inithv96 initializes the Hayes V9600 NVRAM
- inithv96 bye; sleep 20; speed 2400; pat; pat 0 OK; pat 1 ERROR
- set s1 "K4"; if dF set s1 "K3"
- put "AT &F V1 X4 W1 B1 &K0 &Q5 S36=1 S37=0 S0=0 S7=45\r"; wait -f5
- if 1 echo "ERROR: cycle power on the modem and retry this script"; abort
- put "AT &D3 &C1 &R1 &%s1 &T5 &W0 &Y1 &W0\r"; wait -f5
- return
-
- : initfc initializes a Fastcomm 2496t high speed modem
- initfc sp 9600; gosub waketb
- putw "AT #LDN #LCN S57=2 #W\r"; return
-
- : initsm initializes a Hayes Smartcom 2400
- initsm putw "at &c1 &d2 x3 v1 e1 q0 &s1 s7=45\r"; sleep 5; putw at&w\r
- return
-
- : initax9624 inits a Microcom AX/9624c MNP Class 6 modem
- initax9624 bye; sleep 20; speed 2400; pat; pat 0 OK; pat 1 ERROR
- set s1 "\\Q1"; if dF set s1 "\\Q3"
- put "AT &F V1 \\V1 &D3 Q0 E1 &C1 \\N0 X4 %s1 S0=0 S7=45\r"; wait -f5
- if 1 echo "ERROR: Reset the modem and retry this script"; abort
- put "AT &W\r"; wait -f5
- return
-
- :: If you change the speed below, you MUST change the speed in
- :: specially commented lines in mm224 and call2h !!!!
- inithst speed 19200; gosub waketb
- speed 19200; put "AT&F &B2 &M0\r"; wait -f4
- put "AT&A3 &K3\r"; wait -f4 :: enable v.42bis
- put "AT&W\r"; wait -f4
- return
-
-
- callcis speed 1200
- if %s3 obey "set telno %s3"; gosub tryd; if c sleep 20 put \3 return
- speed 300
- if %s2 obey "set telno %s2"; gosub tryd; if c sleep 20 put \3 return
- sp 1200
- if %s5 obey "set telno %s5"; gosub tryd; if c gosub tym12; return
- if %s4 obey "set telno %s4"; gosub tryd; if c gosub tel12; return
- echo "None of the numbers are working right now"
- sleep 100
- fail
- tel12 on !c fail
- pat 1 TERMINAL
- while !1 put "\r" wait -f2
- pat 1 @
- put "D1\r"; wait -f40
- if !1 o fail
- put "C 202202\r"
- return
- tym24 wait -f5
- in !c fail
- put A pat 1 "log in"; wait
- put "%s1\r"; return
- tym12 pat 1 x; wait
- on !c fail
- put A pat 1 "log in"; wait
- put "%s1\r"; return
- setup if %MODEM echo "Running ..."; goto ss1
- echo "Please set your DOS MODEM environment variable to one of:"
- lput "C2400E US Robotics Courier 2400E (MNP)\r\n"
- lput "HST US Robotics Courier HST\r\n"
- lput "HV96 Hayes V series 9600 bps\r\n"
- lput "MM224 MultiTech 224\r\n"
- lput "MM224E MultiTech 224E (MNP)\r\n"
- lput "MMV32 MultiTech MultiModemV32\r\n"
- lput "SM1200 Hayes Smartmodem 1200\r\n"
- lput "TB Telebit TrailBLazer\r\n\n"
- lput "with a DOS command like: set modem=MM224E\r\n\n"
- lput "Please hit Space to exit "; if y
- x
- ss1: set s9 1
- p-1; set mcommand "gosub dial"
- if !flocal.t gosub sinit; source local.t; goto setu1
- source local.t
- echo "Hello %n1 %n2."
- lput "Has your phone number info changed since the\r\n"
- lput "last time you entered your name (y/n) ?"
- if y del local.t; gosub sinit; source local.t
- setu1: set f3 @rb;
- set f8 \PXXXXX
- set calllog callog
- set rxlog rxlog
- set txlog txlog
- if du goto setu3
- if c gosub carrier
- if dd pd1; pz480
- set f3 @rb; set f4 "@echo Working...; gosub tlearn"
- set f5 "@accept s1 Send-File(s): sz %s1"
- set f6 "@accept s2 Receive-File: rc %s2"
- set f7 "@accept s1 Send-File: sx %s1"
- set f8 "\PXXXXX"
- set f9 "@gosub add"
- set fs1 "@find speed %phones"
- set fs2 "@accept s1 Name:; find \n%s1 %phones"
- set fs3 "@find \\\;\r %phones"
- set fs4 "@speed 1200 putw ATH\r"
- set fs5
- @accept s1 "System name to call: "; queue add " call %s1"; queue list
- set fs6
- @lput "Queue Entries:\n"; queue list; echo "Working..."; queue run
- if f/umanh.hlp set helpfile "@!yhp /umanh.hlp dmain"; set f10 "@help"
- if fumanh.hlp set helpfile "@!yhp umanh.hlp dmain"; set f10 "@help"
- if %f10 goto smenu
- echo "Note: \7Help Database \7(part of YAMHELP.ZIP) \7NOT FOUND"
- sleep 50
- smenu: sets menu %phones
- cls; purgek; goto cmdch
- demo cls
- cmdch: pv0; echo " Professional-YAM Demonstration (with ZMODEM) "
- display nlmode nooverstrike
- purgek
- lput "\ns Generate a script with AI \E[1mTurboLearn Script Writer\E[m(Tm)\n"
- if fnewscr.t lput "e Execute your new script in newscr.t\n"
- lput "f Flash-up HELP Processor\n"
- lput "a Add a new system entry to the Telephone Directory\n"
- lput "c Compuserve Online Demo (requires modem)\n"
- lput "d Dial telephone number and connect\n"
- lput "q Enter telephone numbers into \E[1mDialing Queue\E[m\n"
- lput "g Go Local (Direct Connection)\n"
- lput "h Host Operation demo (dial-in)\n"
- lput "i Initialize TrailBlazer modem\n"
- lput "l List file names in current directory\n"
- lput "n Newest files listed first\n"
- lput "o Display Ordering Information\n"
- if fyamlove.tqt lput "p Print Pro-YAM reviews\n"
- lput "r Review (circular buffer search/cut/paste) demo\n"
- lput "t Call Telegodzilla (Omen's Software Downloading System)\n"
- lput "u Utility command demo\n"
- lput "v Voice call to Omen Technology (requires modem)\n"
- lput "y Exit to YAM command mode\n"
- lput "x eXit to DOS\n\n"
- display nonlmode
- choos: acceptl1 s1 "Please enter your menu choice "
- if is1,a gosub add; cls; goback cmdch
- if is1,c call cidemo; cls; goto cmdch
- if is1,d call xdnum; cls; goto cmdch
- if is1,e call .newscr.t; ife c goback choos; goback cmdch
- if is1,f help; goback cmdch
- if is1,y goto quitt
- if is1,z goto quitt
- if is1,g call glocal; cls; goback cmdch
- if is1,h gosub host; host; return
- if is1,i gosub inittb; return
- if is1,l dirr; goto choos
- if is1,n dirt; goto choos
- if is1,o gosub order; goto choos
- if is1,q gosub queue; goback cmdch
- if is1,r gosub review; goto choos
- if is1,s echo "Working..."; gosub tlearn; acceptl1 s0 "Hit Enter "; goback cmdch
- if is1,t call telegodzilla; cls; goto cmdch
- if is1,u gosub udemo; cls; goto cmdch
- if is1,v call caf; if y||df putw "ATZ\r"; goto choos
- if is1,x x
- if is1,p gosub printit; cls; goto cmdch
- cls; echo "Unknown Command"; goback cmdch
- udemo: echo "Enabling debug output to show the commands"; pv4
- echo "The find command searches files for a string, case insensitive"
- sleep 80
- find demo *.t
- echo "The dump command gives a side by side hex/ASCII dump"
- dump local.t
- echo "The sum command calculates file checksum compatible with Unix"
- sum local.t
- sleep 80
- echo "Word Count: lines, words, printing characters, and characters"
- echo "The count of printing characters predicts ribbon usage!"
- wc *.t
- sleep 80
- echo "The chek command calculates a 16 bit file CRC useful for comparing"
- echo "Multiple copies of the same file for accurcacy and identity."
- chek local.t
- timestamp
- sleep 80
- echo "Paced upload transmission demonstration"
- echo "File Upload pacing is used with bulletin boards, etc."
- echo "Note the EXTRA delay at the end of each line"
- display nooverstrike
- open %phones
- echo "Let's just send a little bit from the END of the file"
- seek -120
- sleep 80
- ph2; o; t -adhxtp
- close; pv0; dis -dah
- return
-
- 73 speed 1200 %l-603-924-9809 t
- amrad-bbs speed 300 %l-703-734-1387 t
- amsat-bbs speed 300 %l-512-852-8194 t
- caf speed 1200 %s8-3406\;
-
- cidemo speed 1200 set s1 "cis02"; gosub callcis
- pat 0 OK;
- pat 1i ID:
- pat 2 "please log in: "
- pat 3 "DISCONNECTED"
- pat 4 "?? LOG"
- pat 5i "more !"
- pat 6$ "!"
- pat 7i "continue!"
- wait; put 77770,101\r
- pat 1i assword:; wait; if !1 goto cid2
- echo "Sending PASSWORD"; put FREE-DEMO\r
- wait
- cid2: if "3||2" echo " Login may be possible through a Compuserve Node "
- if "1||4||3||2" echo " Try Again Later "; o; sleep 50; return
- pat;
- pat 1i "menu !"
- pat 2i "page !"
- pat 3i "choice !"
- pat 4i "continue!"
- pat 5i "more !"
- pat 6$ "!"
- put \25s\r
- wait put "\025t\r"
- wait put "\0253\r"
- wait put "\025s 1\r"
- wait put "\025log\r"
- pat 1i ID:
- wait -f5
- echo "Good Bye Cruel World"
- close
- o
- gosub ak
- gosub review
- return
- review if !fcdemo echo "Sorry, the file \"cdemo\" is missing."; return
- kill; read cdemo
- del cut
- <revv
- review
- echo "Let's play with that file."
- echo "First, a word count"
- wc cut
- echo "Next, 32 bit file CRC, then a Unix style checksum"
- crc cut; sum cut
- sleep 100
- return
- navobsy speed 1200 %l-202-653-1079 t -u7e
- echo " type @tco for list of commands "
- nbs speed 300 %l-301-948-5717 t
- nbs2 speed 300 %l-301-948-5718 t
- nolog set rxlog ""; set txlog ""; set calllog "";
- oem speed 1200 %s8 pat 1i \5;wait;put \1;sb;o
- omen-tech speed 1200 %s8 t
- source300 speed 300 295-3028
- goto sourcex
- source1200 speed 1200 295-3028
- sourcex: on !c o fail
- set f8 "upi n b "
- set f9 "upi n g "
- set f10 ",-,*,sb\r"
- pf3
- patt; patt 1 TERMINAL
- while !1 put "\r" wait
- pf40 patt 1 @
- put "D1\r"; wait
- if !1 o fail
- put "c 30124\r"
- kill; patt; patt 1 SOURCE; wait
- if !1 o fail
- put "id xxx000 vvvvvvv\r"
- patt 1 "number or HELP"
- wait; put 6\r
- t
- telegodzilla speed 2400 %s8-3746
- ena -Z; display overstrike; cls; pat 1 \n
- while "!1&&c&&L<10" put \r wait -f1
- if !1||!c echo "Access Failed"; o; return
- pat 1 "ease:"; wait -f2
- put "\b\b%n1 %n2\r"; pat 1 ect;wait -f2
- put "y"; pat 1 "-Host"; wait -f5
- set n9 "TeleGodzilla"
- tele1: echo "You are now Online to \42%n9\42."
- echo "Type F1 when done."; pat; t -Z!vn
- lput "\Ez Do you wish to disconnect (y/n) "
- if y echo " Disconnecting ... ";put \30\4; wait -f2; o; return
- echo " ************** Rewinding the Capture Buffer ************** "
- rewind; wait -f0; goback tele1
-
- host echo " host " speed 1200
- set welcome welcome.txt
- set password Ritchie
- set challenge challeng.txt
- set unrestrict "CustomerSupport" : WARNING - CHANGE THIS!!
- set xhelpfile xyamhelp.t
- set private private; set messages messages
- set emdir "."; set twxfile twx;
- set call1 ATZ\r\336ATZ\r\336\336
- set call2 ATZ\r\336\336ATM1X1S0=1\r\336ATM1X1S0=1\r\336\336
- set callpath "*.xx?"
- set outahost "@pk512; putw ATM0H1\r"
- set baudstr "@gosub baud"
- : px2; py9600; set linkpass "Giznoid";
- : set outalink "@kill; put \r\4;o"
- : pk3
- pc40
- create -y annoy.xx
- echof< " gosub annoy"
- close
- return
-
- annoy cls
- timestamp
- echo "This COULD have been an outgoing call, something useful"
- echo "Type <Enter> to stop the Callout Queue Scan"
- sleep 80
- if k del annoy.xx; echo "Type F1 to exit Host, then 'call demo'"; sleep 100; fail
- cls
- echo "Too Late; better luck next time (40 Seconds)"; sleep 80; return
- sinit pv0; cls; purgek
- echo " Initial setup for Professional-YAM DEMO with ZMODEM "
- echo " I need some phone information. "
- accept n1 " Your \E[1mFirst\E[0m name please "
- accept n2 " Your Last name please "
- set s8 ""
- getac: accept s8 " Please enter your 3 digit telephone area code, plus <Enter> "
- if !%s8 goto getac
- echo "I need local access numbers for the Compuserve Information Service."
- if dd lput "Shall I search for them (y/n) ?"
- if dd if y echo "300/1200 bps Access Numbers"; find "%s8 " cisnodes.lst
- purgek
- echo "Just hit <Enter> if your modem doesn't have the indicated speed."
- accept s3 " Please enter the 1200 baud local Compuserve Node phone Number "
- accept s2 " Please enter the 300 baud local Compuserve Node phone Number "
- accept s5 " Please enter the 1200 baud local Tymnet Node phone Number "
- accept s4 " Please enter the 1200 baud local Telenet Node phone Number "
- echo "Creating disk file 'LOCAL.T' for future reference"
- kill; pv0; create -y local.t
- echof " :Area Code is \042%s8\042"
- if %s2 echof " set s2 \042%s2\042"
- if %s3 echof " set s3 \042%s3\042"
- if %s4 echof " set s4 \042%s4\042"
- if %s5 echof " set s5 \042%s5\042"
- if %n2 echof " set n2 \042%n2\042"; echof " set n1 \042%n1\042"
- echof " set s8 1-503-621"
- lput "\EzAre you using a Color Monitor? (y/n) "
- if y echof " if dd&&dc ps4 pn3 pr97 pu6"; ps4 pn3 pr97 pu6
- lput "\r\nIs your display adapter flicker/snow free? (y/n) "
- if y echof " if dd&&dc display warpdrive"; display warpdrive
- lput "\r\nIs your modem connected to COM2? (y/n) "
- ife y echof " port 2; set s9 2"; else echof " port 1; set s9 1"
- lput "\r\nDo you use DTMF (TouchTone) dialing? (y/n) "
- if y echof " set mprefix ATDT"
- lput "\r\nDoes your modem include 2400 bps or higher? (y/n) "
- if y echof " set mcommand \"gosub mm224\""; set mcommand "gosub mm224"
- if dd echo "Searching for directory entries in your area code"
- if dd find l-%s8- demophon.t
- if dd echo "Please change the lines listed above to suit your area."
- if !is8,503 close; echo "Local.t created"; return
- kill; pv0
- purgek
- lput "Is 621-3746 (Burlington Exchange) a local call for you ? (y/n) "
- if y echof " set s8 621"
- else echof " set s8 1-621"
- close; echo "Local.t created" return
- quitt: echo " Type 'menu' to return to this menu "
- if !%f10 quit
- echo " Press F10 for Flash-Up Help "
- quit
- printit purgek; lput "Type device to print to (lpt1, lpt2 or lpt3)\n"
- accept s0 "Or, just type enter to Display on the screen "
- if !%s0 more yamlove.tqt; return
- echo "Keyboard Ctrl-X to Stop Printing"
- obey >>%s0
- purgek; list yamlove.tqt
- >
- return
- carrier lput " Type \ESy\Eq if the modem on port \ET%s9\Eq is now connected to a computer: "
- if y echo "OK, just checking"; sleep 30; return
- lput "\r\n\nAlthough Professional-YAM can operarte with the modem's\r\n"
- lput "Carrier Detect signal always on, this script (and most YAM\r\n"
- lput "scripts) require the Carrier Detect signal to read the actual\r\n"
- lput "modem status. Please adjust the modem accordingly; on the Hayes\r\n"
- lput "SmartModem 1200, switch 6 should be UP. "
- off
- xdnum: cls
- if jmcommand,mm223 sp 2400; goto xd1
- lput "Use 2400 Baud (y/n) ? "
- speed 1200
- if y speed 2400
- lput "Use 300 Baud (y/n) ? "
- if y speed 300
- xd1: accept telno "Enter Telephone Number: "
- if !%telno return
- if Jmcommand,2 gosub mm224
- if Jmcommand,l gosub dial
- sets n9 "%telno"
- goto tele1
- glocal cls
- lput "Use Port 2 (y/n) ?"
- if y port 2
- else port 1
- accept n9 "Type speed in Bits Per Second (300,1200,...19200) "
- if %n9 obey "sp %n9"
- set n9 "Local"
- tele9: echo "You are now Online to %n9."
- echo "Type F1 when done."; pat; t -Z!v
- lput "\Ez Finished talking now (y/n) "
- if y goto tele2
- echo " ************** Rewinding the Capture Buffer ************** "
- rewind; wait -f0; goback tele9
- tele2: lput "\Ez Do you wish to disconnect (y/n) "
- if y echo " Disconnecting ... ";put \30\4; wait -f2; o
- obey "port %s9"
- return
-
- :: Generate a script with TurboLearn Script Writer(TM)
- tlearn set xfa10 "" :: telephone number, and flag that telno was entered
- if c echo "Already connected (Carrier Detect is ON)"; goto connected
- cls
- accept xfa10 "Enter Telephone Number "
- ag1: accept xfa1 "Enter Speed (300, 1200, 2400) "
- if ixfa1,2400 speed 2400 goto ag2
- if ixfa1,1200 speed 1200 goto ag2
- if ixfa1,300 speed 300 goto ag2
- echo "Bad speed"; goback ag1
- ag2: lput "\r\n1 System uses IBM PC (ANSI) line drawing characters\r\n"
- lput "2 System uses 7 bits even parity\r\n"
- lput "3 System uses 8 bits No parity (8n1)\r\n"
- lput "\r\n"
- acceptl1 xfa2 "Choose one of the above: "
- lput "\r\n"
- ena -8n
- @%xfa10
- if !c echo "Sorry, no connection"; return
- set xfa5 ""
- if ixfa2,1 ena -8g; set xfa5 "ena -8g"
- if ixfa2,2 ena -7e; set xfa5 "ena -7e"
- connected:
- echo "Finish with F1. Use ALT-B to send a break if necessary"
- learn -y tlrn.tmp
- cn2: if !r echo "WARNING: Learning (recording) terminated prematurely!"
- close
- kill
- create newscr.t
- if !r abort
- echo "Is this to become a Telephone Directory entry (y/n)?"
- if !y goto nodir
- accept xfa6 "What directory entry name to use? "
- echoc "%xfa6 speed %xfa1 %xfa10 %xfa5"
- nodir: close; set xfa2 ""
- echo "Should the script disconnect the phone line (y/n) ?"
- if !y "!tlearn tlrn.tmp >>newscr.t"; goto scdone
- set xfa2 "bye; return"
- echo "Should the script then exit to the Operating System (y/n)?"
- if y set xfa2 "off"
- !tlearn -r tlrn.tmp >>newscr.t
- create -+ newscr.t; echof " %xfa2"; close
- scdone: echo "Your new script is in the file 'newscr.t' !!"
- if %xfa10 echo "You may add this file to your Telephone Directory"
- if %xfa10 echo "Or execute it with 'call %xfa6.newscr.t'"; return
- echo "You may execute this file with 'source newscr.t'"
- return
-
- :: Add a telephone directory entry
- add if r close
- cls
- echo "Create New Phone Directory Entry"
- xg0: accept xfa3 "Enter new directory name: "
- p?0
- lput "Searching for duplicate name"
- find "\n%xfa3" %phones
- if ? echo "Please choose another name"; goback xg0
- accept xfa4 "Enter Comments for this number: "
- accept xfa10 "Enter Telephone Number: "
- xg1: accept xfa1 "Enter Speed (300, 1200, 2400, 9600, 19200): "
- if ixfa1,19200 speed 2400 goto xg2
- if ixfa1,9600 speed 2400 goto xg2
- if ixfa1,2400 speed 2400 goto xg2
- if ixfa1,1200 speed 1200 goto xg2
- if ixfa1,300 speed 300 goto xg2
- echo "Bad speed"; goback xg1
- xg2: lput "\r\n1 System uses IBM PC (ANSI) line drawing characters\r\n"
- lput "2 System uses 7 bits even parity\r\n"
- lput "3 System uses 8 bits No parity (8n1)\r\n"
- lput "\r\n"
- acceptl1 xfa2 "Choose one of the above: "
- lput "\r\n"
- set xfa5 ""
- if ixfa2,1 set xfa5 " -8g"
- if ixfa2,2 set xfa5 " -7e"
- kill; pv0; create -+ %phones
- if !%xfa4 goto nobanr
- echoc "%xfa3 speed %xfa1 echo \42%xfa4\42 %xfa10 t%xfa5"
- close; return
- nobanr: echoc "%xfa3 speed %xfa1 %xfa10 t%xfa5"
- close; return
-
- order if forder display overstrike; page order; return
- cls display overstrike
- lput " Professional-YAM sells for $139, including software on\r\n"
- lput " two diskettes, a demonstration diskette with the online help\r\n"
- lput " processor, DDeemmaanndd UUppggrraaddeeTM technology, CCrriibb SShheeeett reference\r\n"
- lput " card, and a typeset, cross referenced 220 page manual in PC\r\n"
- lput " size binder. Site and corporate licenses are available.\r\n"
- lput " Unix, Xenix, and source license versions are available.\r\n"
- lput " CryptoScript is available at extra cost.\r\n"
- lput "\r\n"
- lput " Omen Technology (503-621-3406) accepts VISA/MC and UPS COD\r\n"
- lput " phone orders for Pro-YAM. Orders prepaid with check are\r\n"
- lput " shipped domestic postage paid. Invoicing charge $10 per\r\n"
- lput " invoice. UPS Blue is $5, International Air Mail to most\r\n"
- lput " countries is $15.00, $20.00 to Australia, etc.\r\n"
- lput "\r\n"
- lput " Let your printer do the work! print and use MAILER\r\n"
- lput "\r\n"
- lput " Pro-YAM may also be ordered from:\r\n"
- lput " The Programmer's Shop (800) 421-8006\r\n\n\n"
- return
- baud pat 1 "CONNECT\r\n"; pat 2 "NO CARRIER"
- pat 5 "CONNECT 1200\r\n"; pat 6 "CONNECT 2400\r\n"
- pe-20
- wait -Ef25
- dis -E
- if 1 speed 300 return
- if 5 speed 1200 sleep 20 return
- if 6 speed 2400 sleep 20 return
- kill create -+ rings
- timestamp
- nolog close
- fail
- : This assumes a Hayes compatible modem set for extended result messages
-
- genie speed 1200 287-9045
- lput "\E[H\E[2J"
- lput "\E[1mDownload hot key: F3=XMODEM F8=OverThruster\E[m"
- lput "\E[2;24r\E[?6h\E[H"
- ena -7e; pat 1 "U#"
- while "c&&L<8&&!1" put "\r" wait -f2
- if !1 echo "No Response from Genie"; o; fail
- pat 2 "PASS"
- while !2 put "abc12345,\r" wait -f5
- put "abcd\r"
- gen3: set f3 "@set s5 xx; source %lib/gekxdl.t"
- set f8 "@set s5 x; source %lib/gekxdl.t"
- pO20; if S>2400 pO40
- ph2; ena -h
- t; ret
-
- cis speed 2400 nolog 239-6124
- pat 1i "^"
- while !1&&L<8 wait -f2 if !1 echo "Sending ^C" put "\3"
- cis: lput "\E[H\E[2J"
- lput "SIG Download Browse hot keys: F3=B Protocol F8=XMODEM F7=capture"
- lput "\E[2;24r\E[?6h\E[H"
- pat 1 ID:; wait
- put 70001,0001\r pat 1 assword:; wait; put "wrongo\r"
- pat 1 OK; pat 2 Plex!; pat 3 "\nFunction: "; pat 4 "!"
- set f3 "@source %lib/kcisdl.t"
- set f7 "@source %lib/ckcisdl.t"
- set f8 "@source %lib/xkcisdl.t"
- wait
- if n o return
- pat; t -fcs!p
- return
- cis02 speed 2400 nolog 222-2151 : Compuserve via Tymnet 2400 bps
- pat 1i x; wait -f5 put A pat 1 "log in"; wait
- put "cis02;"; goto cis
- cis02 speed 1200 nolog 222-0900 : Compuserve via Tymnet
- pat 1i x; wait put A pat 1 "log in"; wait
- put "\030cis02;" goto cis
- cisdat speed 1200 %l-604-687-7144 : Compuserve via Datapac
- sleep 25
- ena -t
- put "..\r"
- pat 1 "DATAPAC"
- wait -f4
- put "P 29400138\r"
- dis -t
- pat 1 "Name:"
- wait -f20
- put "cis\r"
- goto cis
- cistel speed 1200 295-3028 : Compuserve via Telenet
- pat 1 TERMINAL
- while !1 put "\r" wait -f1
- pat 1 @
- put "D1\r"; wait -f4
- if !1 o abort
- put "C 202202\r"
- goto cis
-
-