-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathecu.1
1605 lines (1224 loc) · 48.4 KB
/
ecu.1
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
.`' .if n .ds La '
.`' .if n .ds Ra '
.`' .if t .ds La `
.`' .if t .ds Ra '
.`' .if n .ds Lq "
.`' .if n .ds Rq "
.`' .if t .ds Lq ``
.`' .if t .ds Rq ''
.ds Lq ``
.ds Rq ''
.de Ch
\\$3\\*(Lq\\$1\\*(Rq\\$2
..
.TH ECU 1 "10/18/96"
.ds ]W Version 4.07
.SH "NAME"
ecu - serial asynchronous and telnet communications program
.SH "DESCRIPTION"
ECU (Extended Call Utility) is a research and engineering
communications program for several flavors of UNIX.
ECU provides the classic terminal communications facility of
passing keyboard data to a serial line (or a telnet TCP/IP
connection if configured) and incoming data to the computer video
display. In addition, a rich set of interactive
commands, a procedure language, a dialing directory, a function key
mapping feature, and session logging are available.
.P
The flexible procedure (script) language allows you
to automate many communications tasks.
In addition to augmenting
interactive tasks, by using shell scripts and ECU procedures, ECU
can perform batch-style communications sessions in an entirely
"unattended" fashion.
.P
For full information, refer to the
.I "ECU Technical Description"
and the
.I "ECU Procedure Language"
manuals in the ECU source distribution.
.P
This man page describes what you need to
get ecu started and connected,
and how to use the interactive commands.
.SH "Simple Startup - Initial Setup Menu"
ECU may be started in a number of ways through use of
command line switches, but the easiest is to enter
.nf
ecu
.fi
by itself.
In this case, the screen is cleared
and the following screen, called the
.B setup
.B screen ,
will be presented.
.nf
.--[ ecu 4.00T ]-----------------------------------------------.
| |
| Destination ________________________________________ |
| |
| |
| |
| tty: /dev/ttys0 |
| |
| duplex: F baud: 9600 parity: N (data bits 8) |
| |
| |
| TAB:next END:proceed ^C: cmd mode ^D:phone dir ESC:quit ecu |
`- logical phone directory entry, phone number or empty -------'
.fi
Several choices may be made by navigating the setup screen.
When you position to a field, helpful text is displayed
on the bottom line of the form.
The initial (default) values for some of the
fields may be modified by command line switches or
by the special procedure "_rc.ep". Also, entering
a dialing directory entry name in the
'Destination' field and pressing Return will
override the defaults with the values in the
directory entry. See the sections in the ECU
Technical Description related to dialing and to
the section in the ECU Procedure Language manual
titled "_rc.ep".
.B "Destination"
If a dialing directory has been configured,
a literal phone number need not be entered.
You may enter a "logical" name matching the name
of a directory entry.
However, on your first invocation, you'll very likely have
no directory. You have several options:
.nf
1. Enter a literal telephone number, (e.g. 18005551212).
Hyphens and open and close parentheses may also
be entered.
2. Press END to enter open the indicated serial port,
beginning interactive mode to communicate
directly with the attached DCE (modem).
3. Enter a "period-containing" hostname for a telnet
call (if configured for telnet; see
.B "<hostname>"
below).
4. Press ^D to enter the telephone directory to enter
your first directory entry.
5. Press ^C to enter command mode immediately (with no
line attached). This has certain uses, but probably
not for early use.
6. Press ESCape to exit ecu.
.fi
.B "Other Fields"
If your call is an async serial, not telnet, call,
other fields in the setup form apply.
The 'tty' field may be used to select an outgoing line
other than the default.
For important considerations on line choice, see the
ECU Technical Description
sections titled
.I "Choosing a Dialout Line"
and
.I "DCDwatch."
The 'duplex' field may be used to select a
duplex value other than the default 'F' (full).
The 'baud' field may be used to select a
bit rate value other than the default selected at Configure time.
The 'parity' field may be used to select a
parity value other than the default selected at Configure time.
.B "Keyboard Functions"
Special keyboard characters while filling in the
startup screen are:
.nf
Enter terminate entry in a field (or skip to
the next field if you do not modify it)
^B back up to previous field
Cursor Up same as ^B (if the key is available on
your terminal and environment).
TAB move to next field ... if nothing typed in
the field, do not disturb contents
Cursor Down same as TAB (if the key is available on
your terminal and environment).
END proceed with session, dialing remote if
logical directory entry name or literal
telephone number enetered
^D enter phone directory
^C enter command mode with no line attached
ESC quit ecu without starting a session
.fi
.SH "Command Line Switches and Arguments"
ECU can be started in a number of ways:
.nf
o with no switches or arguments
select options interactively; manual command to begin
connection
o with switches (excluding -p) and no arguments
override some defaults for options but still enter
interactive option selection; manual command to begin
connection
o zero or more switches (excluding -p) and one argument
fully automatic startup to connect to the remote
specified by the argument (a telephone number
or dialing directory entry)
o zero or more switches, with -p the last switch
fully automatic startup by executing procedure whose
name is specified by the first argument; the initial
procedure receives the remainder of the command line
arguments
.fi
.B "Usage Summary"
.nf
Usage: ecu [-l <ttyname>] [-b <baud_rate>] [-eon]
[-h] [-t] [-P <phonedir>]
[-F name] [-T <trace-level>] [-z]
[-p <initial_proc> [-d] [-D] | <phone_number>
<logical> | <hostname> ]
-D unconditionally stop execution when -p initial
procedure is done
-F sets an alternate funckeymap name for the *keyboard*
-P choose alternate phone directory (<phonedir> must be
a full pathname)
-T set procedure tracing to level: 0=none, 1=standard,
2=ECU-debugging
-b choose bit rate (any UNIX rate 110-38400)
-d stop execution if -p initial procedure fails
-e even parity -o odd parity -n no parity
-h half duplex ... default is full duplex
-l choose line (/dev/<ttyname>)
-p execute an initial procedure
-t append NL to incoming and outgoing CR characters
-z if telnet connection, show options traffic
<phone_number> is either an actual number or a dialing
directory entry name
If configured for telnet use, if a period '.' appears in
phone number, contact host by that name using telnet; a
trailing period will be removed.
.fi
.B "Switches"
Many switches are used to override defaults specified
at the time the Confifgure procedure was used.
Note these defaults may also be overriden interactively if the command
does not specify automatic startup option (-p or dialing argument).
Also, the value chosen by a dialing directory entry or an
initial procedure will override
the Configured default and/or the value specified by this switch.
.B "-b <baud>"
This switch overrides the default bit rate.
Any valid UNIX rate may be chosen.
ECU chooses the number of stop bits based on the bit rate. Rates below
300 baud get 2 stop bits. Rates 300 baud and above get one stop bit.
.B "-d"
The
.I "-d switch"
instructs ECU to "die" (terminate with error status) if
an initial procedure (-p) fails. This switch ensures a batch
ECU execution will hang up any connection and terminate if
a procedure error occurs. See also -D below.
Absence of the
.I "-d"
and
.I "-D"
switches
causes ecu (upon any completion of the
initial procedure) to enter the 1) interactive mode if a line
was successfully attached by the procedure or 2) the setup screen
if no line was attached.
.B "-e, -o, -n"
Normally, ECU starts up with data bits and parity chosen at
Configure time. The
.I -e ,
.I -o
and
.I -n
.I switches
allow you to override the default.
Since combinations like eight data bit and even parity or
seven data bits and no parity are not in ECU's
capability to use, the parity selection also dictates the
choice of data bits. Even or odd parity implies seven data bits.
No parity implies eight data bits.
.B "-h"
Normally, ECU starts up in the full duplex mode.
If half duplex is desired, the
.I "-h switch"
is used.
.B "-l ttyspec"
When ECU starts up, it normally chooses a line as described
in "Choosing a Dialout Line"
in the ECU Technical Description.
Specifying the
.I -l
.I switch
overrides the default tty specified
at Configure time. Depending upon other command line options,
this switch may be nothing more than a hint.
For important considerations on line choice, see the sections
titled "Choosing a Dialout Line" and "DCDwatch".
Two styles of argument to -l allow line selection by two methods.
Of course, no -l is meaningful for a telnet destination.
.*s 5 "by specific device"
The ususal argument to the switch is the base name
of the tty (e.g., "tty1a" or "acu0").
Note to old users of ECU:
In previous SCO versions of ECU, since ttys were generally all
named with the prefix "tty", ECU allowed you to
omit the "tty" (e.g., "1a" or "4g"). This is no longer the case.
.*s 5 "by Devices type"
Alternatively, if your platform supports
HDB UUCP, you may choose a line by UUCP Devices type by
specifying the type with a leading equals sign.
You must also explicitly set the bit rate with -b (unless
the default bit rate is acceptable).
.nf
ecu -l=VoiceDial -b2400
.fi
searches the UUCP Devices file for an entry whose type is
``VoiceDial'' that accepts 2400 baud.
.B "-p <proc>"
The
.I "-p switch"
causes ECU to execute the procedure <proc> ("<proc>.ep")
immediately upon startup. Such a procedure is termed the
.I "initial procedure."
It is recommended that, when used, -p be the last switch on the
command line. All non-switch arguments after <proc> are passed
as arguments to the initial procedure (see the descriptions of
the integer function
.I %argc
and the string function
.I %argv
in the Procedure Manual).
For example,
.nf
ecu -p batchjob remsys 22
automatically executes the procedure command equivalent
do 'batchjob' 'remsys' '22'
.fi
The initial procedure may read command line options
with functions like
.I %line ,
.I %baud
and
.I %parity .
It is also free to override any of these values it wishes.
See the ECU Procedure Manual for more information.
.B "-t"
The
.I "-t switch"
instructs ECU to map incoming and outgoing carriage
returns to carriage return/line feed pairs.
This is helpful if the remote connection will be to a
display terminal rather than a computer. Use of the
.I "-h switch"
may also be necessary.
The interactive commands
.I nlin
and
.I nlout
also control this feature.
.B "-C"
The
.I "-C switch"
causes the compile-time configuration of ECU
to be displayed.
.B "-D"
The
.I "-D switch"
instructs ECU to unconditionally terminate when an
initial procedure finishes. Contrast with the
.I -d
.I switch .
.B "-F name"
Normally, the TERM environment variable is used to determine the
funckeymap entry (keyboard configuration) to be used. Sometimes,
the TERM variable is not adequate for identifying your keyboard
arrangement. The
.I "-F switch"
switch, like the $ECUFUNCKEY environment variable, allows you to
use override the funckeymap entry used. For more information,
see the section titled "Function Key Mapping (Recognition)".
.B "-P phonedir"
The
.I "-P switch"
causes ECU to begin execution using an alternate
phone directory. The default is ~/.ecu/phone. You should
specify a full pathname if you anticipate using the change directory
command once ecu starts.
.B "-T level"
The
.I "-T switch"
sets the procedure language trace level. <level> is a decimal
digit. 0 is for no tracing (the default) and 1 is for tracing.
Values higher than 1 are for debugging ECU and have varying effects
from revision to revision.
.B "-z"
If configured for telnet use, show in-band telnet option traffic on screen.
This is useful for debugging ECU telnet connections with a
host. This feature is controlled by the
.I telopt
interactive command once ECU is running (although
there is very little telnet traffic after a connection
has "matured").
.B "Non-Switch Arguments"
Arguments are optional.
<phone_number> or <logical> may appear when the -p switch is absent.
One or more <arg> arguments may appear when the -p switch is used.
These arguments are handled as described by "-p" above.
.B "<phone_number>"
This type of argument has a digit as its initial character and
represents an actual telephone number to be passed to a modem
dialer program or Dialers chat script. The string may contain
non-numeric characters if appropriate for a dialer program,
such as dialTBIT or dialgT2500 (see the gendial subdirectory).
For example:
.nf
ecu -ltty2a -b 19200 -e 5551212C
.fi
uses tty2a (assumed to be connected to a Trailblazer modem because
of the dialer-specific telephone number) and
establishes a 19200 baud, even parity PEP Compressed connection
after dialing 5551212.
.B "<logical>"
This type of argument has an alphabetic initial character and
contains no period characters. such an argument
causes the dialing directory entry by that name to be dialed.
The line may be specified by '-l', but if the dialing directory
specifies a line (tty field contains other than 'Any'), the
dialing directory entry will override it. The '-b', '-e' and '-o'
switches are ignored; the values specified by the dialing directory
entry are used. The '-t' and '-h' switches are valid and honored
if present.
.B "<hostname>"
The following holds true only if ECU supports telnet
on your system.
If a period ('.') is present in the first non-switch
command line argument, the argument is treated as a hostname.
An internet telnet connection is attempted to <hostname>.
If you wish to specify a simple hostname (with no domain part)
such as "localhost", append a period to the name (making, for
instance "localhost."). The period will be removed by ECU.
If a colon followed by a number is appended to the hostname, that number
will be used as the port to contact instead of the default telnet
port 23.
During a telnet session, many async-style parameters simply
do not apply.
.nf
Examples:
ecu watsun.cc.columbia.edu
ecu localhost search directory for 'localhost'
ecu localhost. call my host's telnet port
ecu localhost.:25 call my host's SMTP port
.fi
.B "<arg>"
This type of argument is passed to an initial procedure when
the -p switch is present.
.nf
ecu -p unixlogin user pwd ansi43
.fi
executes unixlogin.ep with arguments 'user' 'pwd' 'ansi43'
For more detail, refer to the description of
.I -p ,
.I -d
and
.I -D .
.B "Environment Variables"
Prior to starting ECU, it is useful, but not necessary,
to establish two environment variables, ECUPROMPT and ECUHELP.
.B "ECUPROMPT"
The ECUPROMPT environment variable determines the prompt printed
by ECU when the interactive command key ("HOME") is pressed.
When you first run ECU, try setting it to your name, e. g.,
.nf
setenv ECUPROMPT Ralph if you use csh
ECUPROMPT=Ralph if you use sh, ksh, etc.
export ECUPROMPT
.fi
Then, when you see how it used, you may wish to
establish a more permanent choice in your .login or .profile.
.B "ECUHELP"
Ordinarily, ECU looks for interactive command help information
in "ecuhelp.data"
(in the ecu library directory, normally /usr/local/lib/ecu).
The ECUHELP environment may be set to the complete
pathname of the ecu help file if an alternate file
is to be used.
The help file is explained better in the section
titled "Online Command Dictionary" in the ECU Technical Description..
.B "ECUFUNCKEY"
See the description of the
.B -F
command line switch and the section titled
"Function Key Mapping (Recognition)" in the ECU Technical Description.
.SH "INTERACTIVE COMMANDS"
This section describes each ECU interactive command.
.P
The next four sections list commands by category.
The remaining sections describe each individual command
in some detail.
.P
ECU does not require the complete expression of most interactive
commands. For instance: typing
.B attr
is sufficient for ECU to recognize the command
.BR attrtest .
.P
The capitalized portion of the command names
appearing below represents the portion
of the command you must type for ECU to recognize the command.
(Note you don't captitalize any command characters you type.)
.P
You also may access this information using the ECU interactive
.B help
command (whose information may be more up-to-date than this).
.P
.SH "GENERAL COMMANDS"
ANSIf ANSI filter state
.br
AX ascii char to hex/oct/dec
.br
ATTRTest console attribute test
.br
BN all console event alarm
.br
CD change current directory
.br
CONXon console software flow control
.br
DA decimal to ascii char
.br
ETO ESC/fkey timeout
.br
EXit hang up, exit program
.br
FI send text file to line
.br
FKEy function key definition
.br
FKMap redefine function key map
.br
HElp invoke help
.br
KBDTest test keyboard mapping
.br
LOFf turn off session logging
.br
LOG session logging control
.br
MKDir mkdir <dirname>
.br
OA octal to ascii char
.br
PId display process ids
.br
POpd pop to previous directory
.br
PUshd push to new directory
.br
PWd print working directory
.br
REV ECU revision/make date
.br
SDName select screen dump name
.br
STat general status
.br
TIme time of day
.br
TD termcap variable display
.br
TTy console tty name
.br
XA hex to ascii char
.br
! execute shell (tty)
.br
$ execute shell (comm line)
.br
- execute program
.br
? get help
.br
.SH "COMMUNICATIONS-RELATED COMMANDS"
AYt send telnet Are You There?
.br
BAud set/display line bit rate
.br
BReak send break to remote
.br
CLrx clear local transmit XOFF
.br
DCDwatch control DCD disconnect
.br
Dial dial remote destination
.br
DUplex set/display duplex
.br
ERTo expect-respond timeout
.br
ERVerbose expect-respond verbosity
.br
HAngup hang up modem
.br
NL display CR/LF mapping
.br
NLIn receive CR/LF mapping
.br
NLOut transmit CR/LF mapping
.br
PARity set/display line parity
.br
REDial redial last number
.br
RTScts RTS/CTS flow control
.br
SGR send command/get response
.br
SGRTO1 set SGr 1st char timeout
.br
SGRTO2 set SGr later char timeout
.br
TELopt telnet options display state
.br
TS termio display
.br
XOn line xon/xoff flow control
.br
.SH "FILE TRANSFER COMMANDS"
AUTORZ auto ZMODEM receive state
.br
RK receive via C-Kermit
.br
RX receive via XMODEM/CRC
.br
RY receive via YMODEM Batch
.br
RZ receive via ZMODEM/CRC32
.br
SK send via C-Kermit
.br
SX send via XMODEM/CRC
.br
SY send via YMODEM Batch
.br
SZ send via ZMODEM/CRC32
.br
XLog protocol packet logging
.br
.SH "PROCEDURE COMMANDS"
DO perform procedure
.br
PCmd execute procedure command
.br
PLog control procedure logging
.br
PTrace control procedure trace
.br
.SH "Detailed Description of Each Command"
.B "ATTRTest : console attribute test"
Usage: attrtest
This command tests ECU's console attributes. You can try it if
you like, but it is primarily for testing an ECU port.
.B "AX : ascii char to hex/oct/dec"
Usage: ax [<param>]
<param> may be a single ASCII character, a standard ASCII identifier
(such as ETX), or a two-character control character identifier (such as
^C, typed as a caret followed by a C).
If no parameter is supplied, a table of control characters is printed
containing decimal, octal, hex, ASCII identifiers and two-character
control character identifier.
.B "XA : hex to ascii char"
Usage: xa [<hex-val>]
<hex-val> is a hexadecimal value between 0 and FF; the parity (sign) bit
is stripped and the equivalent ASCII character value is displayed.
If no parameter is supplied, a table of control characters is printed
containing decimal, octal, hex, ASCII identifiers and two-character
control character identifier.
.B "OA : octal to ascii char"
Usage: oa [<octal-val>]
<octal-val> is a octal value between 0 and 0377; the parity (sign) bit
is stripped and the equivalent ASCII character value is displayed.
If no parameter is supplied, a table of control characters is printed
containing decimal, octal, hex, ASCII identifiers and two-character
control character identifier.
.B "DA : decimal to ascii char"
Usage: da [<decimal-val>]
<decimal-val> is a decimal value between 0 and 0377; the parity (sign)
bit is stripped and the equivalent ASCII character value is displayed.
If no parameter is supplied, a table of control characters is printed
containing decimal, octal, hex, ASCII identifiers and two-character
control character identifier.
.B "ANSIf : ANSI filter state"
Usage: ansif [off | on | ]
This command displays or controls the state of the ECU ANSI filter. If
on, ECU interprets the incoming bytestream as addressing an ANSI
terminal; the control sequences are detected and reissued to the local
console per its terminal database description. In addition, a virtual
screen image is kept by ECU.
If off, the inciming bytestream is passed directly to the local console.
No virtual screen image is kept.
.B "AUTORZ : auto ZMODEM receive state"
Usage: autorz [ | 1 | 0 | n | y ]
This command displays or controls the state of the ECU autorz
switch. If on, an incoming ZMODEM preamble will automatically
start a ZMODEM receive operation.
.B "AYt : send telnet Are You There?"
Usage: ayt
If your ECU is in telnet connection, this command sends the
AYT (Are You There?) command to the remote host. If the
remote is sane (and so disposed), it will reply with something
like "[Yes]".
.B "BAud : set/display line bit rate"
Usage: baud [<bit-rate>]
<bit-rate>, if specified, must be taken from the values 110, 300, 600,
1200, 2400, 4800, 9600, 19200 and 38400. On some systems, 19200 and
38400 may not be supported. If a bit rate less than 300 is selected, 2
stop bits are automatically specified; other bit rates set 1 stop bit.
If <bit-rate> is not supplied, the current bit rate is displayed.
The setting may be automatically changed as the result of a 'dial'
command. See also the 'dial' and 'parity' command descriptions.
.B "BN : all console event alarm"
Usage: bn [ off | on | alert ]
.br
bn [ 0 | 1 | 2 ]
.br
"bell notify": If no parameter is supplied, the current setting is
displayed. Specifying 0 or off disables the facility; 1 or on causes
an audible alarm to be sounded upon receipt of a bell (0x07)
character from the remote system; 2 or alert causes an audible alarm
upon receipt of ANY characters. This command may not be functional
in the version for your system.
.B "BReak : send break to remote"
Usage: break
This command sends a "break" signal to the remote system.
On asynchronous ports this is done with a "long space disconnect."
On telnet, an Interrupt Process command is sent.
.B "CD : change current directory"
Usage: cd [<dir-path>]
This command allows you to change the working directory of the ECU
process. If <dir-path> is supplied, the previous working directory is
displayed, and <dir-path> is made the new working directory. A history
of previous directory changes is maintained. Entering the 'cd' command
shows the numbered history list and allows you to select a new directory
by entering the number. Other commands allow deletion of directories
from the list or saving the list to file ~/.ecu/dir. This file is
automatically read at ECU startup, providing a convenient list of
directories available for quick selection.
.B "CLrx : clear local transmit XOFF"
Usage: clrx
The 'clrx' command simulates receipt of an XON by ECU. It is useful
in the rare circumstances that an XOFF is received by ECU from a
remote system and no later XON is received.
.B "CONXon : console software flow control"
Usage: conxon [<arg>]
.br
where <arg> is on honor ^S/^Q local flow control (DEFAULT)
.br
off pass ^S/^Q to remote
.br
This command enables or disables console xon/xoff flow control.
If the argument is omitted, the current flow control state is
displayed. If on, typing ^S/^Q stops or restarts the local
console driver output. If off, ^S and ^Q are passed to the
remote (for EMACS, of course -- who else?).
.B "DCDwatch : control DCD disconnect"
Usage: dcdwatch [<dcdwatch-param>]
This command controls the DCD watcher. The optional parameter may be:
.br
y yes - enable DCD watcher
.br
n no - disable DCD watcher
.br
t terminate - terminate ECU on loss of DCD
.br
Entering the command without an argument shows the current status.
The DCD watcher when enabled causes ECU to monitor the DCD line (within
the limits imposed by the OS with its CLOCAL=0 functionality). When the
watcher is on and DCD drops, ECU automatically performs the action of
the interactive or procedure hangup command. If the 't'erminate option
is chosen, then after hangup processing is complete, the ECU program
will terminate.
The state of the watcher may be changed by the use of the dial command
which uses a directory entry that changes the DCD watcher status. See
the manual sections on the interactive commands 'dcdwatch' and 'dial'.
.B "Dial : dial remote destination"
Usage: dial [<dial-param>]
<dial-param> may take one of two forms, a telephone number to dial or a
logical name which can be found in the user phone directory (in file
~/.ecu/phone).
If a telephone number is supplied, the phone number is dialed;
you must first have set the desired bit rate and parity using
the 'baud' and 'parity' commands. If a logical name is entered, the
phone directory is searched; if the entry is found, the bit rate
and parity is automatically set and the number dialed.
If <dial-param> is not supplied, then a screen-oriented
self-documenting directory manager is executed; you may scan the
directory to select a number to dial, as well as add, remove and
edit entries. See also 'baud' and 'parity'.
.B "DO : perform procedure"
Usage: do <procname> [<arg> ... ]
Perform ECU procedure. Ecu searches for <procname>.ep in the current
directory. If the file is not found, the program looks for the file in
the ~/.ecu directory. One or more arguments may be passed to the
procedure.
.B "DUplex : set/display duplex"
Usage: duplex [ Full | Half ]
This command specifies whether or not ECU is to locally echo characters
typed by you at the keyboard. The overwhelming majority of remote
systems provide the echo function, in which case full duplex must be
used. For the rare occasions when the remote system does not echo your
keyboard input, setting half duplex will allow you to see what you are
typing.
When communicating with another terminal in a "teletype conver-
sation", setting half duplex is generally required. In such
cases, use of the 'nl', 'nlin' and 'nlout' commands may also be
required.
The default setting for duplex is full.
.B "ERTo : expect-respond timeout"
Usage: erto [<msec>]
This command specifies the default timeout period (in milliseconds)
of the next "expect" in an ECU-executed expect-respond script.
Remember that ECU expect-respond scripts can change timeouts on their
own, so this number may not "stick." Entering the command with no
arguments displays the current value (which, again, may not be the
value ECU started with or the value you last selected).
.B "ERVerbose : expect-respond verbosity"
Usage: erverbose [<true-false>]
This command specifies the verbosity level of an ECU-executed
expect-respond script. Entering the command with no argument
displays the current status of verbosity. To change the value, enter
an argument beginning with an lower-case 'y' or 'n'.
Examples:
.br
erv
.br
erv y
.br
.B "ETO : ESC/fkey timeout"