-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathAUTOADV.DOC
1821 lines (1033 loc) · 51.9 KB
/
AUTOADV.DOC
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
A U T O S I G
Version 6.3
March, 1990 Manual Revision
A Communications Program for
Accessing CompuServe
This manual describes the advanced functions for the
ATOPPN database processor, the ATO script language,
and ACLS Accounting Log Summary components of AUTOSIG.
AUTOSIG Version 6.3 - March, 1990
(c) Copyright 1985-90 by Vernon D. Buerg
T A B L E O F C O N T E N T S
__________________________________________________________________________
Introduction ......................................................... 1
I. ATOPPN - ATO Address Book ....................................... 2
ATOPPN Menu ..................................................... 3
Address Book Commands ........................................... 4
A Add manual entry ........................................... 4
B Switch PPN database file ................................... 4
C Change current entry ....................................... 4
D Delete current entry ....................................... 4
E Erase PPN file ............................................. 4
F Find name or userid ........................................ 4
M Switch message file ........................................ 5
L sort by Last name .......................................... 5
N sort by Name ............................................... 5
P Put entry to TO: field ..................................... 5
R Repeat Find to next ........................................ 5
S Sort by userid/ppn ......................................... 5
U Update file from msgs ...................................... 6
Q Quit, return to ATO ........................................ 6
ESC Abort, return to ATO without updating .................... 6
II. ATOSCR - Script File Processing ................................. 7
Statement syntax ................................................ 8
Summary of Verbs ................................................ 13
Examples ........................................................ 14
Example 1. .................................................... 14
Example 2. .................................................... 14
Example 3. .................................................... 15
Example 4. .................................................... 15
Example 5. .................................................... 16
Example 6. .................................................... 16
Example 7. .................................................... 17
Example 8. .................................................... 18
Example 9. .................................................... 19
Global symbols .................................................. 20
%HOST variables ............................................... 20
%SIG variables ................................................ 20
%PC variables ................................................. 21
%SW Command line variables .................................... 21
Other global variables ........................................ 22
III. ACLS - Accounting Log Summary ................................... 23
Log Files ....................................................... 23
Running ACLS .................................................... 24
Figure 1. ACLS Accounting Summary .............................. 25
Figure 2. RATES.ATO sample data ................................ 25
Figure 3. ACLS Rates and Definitions ........................... 25
Figure 4. ACLS Sample Output ................................... 26
Appendices .......................................................... 27
Disclaimer ...................................................... 27
Copying and sharing AUTOSIG. .................................... 27
Using Virtual Disks ............................................. 28
Contents 1 AUTOSIG Advanced Functions Guide
Introduction
______________________________________________________________________________
AUTOSIG is a program written specifically for CompuServe Special
Interest Group access. It provides an automatic way of processing SIG
messages that is quick and economical.
AUTOSIG is a FREE communications program written with Quick Basic and
assembly language. It is provided as a executable (.EXE) program for
the IBM PC. It is fully compatible with Compaq computers, the Tandy 1000
and 1200, and most other clones. In addition to its main purpose of
offloading messages, it is a terminal program which can be used to
access other areas of CompuServe and download from the Data Libraries
using "B" protocol.
This manual discusses three advanced features of AUTOSIG:
1 - the PPN database processor for keeping an address book
2 - the script processor used to execute a stored series of ATO commands
3 - the ACLS accounting log summary report program
Page 1 AUTOSIG User's Manual
I. ATOPPN - ATO Address Book
______________________________________________________________________________
| ATOPPN allows you to maintain your own local address book of up to 2000
| user names and IDs. Using ATOPPN makes finding people's names and ID
| numbers easy. About 340K of available memory is required to run ATO
| with the ATOPPN database.
ATOPPN is one of those features that's much easier to use than it is to
explain, so here's a short summary of functions. After getting the
"flavor" of ATOPPN your best bet is to go for it.
ATOPPN is invoked by using the alt-M command at the Main Menu, at a
R>ead prompt, or at the To: prompt when W>riting messages.
| The name of the ATOPPN database file is defined in the ATO Forum
| Options menu. The default is AUTOSIG.PPN. You may have more than one
| ATOPPN databse file.
The display consists of a command menu and a list of user IDs and names.
You may enter a letter to invoke a function, or press a cursor
positioning key to scroll the display of user IDs and names. The cursor
positioning keys are:
HOME - position to the first PPN entry
END - position to the last PPN entry
down arrow - position to the next entry
up arrow - position to the previous entry
PgUp - move back 20 entries
PgDn - move ahead 20 entries
The "current" entry is shown in two places: on the left side above the
command menu, and highighted in the list of PPNs. This is the entry
that is the subject of any Change or Delete commands, and of the Paste
command.
You may exit the program by using the Q command to save changes and
quit, or the ESCape command to not save any changes and abort.
The display gives you the name of the PPN file and of a file which
contains downloaded CompuServe messages. You may change the PPN file
name with the B command, or the message file name with the X command.
The PPN file contains ASCII records, one for each user ID. Each record
ends with a carriage return (CR) and line feed (LF). The user ID begins
in column 1 and ends in column 10. The name begins in column 12 and may
| be up to 24 characters long. A user ID must be of the form 7xxx,xxxx
| where the x may be a number from 0 to 7.
The ATOPPN menu appears as follows:
AUTOSIG User's Manual Page 2
I. ATOPPN - ATO Address Book
______________________________________________________________________________
ATOPPN Menu
+--------------------------+ +--------------------------+
| AUTOSIG PPN Database | 0 | AUTOSIG.PPN |
+------------------------------------+ +--------------------------------------+
| A - Add a manual entry | | |
| B - switch PPN database file | | |
| C - Change current entry | | |
| D - Delete current entry | | |
| E - Erase PPN file | | |
| F - Find name or userid | | |
| M - switch Message file | | |
| L - sort by Last name | | |
| N - sort by Name | | |
| P - Put entry in TO: field | | |
| R - Repeat Find to next | | |
| S - Sort by userid/ppn | | |
| U - Update file from msgs | | |
| Q - Quit, return to ATO | | |
+------------------------------------+ | |
_ Select a letter | |
| |
| |
Msg file: IBMCOMM.ATO | |
| |
+--------------------------------------+
Use ESCape to abort, no updates Use cursor keys to scroll display 0
Page 3 AUTOSIG User's Manual
I. ATOPPN - ATO Address Book
______________________________________________________________________________
Address Book Commands
A Add manual entry
You are asked to enter a new user ID (PPN) and name. The user ID must
be two numbers separated by a comma. The name may be up to 24
characters long. Follow the CIS convention. The new entry is added to
the end of the file. For example, you could enter
Their name first 70000,0000
| User IDs may also be added while R)eading messages with ATO. When you
| use the Alt-I command to insert a PPN, that entry is added to the end of
| the ATOPPN database. When ATOPPN is invoked, you are prompted whether
| or not you want to add the inserted user ID.
B Switch PPN database file
You are asked to enter the name of the PPN file you want displayed. You
may include a drive and/or path name. For example, C:\ATO\IBMCOM.PPN is
acceptable.
C Change current entry
You are prompted to supply new name information for the current entry.
You can not change the PPN number.
D Delete current entry
The highlighted current entry is deleted. The next entry becomes the
new current entry.
E Erase PPN file
You are prompted to verify that you want to delete the PPN file, and may
reply with Y to delete the file, or N to keep the file.
F Find name or userid
You are prompted for a text string. ATOPPN searches the PPN file for
that text. The search is case insensitive. If the text is found in an
entry, that entry is made the current entry.
AUTOSIG User's Manual Page 4
I. ATOPPN - ATO Address Book
______________________________________________________________________________
Address Book Commands
M Switch message file
| You are presented with a menu of forum names. Type in the letter for
| the forum message file that you wish to use. Alternatively, you may type
| in a file name that represents a file of downloaded CIS messages. You
may include a drive and/or path name. For example, C:\ATO\IBMCOMM.ATO
is acceptable.
L sort by Last name
The PPN file is sorted by ascending order of user last names. Middle
initials are ignored but title, like [SuperForum] may obscure the sort.
N sort by Name
The PPN file is sorted by user name in ascending order. The sort is
case insensitive. That is, the names "bill" and "BILL" are treated as
the same name.
P Put entry to TO: field
The user name and ID are returned to the calling program. For AUTOSIG,
this information is copied to the "To:" field in the message editor.
Otherwise, the information is displayed on the console. For EMAIL
messages, only the ID (ppn) is copied.
R Repeat Find to next
Used after a successful Find command, the R command searches for the
next occurrance of the text in the PPN file.
S Sort by userid/ppn
The PPN file is sorted by user ID (PPN) in ascending order.
Page 5 AUTOSIG User's Manual
I. ATOPPN - ATO Address Book
______________________________________________________________________________
Address Book Commands
U Update file from msgs
ATOPPN scans the CIS message file for message headers. It then extracts
the user names and IDs from the "Fm:" line. When a new userid is
encountered, you are given the prompt:
Add 7xxxx,xxxx new user
Y>es, n>o, s>top asking, q>quit?
Respond with a Y to add the new userid, an N to bypass , an S to add the
userid and stop asking each time a new userid is encountered, or with a
| Q to stop processing the message file. Duplicate userids are added if
| the name is different.
Q Quit, return to ATO
You are returned to ATO, and if any changes were made the PPN file is
re-written.
ESC Abort, return to ATO without updating
You are returned to ATO and no updates are processed. The PPN file
remains unchanged.
AUTOSIG User's Manual Page 6
II. ATOSCR - Script File Processing
______________________________________________________________________________
ATO can execute commands from a script file. Scripts are a series of
user coded statements contained within a file. You execute a script by
issuing the alt-T command while in Terminal Mode. Or, you may specify a
special logon script in each Host entry. Or, you may supply the name of
the script on the command line for starting ATO using the /X parameter.
For example:
AUTOSIG /Xdostuff.scr
A script ends when the last statement has been processed, you press the
| ESCape key, or if an error is detected. The current limit is 200 lines
| in a script file, and 150 different symbols.
You may also enter one script command at the terminal by using the alt-I
keys.
Script statements have the following syntax:
verb [operand1 operand2 ... operandn]
You must separate the verb and operands by one or more blanks. For
example:
UPL funtim.arc /type:ascii/prot:b|c:\save\funtime.arc
Operands consist of one or more symbol names, and/or literal data.
Symbols are either global system variables, or user defined variables.
The names may be of any length and may contain any characters except a
space or a single quote. Global names are listed below. User names can
be any name except that of a global varable. Literal data is a string
of characters enclosed within single quotes. Quotes are not required
unless the literal string contains the name of a symbol, a space, or a
comma.
For example, %HOSTsymbol is a global variable, %XZ may be a user
variable, and 'hello there' is literal text data.
If the operand is [data], you may supply a list of symbol names and/or
literal values. They are combined into one value.
While scripts are being processed, COM data may be received. The COM
data is not processed until a READ, WAIT of MATCH verb is executed. The
last line of COM data is available in the global variable called %COM.
Page 7 AUTOSIG User's Manual
II. ATOSCR - Script File Processing
______________________________________________________________________________
Statement syntax
Verb: * [comment]
Function: Provide user comments or remarks Usage: The statement is ignored.
Verb: label: [statements]
Function: Name a statment for branching purposes.
Usage: Performs the same function as the LABEL verb.
Verb: ACCEPT symbol
Function: Read data from the console into a variable.
Usage: If 'symbol' is not currently defined, it becomes defined.
Unless otherwise noted, global symbols may not be modified.
Verb: BEEP
Function: Sound the computer's horn. The ATO beep toggle status is
not used.
Verb: CAPTURE [OFF|ON|filename]
Function: Open or close a capture file.
Usage: To open a capture file, specify a file name the first time.
After closing the capture file, you may re-open it with the
same file name by specifying ON. All received data, except for
protocol file transfer data, is written to the end of the capture
file. For example,
CAPTURE FORUM.LOG
... do some stuff ...
CAPTURE OFF
... do some more stuff ...
CAPTURE ON
... writing to FORUM.LOG again ...
Verb: CLOSE filenumber
Function: Disconnect access to the file associated with filenumber.
Verb: CLS
Function: Clear the screen.
Verb: DISPLAY [data]
Function: Writes data to the current display monitor.
Usage: The 'data' value may be a list of symbol names, and/or literal
strings.
AUTOSIG User's Manual Page 8
II. ATOSCR - Script File Processing
______________________________________________________________________________
Statement syntax
Verb: DOW filename
Function: Invokes CIS-QB protocol to download the specified file. The
file is placed in the drive\path defined by the Host entry.
| The [7xxxx,xxxx] user ID after the filename is optional.
Verb: ELSE [statement]
Function: Process [statement] only when the IF condition is false.
Verb: EXIT [code]
Function: Terminate processing of the current script file, and
if supplied, perform the 'code' function. The code may be
any single character that is acceptable at the main ATO menu
prompt, such as Z to logoff, or 1 to run AUTO /1, etc.
Verb: GOTO label
Function: Transfer script processing to the LABEL statement with the
identity of 'label'.
Verb: IF var1 var2 [statement]
Function: Set the condition code based on contents of 'var1' and 'var2'
Usage: The condition is set to TRUE if 'var2' occurs within the
'var1' variable, not if they are exactly equal. You can use the
global and local symbols as var1 and/or var2. For example, you
can use %COM to determine if some data occurs in the communications
buffer, e.g. IF %COM 'NO CARRIER' THEN DISPLAY 'Gone fishing!'.
The optional [statement] is executed when the condition is true.
Both 'var1' and 'var2' are required. The special %EOF variables
have either a null value or the value 'EOF'.
Verb: LABEL labelname
Function: Identify a statement for branching purposes.
Usage: There is no checking for duplicate labels. The first occurance
of the label name is used by script verbs, e.g. GOTO. Labels can
also be entered in the form "label:", where the colon after
the label name identifies the script statement for use by GOTO.
For example:
LABEL LOOP
Display "Hello"
-or-
LOOP: Display "Hello"
Page 9 AUTOSIG User's Manual
II. ATOSCR - Script File Processing
______________________________________________________________________________
Statement syntax
Verb: LOGON
Function: If necessary, sends dialing commands to the modem, and
connects to the selected Host; it then issues a Go Page
to the selected Forum. If ATO is already online and in
| the selected Forum, no action is taken. If the Host or
| forum is not valid, the script is terminated.
Verb: LOGOFF -or- OFF
Function: Performs the Z (logoff) function by sending an OFF to CIS
and then hanging up the phone.
Verb: MATCH data
Function: Causes processing to stop until the 'data' is received
from the communications line. The 'data' can be a simple
literal text string, or a combination of literal and
symbolic values. You can interrupt MATCH by pressing the
ESCape key. You can not include ^J or ^M in the MATCH text.
MATCH is different from WAIT in that the MATCH [data] is
expanded (resolved) for any user symbols.
| You may specify two search texts in the 'data' argument by
| separating them with a | symbol. For example, ABC|DEF will
| search for ABC or DEF.
Verb: OPEN filename filenumber mode
Function: Initialize access to a file for READ and WRITE use. The
filename may include drive and space. The filenumber must
be value from 0 through 9, determined by you. The 'mode'
must be INPUT, OUTPUT or APPEND.
Verb: PAUSE [number]
Function: Suspend processing for 'number' of seconds.
Usage: If the 'number' is omitted, a one second pause results.
Verb: READ [filenumber] [symbol]
-or-
READLINE [filenumber] [symbol]
Function: Get data from the specified file and place it into the local
symbol. If [filenumber] is omitted, the communications buffer
is assumed. If [symbol] is omitted, %COM is assumed.
AUTOSIG User's Manual Page 10
II. ATOSCR - Script File Processing
______________________________________________________________________________
Statement syntax
Verb: SEND [data]
Function: Write data to the COM port
Usage: The data may be a list of symbol names and literal strings.
All data fields are combined into one string and sent to the
COM port. Control characters may be entered by using the carat
symbol (^) followed by a control character letter. For example,
a ^M will result in a carriage return (CR) being sent. A pause
may be embedded in any data string by entering a squiggle (~)
character.
Verb: SENDLINE [data]
Function: Write a line of data to the COM port.
Usage: Similar to SEND except that a carriage return ^M is appended
to the [data].
Verb: SET symbol data
Function: Assign a value to a symbol.
Usage: Unless noted below, values can not be assigned to global
symbols. User symbols become defined when they are referenced
by a SET statement. The 'data' may be a list of symbol names
and/or literal data. For example,
SET x 'hello'
SET y x
results in the symbol y having the value 'hello'.
| Some global symbols may also be changed with SET. For example,
| SET %SWD Y
| turns on the /D carrier detect over-ride option so that you
| may place ATO online even though ATO can't detect carrier.
Verb: SHELL dos-command-text
Function: Invoke a DOS command or other program.
Verb: SHOW [symbol]
Function: Display one or all defined symbols.
Example: SHOW %SWD will result in a display of the %SWD value, Y or N.
Verb: THEN [statement]
Function: Process [statement] only when the IF condition is true.
Verb: TRACE [ON|OFF]
Function: Enable or disable tracing of the script statements. If TRACE
is ON, all script statements are displayed before they are
executed.
Page 11 AUTOSIG User's Manual
II. ATOSCR - Script File Processing
______________________________________________________________________________
Statement syntax
Verb: UPL cisfilename[|yourfilename]
Function: Invokes CIS-QB protocol to upload the specified file. You may
include drive\path with the file name. Since CIS allows only
six characters in the filename, you may supply both the CIS
file name and your computer's file name. Separate the CIS and
your filename with a | character, for example:
UPL MYPROG.ARC /prot:b/type:bin| C:\TESTBED\NEWVERSN.ARC
When you supply both names, using the | character, you must
also supply the /prot: and /type: parameters for CIS. You can
take advantage of this syntax to upload ASCII files, since the
default type for uploads is BINary.
Verb: WAIT [text]
Function: Suspend processing until the data is received from the COM
communications line.
Usage: Checking is performed for lost carrier and the modem return
messages for NO CARRIER, etc. If a disconnect if detected,
the script is terminated. Execution of the script resumes when
the [data] is received by the communications line. Unlike MATCH,
there is no expansion of symbols. The [text] is used as-is.
Verb: WRITE [filenumber] [symbol]
Function: Place the data contained in the [symbol] local variable into
the file associated with [filenumber].
AUTOSIG User's Manual Page 12
II. ATOSCR - Script File Processing
______________________________________________________________________________
Summary of Verbs
Notation:
[] brackets identify optional parameters
| indicates an exclusive choice
data means a string of literal and/or symbol values
text means a string of literal values
----------------------------------------------------------------
* [comment] SEND [data]
SENDLINE [data]
label: [statements] SET symbol data
SHELL dos-command-text
ACCEPT symbol SHOW [symbol]
BEEP THEN [statement]
TRACE [ON|OFF]
CAPTURE [ON|OFF|filename]
CLOSE filenumber UPL cisfilename[options|yourfilename]
CLS
WAIT text
DISPLAY [data] WRITE filenumber symbol
DOW filename[ppn]
ELSE [statement]
EXIT [code]
GOTO labelname
IF var1 var2 [statement]
LABEL labelname
LOGOFF
LOGON [host forum]|[forum]
MATCH data
OFF
OPEN filename filenumber mode
PAUSE [number]
READ [filenumber] [symbol]
| READLINE [filenumber] [symbol]
Page 13 AUTOSIG User's Manual
II. ATOSCR - Script File Processing
______________________________________________________________________________
Examples
Example 1.
Demonstrate the use of IF, THEN, and ELSE
sendline
label again
read
if %COM 'Function:' then goto ready
else display 'not yet'
goto again
label ready
beep
display 'What time is it?'
accept tod
exit
The 'IF' verb does not require a statement. You can place any valid
statment after the IF, and/or can use the THEN and ELSE verbs later.
The IF condition remains valid until the next IF is executed. IF does
require at least two parameters; the 'var1' and var2' values.
Example 2.
Demonstrate the use of SEND, WAIT, and literal strings.
trace on
Send 'go ' ibmcom^M
Wait Function:
Send 'ust^M'
label loop
If 'Function:' Goto Ready
Read
Goto loop
label ready
display 'Ready to proceed...'
beep
AUTOSIG User's Manual Page 14
II. ATOSCR - Script File Processing
______________________________________________________________________________
Examples
Example 3.
Demonstrate use of global variables
* Use the current HOST and SIG selections to log on
send ATDT %HOSTPHONE ^M
match CONNECT
pause 4
send '^C'
match User ID:
display '{' %COM '}'
send %HOSTUSERID ^M
if %hostuserid '\' then goto have.pswd
match Password:
send %HOSTPASSWORD '^M'
label have.pswd
match OK
send 'GO ' %SIGPAGE
match 'Function:'
set savecolor %PCNORMAL
set %PCNORMAL '15,2'
display 'The current high message number is:' %SIGHMN
set %PCNORMAL savecolor
beep
display 'Ready when you are ...'
Example 4.
Logon via Tymnet
* wait for 300 baud terminal id request
pause 3
* use tty terminal id
send a
* wait for "please log in:" prompt
match in:
* make sure we have a user id
if %HOSTACCOUNT '' set %HOSTACCOUNT 'CIS02'
sendline %HOSTACCOUNT
* we made it!
*
display 'Logon to TYMNET successful'
beep
* ATO continues the logon from the User ID: prompt
exit