📄 _icmd.txt
字号:
of proper receipt. Echo pacing reads the return data stream toattempt to keep from overloading the remote. Pressing the interruptkey (DEL) stops an echo paced transmission.As a last resort, if echo pacing is not working for you, (i.e., youare using the command in an environment where the remote does notecho your characters), single line at a time transmission isavailable. With "single" line transmission, you must press thespace key to initiate sending each line. Pressing the 'ESC' or 's'key stops the transfer..*s 2 "FKEy : function key definition".DS Lusage: fkey [<keyset_name>] fkey -r.DEThis command allows the mapping of function keys F1-F12,PgUp, PgDn, End and Ins and the cursor up, down, left andright keys to emit a desired sequence of characters when afunction key is pressed. <keyset_name> specifies which keyset in ~/.ecu/keys is to be selected. Sample entry:.DS Ihayes F1:escape:+ + + F2:autoans:A T S 0 = 1 cr F3:dial:A T D Tbbs F1:cancel:^K F2:yes:y cr.DE-r resets the key handler to the same state as when ECUwas started. See the section above titled "Standard Function Keys".If a keyset_name matches a logical dial directory name, itis loaded after a connection is established.The characters in the mapped string may be any printable characteror one of the following:.DS Imap -> character map -> character--- ----------- --- ------------nul 0 000 00 ^@ | dle 16 020 10 ^Psoh 1 001 01 ^A | dc1 17 021 11 ^Qstx 2 002 02 ^B | dc2 18 022 12 ^Retx 3 003 03 ^C | dc3 19 023 13 ^Seot 4 004 04 ^D | dc4 20 024 14 ^Tenq 5 005 05 ^E | nak 21 025 15 ^Uack 6 006 06 ^F | syn 22 026 16 ^Vbel 7 007 07 ^G | etb 23 027 17 ^Wbs 8 010 08 ^H | can 24 030 18 ^Xht 9 011 09 ^I | em 25 031 19 ^Ynl 10 012 0a ^J | sub 26 032 1a ^Zvt 11 013 0b ^K | esc 27 033 1b ^[ff 12 014 0c ^L | fs 28 034 1c ^\ecr 13 015 0d ^M | gs 29 035 1d ^]so 14 016 0e ^N | rs 30 036 1e ^^si 15 017 0f ^O | us 31 037 1f ^_.DE.*s 2 "FKMap : funckeymap (function key recognition) management".DS Lusage: fkmap fkmap <keyname> fkmap <keyname> <keylist> fkmap -l <name> fkmap -r fkmap -s <file>.DEThis command manages the mechanism ECU uses to recognize functionkeys when they are entered at the console. Entering the commandwith no arguments displays the current mapping in funckeymap format.If supplied, the first argument to the command must be therecognized name of a function key from the list:.DS L F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 Home End PgUp PgDn CUP CUL CU5 CUR CUD.DEThe case of the entered argument is unimportant.If only one argument is supplied, the mapping for the specified keyis displayed. If more than one argument is supplied, the keyboardmapping is changed. Arguments 2-n are character code specifiersin the format used to define a funckeymap entry..B WARNING :If found to be syntactically correct, a mapping changeis installed immediately. If incorrect mapping of the HOMEkey is requested, you may lose control of ECU.The -l form reads an entire funckeymap definition matching <name>from ~/.ecu/funckeymap (if not found there, in a file by the samename in the library directory). This form behaves exactlyin the same manner as the command line switch -F.Due to the drastic nature of this command, if it fails toexecute properly, ECU terminates itself. Note thatimproper use of this form of the command can still renderECU an albatross (with Home unrecognizable).The -r form rereads the original funckeymap definition (asat program invocation), reseting the mapping. The -s switchsaves the current mapping to <file>.Switches may not be combined. Only one switch may appear..DS LExamples: fkmap f10 display F10 mapping fkmap Home ^Z map Home to ^Z after this command, type ^Z for Home.DE.*s 2 "HAngup : hang up modem".DS Lusage: hangup.DEThis causes DTR to be momentarily interrupted,terminating any outstanding connection.Your DCE (modem) must be able to drop carrier upon loss of DTR..*s 2 "HElp : invoke help".DS Lusage: help [<cmd-name>].DEIssuing this command with no argument displays a list ofcommands followed by a request for a command for furtherinformation..*s 2 "KBDTest : test keyboard mapping".DS Lusage: kbdtest.DEThis command runs a keyboard test which asks you to press function keys(e.g., F1). For each key pressed, ECU gives you the actual charactersequence generated by the key. It also tells you which function key itrecognizes (if any). mapping of keyboard generated character sequencesto ECU internal key codes. The command is useful for verifying anddebugging a "funckeymap" entry. To exit the test at any time, press theescape key..*s 2 "LLp : set session log to /dev/lp".DS Lusage: llp.DEThis command is ashorthand version of 'log /dev/lp'. /dev/lp must not beunder the control of a print spooler..*s 2 "LOFf : turn off session logging".DS Lusage: loff.DEThis command is shorthand for 'log off'. If session loggingis active, it is turned off..*s 2 "LOG : session logging control".DS Lusage: log [-s] [-r] [ | off | filename ] -s "scratch" previous file contents; otherwise append -r "raw" logging; otherwise non-printable characters other than tab and newline are omitted from the log.DEThis command controls session logging; issuing the commandwith no argument causes the status of session logging to bedisplayed. The special argument 'off' causes active loggingto be terminated. Other argument values cause logging tostart using the argument as a filename. Issuing a .B logcommand with a filename when logging is already active causes theprevious file to be closed and the new file to be opened.Switches are meaningful only when used in conjunction with afilename to start logging..*s 2 "NL : display CR/LF mapping".DS Lusage: nl.DEDisplay the current setting of CR/LF mapping. For moreinformation, refer to the.B nlinand.B nloutcommand descriptions..*s 2 "NLIn : set receive CR/LF mapping".DS Lusage: nlin [<y-n>].DEThis command controls whether or not a newline (NL/LF)character is sent to the screen upon receipt of a carriagereturn (CR) from the remote system. Most remote computerssupply a NL after CR. When communicating with anotherterminal in a "teletype conversation", this is generally notthe case (see also the .B duplexcommand).Issuing the command without <y-n> causes the current settingto be displayed. The format of <y-n> is flexible: 'y' or '1'enables appending NL to CR, 'n' or '0' causes thefeature to be disabled..*s 2 "NLOut : set transmit CR/LF mapping".DS Lusage: nlout [<y-n>].DEThis command controls whether or not a newline (NL/LF)character is sent to the remote system upon transmission ofa carriage return (CR) entered by the keyboard. Most remotecomputers do not require (indeed "dislike") a NL after CR.When communicating with another terminal in a "teletypeconversation", this is generally not the case (see also the.B duplexcommand).Issuing the command without <y-n> causes the current settingto be displayed. The format of <y-n> is flexible: 'y' or '1'enables appending NL to CR, 'n' or '0' causes thefeature to be disabled..*s 2 "OA : octal to ascii char".DS Lusage: oa [<octal-val>].DE<octal-val> is a octal value between 0 and 0377; the parity(sign) bit is stripped and the equivalent ASCII charactervalue is displayed.If no argument is supplied, a table of control charactersis printed containing decimal, octal, hex, ASCII identifiersand two-character control character identifier..*s 2 "PARity : set/display line parity".DS Lusage: parity [ None | Even | Odd ].DEThis command controls the parity of characters transmittedby the keyboard. Issuing the command with no argumentdisplays the current setting. When the argument issupplied, only the first character is required. Even or oddparity implies seven data bits; no parity implies eight databits. Parity of incoming characters is not checked.The setting may be automatically changed as the result of aninteractive or procedure.B dialcommand. See the .B baudand .B dialcommand descriptions..*s 2 "PId : display process ids".DS Lusage: pid.DEThis command displays the process id of the ECU transmitterprocess, the ECU receiver process and the process ids ofECU's parent and group..*s 2 "PLog : procedure logging".DS Lusage: plog [ <filename> | off].DEThis command enables or disables procedure logging..*s 2 "POpd : pop to previous directory".DS Lusage: popd [ | <#> | all].DEThis command returns to a previous directory after a.B pushdcommand has been previously executed.If no argument is supplied, the directory at the immediately previouslevel is restored. If a numeric argument is supplied, the directoryat the specified level is restored; the level numbers may be obtained byissuing a.B pushdcommand with no arguments.If the 'all' argument is supplied, it is treated as a numeric argument of 0;that is the directory stack is cleared and the directory at level 0 isrestored.The directory stack is shared between interactive and procedurecommands. Neither beginning nor ending a procedure affects thedirectory stack level..DS LExamples: popd popd 3 popd all.DE.*s 2 "PTrace : control procedure trace".DS Lusage: ptrace [ on | off | #] on - set trace state to 1 off - set trace state to 0 # - set trace to numeric value #.DEThis command controls whether or not procedure execution isto be traced. Trace output is written tothe screen and varies in its nature dependingupon the command being traced. Specifically,any change to a string or integer variableis noted. If tracing is enabled, the output will also bewritten to the procedure log file (see the.b ploginteractive and procedure commands).The majority of procedure tracing features use the current tracestate as a binary condition. That is, either tracing is doneor not. However, the procedure command.B exprespemits varying levels of debugging output in a manner similar tothe uucico -x flag.Issuing the command with no argument shows current status..*s 2 "PUshd : push to new directory".DS Lusage: pushd [ | <dir>].DEThis command either 1) saves the current directory pathname ona stack and establishes a new current directory or2) displays the current stack and current directory.The stack size is 10.If no argument is supplied, the directory stack is displayed.The directory stack is shared between interactive and procedurecommands. Neither beginning nor ending a procedure affects thedirectory stack level..DS LExamples: pushd pushd /tmp.DE.*s 2 "PWd : print working directory".DS Lusage: pwd.DEThis command prints the current working directory of the ECUprocess..*s 2 "REDial : redial last number".DS Lusage: redial [<retry-count> [<pause-interval>]].DEThis command redials a number previously dialed with the 'dial' command.Modem status is tested and multiple retries may be made. <retry-count>specifies how many retries are to be made. <pause-interval> specifieshow many seconds the program pauses after a failure to connect. Youmust specify <retry-count> in order to specify <pause-interval>. Thedefault value for <retry-count> is 10, for <pause-interval> is 60.You should know that in some jurisdictions, it is ILLEGAL to dial thesame telephone number more than a specified number of times during someinterval of time. In any case, a <pause-interval> less than 15 secondsis silently changed to 15 seconds..*s 2 "REV : ECU revision/make date".DS L
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -