ecuhelp.src 34 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846
  1. #+-------------------------------------------------------------------
  2. # ecuhelp.src - ECU help source file
  3. #
  4. # Ya need to watch out and make sure no apostrophes appear
  5. # in column 1; helpgen -n builds nroff man source from this file.
  6. #--------------------------------------------------------------------
  7. #+:EDITS:
  8. #:01-24-1997-02:37-wht@yuriatin-SOURCE RELEASE 4.00
  9. #:09-23-1996-02:36-wht@yuriatin-update ansif and autorz
  10. #:09-18-1996-01:37-wht@yuriatin-fix typos pointed out by robertle@sco.com
  11. #:09-16-1996-18:46-wht@yuriatin-add .br for keeping nroff happy
  12. #:09-11-1996-20:00-wht@yuriatin-3.48-major telnet,curses,structural overhaul
  13. #:11-23-1995-11:20-wht@kepler-source control 3.37 for tsx-11
  14. #:11-14-1995-10:23-wht@kepler-3.37.80-source control point: SOCKETS
  15. #:11-12-1995-02:06-wht@gyro-add ansif and telopt
  16. #:10-14-1995-23:27-wht@kepler-drop SEAlink support
  17. #:09-16-1995-16:57-wht@kepler-add td
  18. #:04-02-1995-04:52-wht@n4hgf-add sgrto1 and sgrto2
  19. #:03-21-1995-15:02-wht@n4hgf-add erto and erverbose
  20. #:05-04-1994-04:39-wht@n4hgf-ECU release 3.30
  21. #:10-18-1992-15:16-wht@n4hgf-add conxon
  22. #:09-10-1992-13:59-wht@n4hgf-ECU release 3.20
  23. #:08-22-1992-15:39-wht@n4hgf-ECU release 3.20 BETA
  24. #:04-19-1992-20:41-wht@n4hgf-upgrade kbdtest entry
  25. #:04-28-1991-04:45-wht@n4hgf-add eto and nice
  26. #:11-03-1989-16:21-wht------ unet2 -----
  27. #:06-17-1988-11:10-wht-add 'exit' command
  28. #:06-13-1988-15:38-wht-creation
  29. %attrtest
  30. Usage: attrtest
  31. This command tests ECU's console attributes. You can try it if
  32. you like, but it is primarily for testing an ECU port.
  33. #--------------------------------------------------------------------
  34. %ax
  35. Usage: ax [<param>]
  36. <param> may be a single ASCII character, a standard ASCII identifier
  37. (such as ETX), or a two-character control character identifier (such as
  38. ^C, typed as a caret followed by a C).
  39. If no parameter is supplied, a table of control characters is printed
  40. containing decimal, octal, hex, ASCII identifiers and two-character
  41. control character identifier.
  42. #--------------------------------------------------------------------
  43. %xa
  44. Usage: xa [<hex-val>]
  45. <hex-val> is a hexadecimal value between 0 and FF; the parity (sign) bit
  46. is stripped and the equivalent ASCII character value is displayed.
  47. If no parameter is supplied, a table of control characters is printed
  48. containing decimal, octal, hex, ASCII identifiers and two-character
  49. control character identifier.
  50. #--------------------------------------------------------------------
  51. %oa
  52. Usage: oa [<octal-val>]
  53. <octal-val> is a octal value between 0 and 0377; the parity (sign) bit
  54. is stripped and the equivalent ASCII character value is displayed.
  55. If no parameter is supplied, a table of control characters is printed
  56. containing decimal, octal, hex, ASCII identifiers and two-character
  57. control character identifier.
  58. #--------------------------------------------------------------------
  59. %da
  60. Usage: da [<decimal-val>]
  61. <decimal-val> is a decimal value between 0 and 0377; the parity (sign)
  62. bit is stripped and the equivalent ASCII character value is displayed.
  63. If no parameter is supplied, a table of control characters is printed
  64. containing decimal, octal, hex, ASCII identifiers and two-character
  65. control character identifier.
  66. #--------------------------------------------------------------------
  67. %ansif
  68. Usage: ansif [off | on | ]
  69. This command displays or controls the state of the ECU ANSI filter. If
  70. on, ECU interprets the incoming bytestream as addressing an ANSI
  71. terminal; the control sequences are detected and reissued to the local
  72. console per its terminal database description. In addition, a virtual
  73. screen image is kept by ECU.
  74. If off, the inciming bytestream is passed directly to the local console.
  75. No virtual screen image is kept.
  76. #--------------------------------------------------------------------
  77. %autorz
  78. Usage: autorz [ | off | on ]
  79. This command displays or controls the state of the ECU autorz
  80. switch. If on, an incoming ZMODEM preamble will automatically
  81. start a ZMODEM receive operation.
  82. ECU in the interactive mode (no procedure executing) can interpret a
  83. SUB, 'B', '0', '0' receive data sequence as a ZMODEM ZRQINIT frame and
  84. automatically begin a ZMODEM receive operation. This command controls
  85. or displays this feature. By default, this feature is turned on.
  86. #--------------------------------------------------------------------
  87. %ayt
  88. Usage: ayt
  89. If your ECU is in telnet connection, this command sends the
  90. AYT (Are You There?) command to the remote host. If the
  91. remote is sane (and so disposed), it will reply with something
  92. like "[Yes]".
  93. #--------------------------------------------------------------------
  94. %baud
  95. Usage: baud [<bit-rate>]
  96. <bit-rate>, if specified, must be taken from the values 110, 300, 600,
  97. 1200, 2400, 4800, 9600, 19200 and 38400. On some systems, 19200 and
  98. 38400 may not be supported. If a bit rate less than 300 is selected, 2
  99. stop bits are automatically specified; other bit rates set 1 stop bit.
  100. If <bit-rate> is not supplied, the current bit rate is displayed.
  101. The setting may be automatically changed as the result of a 'dial'
  102. command. See also the 'dial' and 'parity' command descriptions.
  103. #--------------------------------------------------------------------
  104. %bn
  105. Usage: bn [ off | on | alert ]
  106. .br
  107. bn [ 0 | 1 | 2 ]
  108. .br
  109. "bell notify": If no parameter is supplied, the current setting is
  110. displayed. Specifying 0 or off disables the facility; 1 or on causes
  111. an audible alarm to be sounded upon receipt of a bell (0x07)
  112. character from the remote system; 2 or alert causes an audible alarm
  113. upon receipt of ANY characters. This command may not be functional
  114. in the version for your system.
  115. #--------------------------------------------------------------------
  116. %break
  117. Usage: break
  118. This command sends a break signal to the remote system.
  119. On asynchronous ports this is done with a "long space disconnect."
  120. On telnet, an Interrupt Process command is sent.
  121. #--------------------------------------------------------------------
  122. %cd
  123. Usage: cd [<dir-path>]
  124. This command allows you to change the working directory of the ECU
  125. process. If <dir-path> is supplied, the previous working directory is
  126. displayed, and <dir-path> is made the new working directory. A history
  127. of previous directory changes is maintained. Entering the 'cd' command
  128. shows the numbered history list and allows you to select a new directory
  129. by entering the number. Other commands allow deletion of directories
  130. from the list or saving the list to file ~/.ecu/dir. This file is
  131. automatically read at ECU startup, providing a convenient list of
  132. directories available for quick selection.
  133. #--------------------------------------------------------------------
  134. %conxon
  135. Usage: conxon [<arg>]
  136. .br
  137. where <arg> is on honor ^S/^Q local flow control (DEFAULT)
  138. .br
  139. off pass ^S/^Q to remote
  140. .br
  141. This command enables or disables console xon/xoff flow control.
  142. If the argument is omitted, the current flow control state is
  143. displayed. If on, typing ^S/^Q stops or restarts the local
  144. console driver output. If off, ^S and ^Q are passed to the
  145. remote (for EMACS, of course -- who else?).
  146. #--------------------------------------------------------------------
  147. %dcdwatch
  148. Usage: dcdwatch [<dcdwatch-param>]
  149. This command controls the DCD watcher. The optional parameter may be:
  150. .br
  151. y yes - enable DCD watcher
  152. .br
  153. n no - disable DCD watcher
  154. .br
  155. t terminate - terminate ECU on loss of DCD
  156. .br
  157. Entering the command without an argument shows the current status.
  158. The DCD watcher when enabled causes ECU to monitor the DCD line (within
  159. the limits imposed by the OS with its CLOCAL=0 functionality). When the
  160. watcher is on and DCD drops, ECU automatically performs the action of
  161. the interactive or procedure hangup command. If the 't'erminate option
  162. is chosen, then after hangup processing is complete, the ECU program
  163. will terminate.
  164. The state of the watcher may be changed by the use of the dial command
  165. which uses a directory entry that changes the DCD watcher status. See
  166. the manual sections on the interactive commands 'dcdwatch' and 'dial'.
  167. #--------------------------------------------------------------------
  168. %dial
  169. Usage: dial [<dial-param>]
  170. <dial-param> may take one of two forms, a telephone number to dial or a
  171. logical name which can be found in the user phone directory (in file
  172. ~/.ecu/phone).
  173. If a telephone number is supplied, the phone number is dialed;
  174. you must first have set the desired bit rate and parity using
  175. the 'baud' and 'parity' commands. If a logical name is entered, the
  176. phone directory is searched; if the entry is found, the bit rate
  177. and parity is automatically set and the number dialed.
  178. If <dial-param> is not supplied, then a screen-oriented
  179. self-documenting directory manager is executed; you may scan the
  180. directory to select a number to dial, as well as add, remove and
  181. edit entries. See also 'baud' and 'parity'.
  182. #--------------------------------------------------------------------
  183. %do
  184. Usage: do <procname> [<arg> ... ]
  185. Perform ECU procedure. ECU searches for <procname>.ep in the current
  186. directory. If the file is not found, the program looks for the file in
  187. the ~/.ecu directory. One or more arguments may be passed to the
  188. procedure.
  189. #--------------------------------------------------------------------
  190. %duplex
  191. Usage: duplex [ Full | Half ]
  192. This command specifies whether or not ECU is to locally echo characters
  193. typed by you at the keyboard. The overwhelming majority of remote
  194. systems provide the echo function, in which case full duplex must be
  195. used. For the rare occasions when the remote system does not echo your
  196. keyboard input, setting half duplex will allow you to see what you are
  197. typing.
  198. When communicating with another terminal in a "teletype conver-
  199. sation", setting half duplex is generally required. In such
  200. cases, use of the 'nl', 'nlin' and 'nlout' commands may also be
  201. required.
  202. The default setting for duplex is full.
  203. #--------------------------------------------------------------------
  204. #%esc
  205. #Usage esc <hex-constant>
  206. #"command escape ": This command is used only on non-XENIX systems.
  207. #It specifies the equivalent character for the HOME key used
  208. #by XENIX versions of ECU to enter the commands being described
  209. #by this help function. The default setting for this command escape
  210. #s '%'. To change the value, you must enter the hexadecimal value
  211. #of the desired character; it must be in the range 01 through 7F.
  212. #You may use the 'ax' command to aid in converting an ASCII
  213. #character to the appropriate hexadecimal value.
  214. #--------------------------------------------------------------------
  215. %fasi
  216. Usage: fasi [reset]
  217. This command displays or resets the FAS/i tty driver statistics.
  218. The command is found only in versions compiled for FAS/i support.
  219. #--------------------------------------------------------------------
  220. %fi
  221. Usage: fi [<filename>]
  222. "file insert": This command causes file characters to be inserted into
  223. the transmit data stream as though they had been entered at the
  224. keyboard. If <filename> is not entered on the command line, a prompt
  225. for the filename is made. Once the filename has been entered and file
  226. has been opened, you are asked whether the file should be transmitted at
  227. full speed, by "echo pacing" or by a single line at a time. You may
  228. also append an 'f', 'e' or 's' argument to the command line. If your
  229. remote can tolerate it, full speed transmission is the fastest.
  230. Pressing the interrupt key (DEL) stops a full speed transmission. By
  231. specifying echo pacing, it is possible to increase the likelihood of
  232. proper receipt. Pressing the interrupt key (DEL) stops an echo paced
  233. transmission. As a last resort, if echo pacing is not working for you,
  234. (i.e., you are using the command in an environment where the remote does
  235. not echo your characters), use single line at a time transmission. You
  236. must press the space key to initiate sending each line. Pressing 'ESC'
  237. or 's' stops the transfer.
  238. #--------------------------------------------------------------------
  239. %fkey
  240. Usage: fkey [<keyset_name>]
  241. This command allows the mapping of function keys F1-F12, PgUp, PgDn, End
  242. and Ins and the cursor up, down, left and right keys to emit a desired
  243. sequence of characters when a function key is pressed. <keyset_name>
  244. specifies which key set in ~/.ecu/keys is to be selected: Sample entry
  245. in ~/.ecu/keys:
  246. hayes
  247. .br
  248. F1:escape:+ + +
  249. .br
  250. F2:autoans:A T S 0 = 1 cr
  251. .br
  252. F3:dial:A T D T
  253. .br
  254. bbs
  255. .br
  256. F1:cancel:^K
  257. .br
  258. F2:yes:y cr
  259. .br
  260. If a keyset_name matches a logical dial directory name, it is loaded
  261. when the number is dialed.
  262. #--------------------------------------------------------------------
  263. %fkmap
  264. Usage: fkmap display current mapping
  265. .br
  266. fkmap <keyname> display single key mapping
  267. .br
  268. fkmap <keyname> <keylist> modify a key's mapping
  269. .br
  270. fkmap -l <name>
  271. .br
  272. fkmap -r reset to original mapping
  273. .br
  274. fkmap -s <file> append current to file
  275. .br
  276. This command manages the mechanism ECU uses to recognize function keys
  277. when they are entered at the console. If supplied, the first argument to
  278. the command must be the recognized name of a function key from the list:
  279. F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 Home End PgUp PgDn CUP CUL CU5 CUR CUD
  280. If only one argument is supplied, the mapping for the specified key is
  281. displayed. If more than one argument is supplied, the keyboard mapping is
  282. changed. Arguments 2-n are character code specifiers in the format used
  283. to define a funckeymap entry.
  284. WARNING: If found to be syntactically correct, a mapping change is
  285. installed immediately. If incorrect mapping of the HOME key is requested,
  286. you may lose control of ECU.
  287. For a description of the other options, see the manual.
  288. #--------------------------------------------------------------------
  289. %hangup
  290. Usage: hangup
  291. This causes DTR to be momentarily interrupted, terminating any
  292. outstanding connection. Your DCE (modem) must be able to drop carrier
  293. upon loss of DTR.
  294. #--------------------------------------------------------------------
  295. %help
  296. Usage: help [<cmd-name>]
  297. Issuing this command with no argument displays a list of commands
  298. followed by a request for a command for further information.
  299. #--------------------------------------------------------------------
  300. %kbdtest
  301. Usage: kbdtest
  302. This command runs a keyboard test which asks you to press function keys
  303. (e.g., F1). For each key pressed, ECU gives you the actual character
  304. sequence generated by the key. It also tells you which function key it
  305. recognizes (if any). mapping of keyboard generated character sequences
  306. to ECU internal key codes. The command is useful for verifying and
  307. debugging a "funckeymap" entry. To exit the test at any time, press the
  308. escape key.
  309. #--------------------------------------------------------------------
  310. %llp
  311. Usage: llp
  312. This command is a shorthand version of 'log /dev/lp'.
  313. /dev/lp must not be under the control of a print spooler.
  314. #--------------------------------------------------------------------
  315. %loff
  316. Usage: loff
  317. This command is shorthand for 'log off'. If session logging
  318. is active, it is turned off.
  319. #--------------------------------------------------------------------
  320. %log
  321. Usage: log [-s] [-r] [ | off | filename ]
  322. .br
  323. -s "scratch" previous file contents; otherwise append
  324. .br
  325. -r "raw" logging; otherwise non-printable characters
  326. .br
  327. other than tab and newline are omitted from the log
  328. .br
  329. This command controls session logging; issuing the command with no
  330. argument causes the status of session logging to be displayed. The
  331. special argument 'off' causes active logging to be terminated. Other
  332. argument values cause logging to start using the argument as a filename.
  333. Issuing a 'log filename' command when logging is already active causes
  334. the previous file to be closed and the new file to be opened. Switches
  335. are meaningful only when used in conjunction with a filename to start
  336. logging.
  337. #--------------------------------------------------------------------
  338. %memstat
  339. Usage: memstat
  340. Experimental malloc display. -lmalloc bug may report erroneous data.
  341. #--------------------------------------------------------------------
  342. %mkdir
  343. Usage: mkdir <dirpath>
  344. Create a new directory named <dirpath>.
  345. #--------------------------------------------------------------------
  346. %nl
  347. Usage: nl
  348. Display the current setting of CR/LF mapping. For more information,
  349. refer to the 'nlin' and 'nlout' command descriptions.
  350. #--------------------------------------------------------------------
  351. %nlin
  352. Usage: nlin [<y-n>]
  353. This command controls whether or not a newline (NL/LF) character is sent
  354. to the screen upon receipt of a carriage return (CR) from the remote
  355. system. Most remote computers supply a NL after CR. When communicating
  356. with another terminal in a "teletype conversation", this is generally
  357. not the case (see also the 'duplex' command).
  358. Issuing the command without <y-n> causes the current setting to be
  359. displayed. The format of <y-n> is flexible: 'y' or '1' enables
  360. appending NL to CR, 'n' or '0' causes the feature to be disabled.
  361. #--------------------------------------------------------------------
  362. %nlout
  363. Usage: nlout [<y-n>]
  364. This command controls whether or not a newline (NL/LF) character
  365. is sent to the remote system upon transmission of a carriage
  366. return (CR) entered by the keyboard. Most remote computers do
  367. not require (indeed "dislike") a NL after CR. When communicating
  368. with another terminal in a "teletype conversation", this is
  369. generally not the case (see also the 'duplex' command).
  370. Issuing the command without <y-n> causes the current setting to be
  371. displayed. The format of <y-n> is flexible: 'y' or '1' enables
  372. appending NL to CR, 'n' or '0' causes the feature to be disabled.
  373. #--------------------------------------------------------------------
  374. %parity
  375. Usage: parity [ None | Even | Odd ]
  376. This command controls the parity of characters transmitted by the
  377. keyboard. Issuing the command with no parameter displays the current
  378. setting. When the parameter is supplied, only the first character is
  379. required. Even or odd parity implies seven data bits; no parity implies
  380. eight data bits. Parity of incoming characters is not checked.
  381. The setting may be automatically changed as the result of a 'dial'
  382. command. See also the 'baud' and 'dial' command descriptions.
  383. #--------------------------------------------------------------------
  384. %pid
  385. Usage: pid
  386. This command displays the process id of the ECU transmitter process, the
  387. ECU receiver process and the process ids of ECU's parent and group.
  388. #--------------------------------------------------------------------
  389. %ptrace
  390. Usage: ptrace [ 0 | 1 | on | off]
  391. This command controls whether or not procedure execution is to be
  392. traced.
  393. #--------------------------------------------------------------------
  394. %pwd
  395. Usage: pwd
  396. This command prints the current working directory of the ECU process.
  397. #--------------------------------------------------------------------
  398. %rk
  399. Usage: rk
  400. This command searches the PATH list for 'ckermit' (Columbia University
  401. C-Kermit) and invokes it to receive files. See the ECU documentation
  402. for modifications necessary to ckermit for ECU operation. The file
  403. ~/.kermrc must be set up to have any desired initialization parameters
  404. you desire. Refer to C-Kermit documentation for more information.
  405. #--------------------------------------------------------------------
  406. %redial
  407. Usage: redial [<retry-count> [<pause-interval>]]
  408. This command redials a number previously dialed with the 'dial' command.
  409. Modem status is tested and multiple retries may be made. <retry-count>
  410. specifies how many retries are to be made. <pause-interval> specifies
  411. how many seconds the program pauses after a failure to connect. You
  412. must specify <retry-count> in order to specify <pause-interval>. The
  413. default value for <retry-count> is 10. The default <pause-interval> is 60.
  414. You should know that in some jurisdictions, it is ILLEGAL to dial the
  415. same telephone number more than a specified number of times during some
  416. interval of time. In any case, specifying <pause-interval> less than 15
  417. seconds is silently changed to 15 seconds.
  418. #--------------------------------------------------------------------
  419. %rev
  420. Usage: rev
  421. This command displays ECU's revision, the date and time ECU was
  422. made and the status of CFG configuration switches used to make
  423. ECU.
  424. #--------------------------------------------------------------------
  425. %rx
  426. Usage: rx
  427. This command invokes a modified version of Chuck Forsberg's rz program
  428. (version 1.31) to receive files from the remote system using XMODEM/CRC.
  429. After entering the command, you are prompted as to whether or not file
  430. CR/LF characters are to be converted to newlines. If you are
  431. transferring text files from a system which contain CR/LF line
  432. terminators, you must answer yes to this question. You should answer no
  433. when transferring binary files, such as executables, .arc files and the
  434. like. File transfer progress is presented on a visual display. To
  435. abort the transfer, press your interrupt key (usually DEL unless reset
  436. with stty(C)).
  437. #--------------------------------------------------------------------
  438. %ry
  439. Usage: ry
  440. This command invokes a modified version of Chuck Forsberg's rz program
  441. (version 1.31) to receive files from the remote system using YMODEM
  442. batch with CRC-16 error correction. The YMODEM is "true YMODEM", not
  443. XMODEM-1k. File transfer progress is presented on a visual display. To
  444. abort the transfer, press your interrupt key (usually DEL unless reset
  445. with stty(C)).
  446. #--------------------------------------------------------------------
  447. %rz
  448. Usage: rz
  449. This command invokes a modified version of Chuck Forsberg's rz program
  450. (version 1.44) to receive files from the remote system using
  451. ZMODEM/CRC32. File transfer progress is presented on a visual display.
  452. To abort the transfer, press your interrupt key (usually DEL unless
  453. reset with stty(C)).
  454. #--------------------------------------------------------------------
  455. %sk
  456. Usage: sk [<file-list>]
  457. This command searches the PATH list for 'ckermit' (Columbia University
  458. C-Kermit) and invokes it to send files. The file ~/.kermrc must be set
  459. up to have any desired initialization parameters you desire.
  460. Refer to the ECU manual and to C-Kermit documentation for more information.
  461. After entering the command, you are prompted as to whether or not file
  462. newline characters are to be converted to CR/LF. If you are
  463. transferring text files to a system which requires CR/LF line
  464. terminators, you must answer yes to this question. You should answer no
  465. when transferring binary files, such as executables, .arc files and the
  466. like. You are prompted to enter a list of files to send, which may
  467. contain one or more wildcard specifications.
  468. #--------------------------------------------------------------------
  469. %stat
  470. Usage: stat
  471. This command displays various status and statistics about ECU usage.
  472. Its display varies from system to system and is generally
  473. self-explanatory.
  474. #--------------------------------------------------------------------
  475. %sx
  476. Usage: sx [<file-name>]
  477. This command invokes a modified version of Chuck Forsberg's sz program
  478. (version 1.44) to send a file to the remote system using XMODEM/CRC.
  479. After entering the command, you are prompted as to whether or not file
  480. CR/LF characters are to be converted to newlines. If you are
  481. transferring text files from a system which contain CR/LF line termi-
  482. nators, you must answer yes to this question. You should answer no when
  483. transferring binary files, such as executables, .arc files and the like.
  484. You are prompted to enter a filename to send. File transfer progress is
  485. presented on a visual display. To abort the transfer, press your
  486. interrupt key (usually DEL unless reset with stty(C)).
  487. #--------------------------------------------------------------------
  488. %sy
  489. Usage: sy [<file-list>]
  490. This command invokes a modified version of Chuck Forsberg's sz program
  491. (version 1.44) to send file(s) to the remote system using YMODEM/CRC.
  492. You are prompted to enter filename(s) to send, which may consist of one
  493. or more wildcard specifications. File transfer progress is presented on
  494. a visual display. To abort the transfer, press your interrupt key
  495. (usually DEL unless reset with stty(C)).
  496. #--------------------------------------------------------------------
  497. %sz
  498. Usage: sz [<file-list>]
  499. This command invokes a modified version of Chuck Forsberg's sz program
  500. (version 1.44) to send file(s) to the remote system using ZMODEM/CRC32.
  501. You are prompted to enter filename(s) to send, which may consist of one
  502. or more wildcard specifications. File transfer progress is presented on
  503. a visual display. To abort the transfer, press your interrupt key
  504. (usually DEL unless reset with stty(C)).
  505. Note: if you specify sending only newer files and the remote receiver
  506. does not support the feature, it may skip (reject) all your files.
  507. Retry the transfer specifying 'N' to 'Transfer only newer files'.
  508. #--------------------------------------------------------------------
  509. %time
  510. Usage: time
  511. This command displays the local date and time as well as the current UTC.
  512. #--------------------------------------------------------------------
  513. %tty
  514. Usage: tty
  515. This command displays the current console tty name.
  516. #--------------------------------------------------------------------
  517. %erto
  518. Usage: erto [<msec>]
  519. This command specifies the default timeout period (in milliseconds)
  520. of the next "expect" in an ECU-executed expect-respond script.
  521. Remember that ECU expect-respond scripts can change timeouts on their
  522. own, so this number may not "stick." Entering the command with no
  523. arguments displays the current value (which, again, may not be the
  524. value ECU started with or the value you last selected).
  525. #--------------------------------------------------------------------
  526. %erverbose
  527. Usage: erverbose [<true-false>]
  528. This command specifies the verbosity level of an ECU-executed
  529. expect-respond script. Entering the command with no argument
  530. displays the current status of verbosity. To change the value, enter
  531. an argument beginning with an lower-case 'y' or 'n'.
  532. Examples:
  533. .br
  534. erv
  535. .br
  536. erv y
  537. .br
  538. #--------------------------------------------------------------------
  539. %exit
  540. Usage: exit
  541. This command terminates ECU promptly. If your modem does not
  542. drop carrier upon loss of Data Terminal Ready (DTR), you must use
  543. the 'hangup' command prior to issuing the 'exit' command. It is
  544. strongly recommended that you configure your modem to hang up the
  545. phone line when DTR drops. A shorthand version of this command
  546. exists: '.' is equivalent to 'exit'.
  547. #--------------------------------------------------------------------
  548. %xon
  549. Usage: xon [<arg>]
  550. .br
  551. where <arg> is on input and output flow control
  552. .br
  553. off no flow control
  554. .br
  555. in input flow control
  556. .br
  557. out output flow control
  558. .br
  559. This command enables or disables xon/xoff flow control. If the
  560. argument is omitted, the current flow control state is displayed.
  561. #--------------------------------------------------------------------
  562. %!
  563. Usage: !
  564. .br
  565. !<command>
  566. .br
  567. The '!' command is a shell escape. The environment variable SHELL is
  568. read to determine what shell program to execute (e.g., /bin/sh, etc).
  569. If '!' is entered by itself, an interactive shell is started; press ^D
  570. to exit back to ECU. If <command> is supplied, it is executed by the
  571. shell with an immediate return to ECU.
  572. Similarly,
  573. .br
  574. '$' causes the communications line to be stdin and stdout
  575. .br
  576. for the spawned shell
  577. .br
  578. '-' is similar to '>', except the command is executed directly
  579. .br
  580. without going through a shell.
  581. .br
  582. #--------------------------------------------------------------------
  583. %$
  584. Usage: $
  585. .br
  586. $<command>
  587. .br
  588. The '$' command is a shell escape causing the communications line
  589. to be the standard input and output. The environment variable
  590. SHELL is read to determine what shell program to execute (e.g.,
  591. /bin/sh, etc). If '$' is entered by itself, an interactive shell
  592. is started; a ^D received from the communications line causes the
  593. shell to terminate and control to be passed back to ECU. If
  594. <command> is supplied, it is executed by the shell with an
  595. immediate return to ECU.
  596. #--------------------------------------------------------------------
  597. %-
  598. Usage: -<command>
  599. The '-' command causes <command> to be executed directly without
  600. passing through a shell (no wildcard expansion or other shell
  601. processing occurs). Standard input, output and error all are
  602. opened to the console. In addition, all other files (including
  603. the communications line) opened by ECU remain open.
  604. #--------------------------------------------------------------------
  605. %?
  606. Usage: ?
  607. This is an alias for the help command.
  608. #--------------------------------------------------------------------
  609. %clrx
  610. Usage: clrx
  611. The 'clrx' command simulates receipt of an XON by ECU. It is useful
  612. in the rare circumstances that an XOFF is received by ECU from a
  613. remote system and no later XON is received.
  614. #--------------------------------------------------------------------
  615. %pcmd
  616. Usage: pcmd <procedure command>
  617. The 'pcmd' command allows a procedure command to be issued from the
  618. interactive command prompt. It is primarily intended for debugging
  619. procedure commands, but it is available for any use. Certain
  620. commands are illogical from the interactive mode. Attempting, for
  621. instance to execute a `whilei' will result in the error `not executing
  622. a procedure.'
  623. #--------------------------------------------------------------------
  624. %plog
  625. Usage: plog [<filename> | off | ]
  626. The 'plog' command turns on or off procedure logging. If the
  627. argument to the command is 'off', logging is turned off, otherwise
  628. logging is started on the specified file. If no argument is specified,
  629. the status of procedure logging is displayed.
  630. #--------------------------------------------------------------------
  631. %rtscts
  632. usage: rtscts [ off | on | no | yes | 0..7 ]
  633. This command turns on or off the driver RTS and CTS flow control if
  634. support is provided by the OS. This is a complex subject
  635. and you should refer to the manual and the UNIX oral/net
  636. tradition if you are confused.
  637. For SCO:
  638. .br
  639. argument | RTSFLOW | CTSFLOW argument | RTSFLOW | CTSFLOW | CRTSFL
  640. .br
  641. ---------+---------+--------- ---------+---------+---------+--------
  642. .br
  643. off | 0 | 0 0 | 0 | 0 |
  644. .br
  645. on | 0 | 1 1 | 0 | 1 |
  646. .br
  647. no | 0 | 0 2 | 1 | 0 |
  648. .br
  649. yes | 0 | 1 3 | 1 | 1 |
  650. .br
  651. 4 | 0 | 0 | 1
  652. Choice 4 only works on SCO 3.2v4 and ODT 2.0. As you can see, numeric
  653. values are masks. If the 4 bit is present in the numeric value, it
  654. overrides the lower-order bits: Specifying 7 as an argument specifies
  655. CRTSFL is to be used if it is supported, otherwise RTSFLOW and CTSFLOW.
  656. A similar feature is provided under SVR4 and SunOS. See the ECU manual
  657. and your system's termio man page (termios for SunOS) for details.
  658. #--------------------------------------------------------------------
  659. %sdname
  660. Usage: sdname [<filename> | ]
  661. This command sets or displays the current screen dump filename.
  662. Until the command is issued, screen dump data is placed in
  663. ~/.ecu/screen.dump.
  664. #--------------------------------------------------------------------
  665. %sgr
  666. Usage: sgr mode cmd
  667. This experimental command is used to test the timed read primitive
  668. used by ECU. The command <cmd> is sent to the line and a timed read
  669. is performed. The data returned is displayed in hexadecimal format on
  670. the console. The stimulus (cmd) and response is logged in
  671. ./ecu.sgr.log if the current directory must be writable. Refer to
  672. source module ecugrabbag.c function send_get_response() for details.
  673. See SGRTO1 and SGRTO2 for additional flexibility
  674. #--------------------------------------------------------------------
  675. %sgrto1
  676. Usage: sgrto1 <msec>
  677. Set time to wait for first character in response to an sgr stimulus.
  678. #--------------------------------------------------------------------
  679. %sgrto2
  680. Usage: sgrto2 <msec>
  681. Set time to wait for later characters in response to an sgr stimulus.
  682. #--------------------------------------------------------------------
  683. %td
  684. Usage: td
  685. Display the termcap strings that ECU received from termcap
  686. initialization. Useful for debugging screen display problems.
  687. #--------------------------------------------------------------------
  688. %telopt
  689. Usage: telopt [ y | n | ]
  690. If configured for it, ECU can make internet (telnet) connections.
  691. When in one, telnet options are exchanged between ECU and the
  692. remote telnetd. This command controls or displays whether or not
  693. ECU displays visible evidence of such traffic. By default, this
  694. feature is turned off.
  695. There is little traffic once the session begins. You most likely
  696. wish to use the -z switch or use the procedure version of this
  697. command in an _rc.ep file.
  698. #--------------------------------------------------------------------
  699. %ts
  700. Usage: ts
  701. This experimental command displays raw termio structure information
  702. for the console and the tty. It is primarily used in debugging ECU.
  703. #--------------------------------------------------------------------
  704. %xlog
  705. Usage: xlog [y | n]
  706. This experimental command controls exhaustive logging by the X, Y, and
  707. ZMODEM file transfer protocols to files named /tmp/szNNNNN.log or
  708. /tmp/rzNNNNN.log where NNNNN is the process id of the transfer process.
  709. #--------------------------------------------------------------------
  710. %eto
  711. Usage: eto [msec]
  712. This experimental command sets or displays the "escape timeout"
  713. for non-multiscreen function key detection. Use caution: although
  714. the command has a lower limit, you may set the value low enough
  715. not to be able to use the HOME key!
  716. #--------------------------------------------------------------------
  717. %nice
  718. Usage: nice [niceval]
  719. This command sets or displays the process nice value. The usual
  720. rules apply (hint: you might accidently nice4 yourself into not
  721. getting enough CPU!)
  722. #--------------------------------------------------------------------
  723. %pushd
  724. Usage: pushd [ | <dir> ]
  725. This command either 1) pushes the current directory pathname onto
  726. a stack and establishes a new directory or 2) shows the current
  727. stack. Issuing the command with no argument displays the stack.
  728. #--------------------------------------------------------------------
  729. %popd
  730. Usage: pushd [ | <#> | all ]
  731. This command pops one, many or all of the entries off directory
  732. stack, restoring a previous directory. No argument results in
  733. one directory being popped. A numeric argument pops the stack to
  734. a specified level. 'all' is equal to the numeric value 0 (and
  735. may be abbreviasted 'a').