-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathecu.preformatted.1
1914 lines (1133 loc) · 54 KB
/
ecu.preformatted.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
ECU(1) USER COMMANDS ECU(1)
NAME
ecu - serial asynchronous and telnet communications program
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 com-
mands, a procedure language, a dialing directory, a function
key mapping feature, and session logging are available.
The flexible procedure (script) language allows you to auto-
mate many communications tasks. In addition to augmenting
interactive tasks, by using shell scripts and ECU pro-
cedures, ECU can perform batch-style communications sessions
in an entirely "unattended" fashion.
For full information, refer to the ECU Technical Description
and the ECU Procedure Language manuals in the ECU source
distribution.
This man page describes what you need to get ecu started and
connected, and how to use the interactive commands.
Simple Startup - Initial Setup Menu
ECU may be started in a number of ways through use of com-
mand line switches, but the easiest is to enter
ecu
by itself. In this case, the screen is cleared and the fol-
lowing screen, called the setup screen , will be presented.
.--[ ecu 4.07T ]-----------------------------------------------.
| |
| 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 -------'
Several choices may be made by navigating the setup screen.
When you position to a field, helpful text is displayed on
Version 4.07 10/18/96 1
ECU(1) USER COMMANDS ECU(1)
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 pro-
cedure "_rc.ep". Also, entering a dialing directory entry
name in the 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".
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:
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
<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.
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
Choosing a Dialout Line and DCDwatch.
Version 4.07 10/18/96 2
ECU(1) USER COMMANDS ECU(1)
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.
Keyboard Functions
Special keyboard characters while filling in the startup
screen are:
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
Command Line Switches and Arguments
ECU can be started in a number of ways:
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
Version 4.07 10/18/96 3
ECU(1) USER COMMANDS ECU(1)
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
Usage Summary
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>)
-n
-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.
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.
Version 4.07 10/18/96 4
ECU(1) USER COMMANDS ECU(1)
-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.
-d
The -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 -d and -D switches causes ecu (upon any com-
pletion of the initial procedure) to enter the 1) interac-
tive mode if a line was successfully attached by the pro-
cedure or 2) the setup screen if no line was attached.
-e, -o, -n
Normally, ECU starts up with data bits and parity chosen at
Configure time. The -e , -o and -n 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.
-h
Normally, ECU starts up in the full duplex mode. If half
duplex is desired, the -h switch is used.
-l ttyspec
When ECU starts up, it normally chooses a line as described
in "Choosing a Dialout Line" in the ECU Technical Descrip-
tion. Specifying the -l 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 sec-
tions 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.
Version 4.07 10/18/96 5
ECU(1) USER COMMANDS ECU(1)
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.
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 accept-
able).
ecu -l=VoiceDial -b2400
searches the UUCP Devices file for an entry whose type is
``VoiceDial'' that accepts 2400 baud.
-p <proc>
The -p switch causes ECU to execute the procedure <proc>
("<proc>.ep") immediately upon startup. Such a procedure is
termed the 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 func-
tion %argc and the string function %argv in the Procedure
Manual).
For example,
ecu -p batchjob remsys 22
automatically executes the procedure command equivalent
do 'batchjob' 'remsys' '22'
The initial procedure may read command line options with
functions like %line , %baud and %parity . It is also free
to override any of these values it wishes. See the ECU Pro-
cedure Manual for more information.
-t
The -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 -h switch may
also be necessary.
Version 4.07 10/18/96 6
ECU(1) USER COMMANDS ECU(1)
The interactive commands nlin and nlout also control this
feature.
-C
The -C switch causes the compile-time configuration of ECU
to be displayed.
-D
The -D switch instructs ECU to unconditionally terminate
when an initial procedure finishes. Contrast with the -d
switch .
-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 -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)".
-P phonedir
The -P switch causes ECU to begin execution using an alter-
nate phone directory. The default is ~/.ecu/phone. You
should specify a full pathname if you anticipate using the
change directory command once ecu starts.
-T level
The -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.
-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
telopt interactive command once ECU is running (although
there is very little telnet traffic after a connection has
"matured").
Non-Switch Arguments
Arguments are optional. <phone_number> or <logical> may
appear when the -p switch is absent. One or more <arg>
Version 4.07 10/18/96 7
ECU(1) USER COMMANDS ECU(1)
arguments may appear when the -p switch is used. These
arguments are handled as described by "-p" above.
<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:
ecu -ltty2a -b 19200 -e 5551212C
uses tty2a (assumed to be connected to a Trailblazer modem
because of the dialer-specific telephone number) and estab-
lishes a 19200 baud, even parity PEP Compressed connection
after dialing 5551212.
<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.
<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 (mak-
ing, 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.
Version 4.07 10/18/96 8
ECU(1) USER COMMANDS ECU(1)
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
<arg>
This type of argument is passed to an initial procedure when
the -p switch is present.
ecu -p unixlogin user pwd ansi43
executes unixlogin.ep with arguments 'user' 'pwd' 'ansi43'
For more detail, refer to the description of -p , -d and -D
.
Environment Variables
Prior to starting ECU, it is useful, but not necessary, to
establish two environment variables, ECUPROMPT and ECUHELP.
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.,
setenv ECUPROMPT Ralph if you use csh
ECUPROMPT=Ralph if you use sh, ksh, etc.
export ECUPROMPT
Then, when you see how it used, you may wish to establish a
more permanent choice in your .login or .profile.
ECUHELP
Ordinarily, ECU looks for interactive command help informa-
tion in "ecuhelp.data" (in the ecu library directory, nor-
mally /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 Descrip-
tion..
Version 4.07 10/18/96 9
ECU(1) USER COMMANDS ECU(1)
ECUFUNCKEY
See the description of the -F command line switch and the
section titled "Function Key Mapping (Recognition)" in the
ECU Technical Description.
INTERACTIVE COMMANDS
This section describes each ECU interactive command.
The next four sections list commands by category. The
remaining sections describe each individual command in some
detail.
ECU does not require the complete expression of most
interactive commands. For instance: typing attr is suffi-
cient for ECU to recognize the command attrtest.
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.)
You also may access this information using the ECU interac-
tive help command (whose information may be more up-to-date
than this).
GENERAL COMMANDS
ANSIf ANSI filter state
AX ascii char to hex/oct/dec
ATTRTest console attribute test
BN all console event alarm
CD change current directory
CONXon console software flow control
DA decimal to ascii char
ETO ESC/fkey timeout
EXit hang up, exit program
FI send text file to line
FKEy function key definition
FKMap redefine function key map
HElp invoke help
KBDTest test keyboard mapping
LOFf turn off session logging
LOG session logging control
MKDir mkdir <dirname>
OA octal to ascii char
PId display process ids
POpd pop to previous directory
PUshd push to new directory
PWd print working directory
REV ECU revision/make date
SDName select screen dump name
Version 4.07 10/18/96 10
ECU(1) USER COMMANDS ECU(1)
STat general status
TIme time of day
TD termcap variable display
TTy console tty name
XA hex to ascii char
! execute shell (tty)
$ execute shell (comm line)
- execute program
? get help
COMMUNICATIONS-RELATED COMMANDS
AYt send telnet Are You There?
BAud set/display line bit rate
BReak send break to remote
CLrx clear local transmit XOFF
DCDwatch control DCD disconnect
Dial dial remote destination
DUplex set/display duplex
ERTo expect-respond timeout
ERVerbose expect-respond verbosity
HAngup hang up modem
NL display CR/LF mapping
NLIn receive CR/LF mapping
NLOut transmit CR/LF mapping
PARity set/display line parity
REDial redial last number
RTScts RTS/CTS flow control
SGR send command/get response
SGRTO1 set SGr 1st char timeout
SGRTO2 set SGr later char timeout
TELopt telnet options display state
TS termio display
XOn line xon/xoff flow control
FILE TRANSFER COMMANDS
AUTORZ auto ZMODEM receive state
RK receive via C-Kermit
RX receive via XMODEM/CRC
RY receive via YMODEM Batch
RZ receive via ZMODEM/CRC32
SK send via C-Kermit
SX send via XMODEM/CRC
SY send via YMODEM Batch
SZ send via ZMODEM/CRC32
XLog protocol packet logging
PROCEDURE COMMANDS
DO perform procedure
PCmd execute procedure command
PLog control procedure logging
Version 4.07 10/18/96 11
ECU(1) USER COMMANDS ECU(1)
PTrace control procedure trace
Detailed Description of Each Command
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.
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 charac-
ter 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.
XA : hex to ascii char
Usage: xa [<hex-val>]
<hex-val> is a hexadecimal value between 0 and FF; the par-
ity (sign) bit is stripped and the equivalent ASCII charac-
ter 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.
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.
DA : decimal to ascii char
Usage: da [<decimal-val>]
Version 4.07 10/18/96 12
ECU(1) USER COMMANDS ECU(1)
<decimal-val> is a decimal value between 0 and 0377; the
parity (sign) bit is stripped and the equivalent ASCII char-
acter 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.
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.
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.
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 some-
thing like "[Yes]".
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 automati-
cally 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
Version 4.07 10/18/96 13
ECU(1) USER COMMANDS ECU(1)
descriptions.
BN : all console event alarm
Usage: bn [ off | on | alert ]
bn [ 0 | 1 | 2 ]
"bell notify": If no parameter is supplied, the current set-
ting is displayed. Specifying 0 or off disables the facil-
ity; 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 charac-
ters. This command may not be functional in the version for
your system.
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.
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 direc-
tory 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.
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.
CONXon : console software flow control
Usage: conxon [<arg>]
where <arg> is on honor ^S/^Q local flow control
Version 4.07 10/18/96 14
ECU(1) USER COMMANDS ECU(1)
(DEFAULT)
off pass ^S/^Q to remote
This command enables or disables console xon/xoff flow con-
trol. 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?).
DCDwatch : control DCD disconnect
Usage: dcdwatch [<dcdwatch-param>]
This command controls the DCD watcher. The optional parame-
ter may be:
y yes - enable DCD watcher
n no - disable DCD watcher
t terminate - terminate ECU on loss of DCD
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 pro-
cedure 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 interac-
tive commands 'dcdwatch' and 'dial'.
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,
Version 4.07 10/18/96 15
ECU(1) USER COMMANDS ECU(1)
remove and edit entries. See also 'baud' and 'parity'.
DO : perform procedure