📄 ckuker.nr
字号:
.fiNote that numbers turn into the character with that binary code (0-255), soyou can use \\7 for a bell, \\13 for carriage return, \\10 for linefeed.For example, to have C-Kermit send a BELL to your screen, type:.nf.sp echo \\7.sp.fi.SH "COMMAND LIST".PPThe commands most commonly used, and important for beginners toknow, are marked with "*":.nf.in 0.ll 80.ta 16.spProgram Management: BUG Learn how to report bugs. CHECK See if a particular feature is configured. CLOSE Close a log or other local file. COMMENT Introduce a full-line comment. DATE Display current date & time.* EXIT Leave the program, return to UNIX.* HELP Display a help message for a given command.* INTRO Print a brief introduction to C-Kermit. LOG Open a log file -- debugging, packet, session, transaction. PUSH Invoke local system's interactive command interpreter. QUIT Synonym for EXIT. REDIRECT Redirect standard i/o of command to communication device. RUN Run a program or system command. SET COMMAND Command-related parameters: bytesize, recall buffer size. SET DEBUG Log or display debugging information. SET EXIT Items related to C-Kermit's action upon exit or SET LINE/HOST. SET PROMPT The C-Kermit program's interactive command prompt. SHOW EXIT Display SET EXIT parameters. SHOW FEATURES Show features that C-Kermit was built with. SHOW VERSIONS Show version numbers of each source module. SUSPEND Suspend Kermit (use only if shell supports job control!).* SHOW Display values of SET parameters.* TAKE Execute commands from a file. VERSION Display the C-Kermit program version number. Z Synonym for SUSPEND. Ctrl-C Interrupt a C-Kermit command in progress. Ctrl-Z Synonym for SUSPEND. ; or # Introduce a full-line or trailing comment. ! or @ Synonym for RUN. < Synonym for REDIRECT..spConnection Establishment and Release:* DIAL Dial a telephone number.* HANGUP Hang up the phone or network connection. PAD Command for X.25 PAD (SunOS / Solaris / VOS only). PING Check status of remote TCP/IP host. REDIAL The the most recently DIALed number again. SET CARRIER Treatment of carrier on terminal connections.* SET DIAL Parameters related to modem dialing.* SET FLOW Communication line flow control: AUTO, RTS/CTS, XON/XOFF, etc.* SET HOST Specify remote network host name or address.* SET LINE Specify serial communication device name, like /dev/cua.* SET MODEM TYPE Specify type of modem on SET LINE device, like HAYES.* SET NETWORK Network type, TCP/IP or X.25 (SunOS / Solaris / VOS only). SET TCP Specify TCP protocol options (advanced). SET TELNET Specify TELNET protocol options. SET PAD X.25 X.3 PAD parameters (SunOS / Solaris / VOS only).* SET PARITY Character parity (none, even, etc) for communications.* SET SPEED Serial communication device speed, e.g. 2400, 9600, 57600. SET X.25 Specify X.25 connection parameters (SunOS/Solaris/VOS only). SHOW COMM Display all communications settings. SHOW DIAL Display SET DIAL values. SHOW MODEM Display modem type, signals, etc. SHOW NETWORK Display network-related items.* TELNET = SET NETWORK TCP/IP, SET HOST ..., CONNECT. TELOPT Send a TELNET option negotiation (advanced)..spTerminal Connection:* C Special abbreviation for CONNECT.* CONNECT Establish a terminal connection to a remote computer. SET COMMAND Bytesize between C-Kermit and your keyboard and screen.* SET DUPLEX Specify which side echoes during CONNECT. SET ESCAPE Prefix for "escape commands" during CONNECT. SET KEY Key mapping and macros for use in CONNECT mode. SET TERMINAL Terminal connection items: bytesize, character-set, echo, etc. SHOW ESCAPE Display current CONNECT-mode escape character. SHOW KEY Display keycode and assigned value or macro. SHOW TERMINAL Display SET TERMINAL items.* Ctrl-\\ CONNECT-mode escape character, follow by another character: C to return to C-Kermit> prompt. B to send BREAK signal. ? to see other options..spFile Transfer: ADD Add a file specification to the SEND-LIST LOG SESSION Download a file with no error checking. MOVE Send a file and then delete it MMOVE Multiple MOVE - accepts a list of files, separated by spaces. MSEND Multiple SEND - accepts a list of files, separated by spaces.* RECEIVE Passively wait for files to arrive from other Kermit.* R Special abbreviation for RECEIVE.* SEND Send files.* S Special abbreviation for SEND. REGET Continue a incomplete download from a server. RESEND Continue a incomplete upload. PSEND Send part of a file. SET ATTRIB Control transmission of file attributes.* SET BLOCK Choose error-checking level, 1, 2, or 3. SET BUFFERS Size of send and receive packet buffers. SET PREFIX Which control characters to "unprefix" during file transfer. SET DELAY How long to wait before sending first packet. SET DESTINATION DISK, PRINTER, or SCREEN for incoming files.* SET FILE Transfer mode (type), character-set, collision action, etc.* SET RECEIVE Parameters for inbound packets: packet-length, etc. SET REPEAT Repeat-count compression parameters. SET RETRY Packet retransmission limit. SET SEND Parameters for outbound packets: length, etc. SET HANDSHAKE Communication line half-duplex packet turnaround character. SET LANGUAGE Enable language-specific character-set translations. SET SESSION-LOG File type for session log, text or binary. SET TRANSFER File transfer parameters: character-set, display, etc. SET TRANSMIT Control aspects of TRANSMIT command execution. SET UNKNOWN Specify handling of unknown character sets.* SET WINDOW File transfer packet window size, 1-31. SHOW ATTRIB Display SET ATTRIBUTE values. SHOW CONTROL Display control-character prefixing map.* SHOW FILE Display file-related settings. SHOW PROTOCOL Display protocol-related settings. SHOW LANGUAGE Display language-related settings. SHOW TRANSMIT Display SET TRANSMIT values.* STATISTICS Display statistics about most recent file transfer. TRANSMIT Upload a file with no error checking. XMIT Synonym for TRANSMIT..spFile Management:* CD Change Directory.* DELETE Delete a file or files.* DIRECTORY Display a directory listing. MAIL Send a file to other Kermit, to be delivered as e-mail. PRINT Print a local file on a local printer.* PWD Display current working directory. RENAME Change the name of a local file. SET PRINTER Choose printer device. SPACE Display current disk space usage. SHOW CHARACTER-SETS Display character-set translation info. TRANSLATE Translate a local file's character set. TYPE Display a file on the screen. XLATE Synonym for TRANSLATE..spClient/Server operation: BYE Terminate a remote Kermit server and log out its job. DISABLE Disallow access to selected features during server operation: E-PACKET Send an Error packet. ENABLE Allow access to selected features during server operation. FINISH Instruct a remote Kermit server to exit, but not log out. G Special abbreviation for GET. GET Get files from a remote Kermit server. RETRIEVE Like GET but server deletes files after. REMOTE xxx Command for server, can be redirected with > or |. REMOTE CD Tell remote Kermit server to change its directory. REMOTE ASSIGN Assign a variable REMOTE DELETE Tell server to delete a file. REMOTE DIRECTORY Ask server for a directory listing. REMOTE HELP Ask server to send a help message. REMOTE HOST Ask server to ask its host to execute a command. REMOTE KERMIT Send an interactive Kermit command to the server. REMOTE LOGIN Authenticate yourself to a remote Kermit server. REMOTE LOGOUT Log out from a Kermit server previously LOGIN'd to. REMOTE PRINT Print a local file on the server's printer. REMOTE QUERY Get value of a variable. REMOTE SET Send a SET command to a remote server. REMOTE SPACE Ask server how much disk space it has left. REMOTE TYPE Ask server to display a file on your screen. REMOTE WHO Ask server for a "who" or "finger" listing. SERVER Be a Kermit server. SET SERVER Parameters for server operation. SHOW SERVER Show SET SERVER, ENABLE/DISABLE items..spScript programming: ASK Prompt the user, store user's reply in a variable. ASKQ Like ASK, but, but doesn't echo (useful for passwords). ASSIGN Assign an evaluated string to a variable or macro. CLEAR Clear communication device input buffer. CLOSE Close a log or other local file. DECLARE Declare an array. DECREMENT Subtract one (or other number) from a variable. DEFINE Define a variable or macro. DO Execute a macro ("DO" can be omitted). ECHO Display text on the screen. ELSE Used with IF. END A command file or macro. EVALUATE an arithmetic expression. FOR Execute commands repeatedly in a counted loop. FORWARD GOTO in the forward direction only. GETC Issue a prompt, get one character from keyboard. GETOK Ask question, get Yes or No answer, set SUCCESS or FAILURE. GOTO Go to a labeled command in a command file or macro. IF Conditionally execute the following command. INCREMENT Add one (or other number) to a variable. INPUT Match characters from another computer against a given text. LOCAL Declares local variables in a macro MINPUT Like INPUT, but allows several match strings. MSLEEP Sleep for given number of milliseconds. OPEN Open a local file for reading or writing. O Special abbreviation for OUTPUT. OUTPUT Send text to another computer. PAUSE Do nothing for a given number of seconds. READ Read a line from a local file into a variable. REINPUT Reexamine text previously received from another computer. RETURN Return from a user-defined function. SCRIPT Execute a UUCP-style login script. SET ALARM Set a timer to be used with IF ALARM; SHOW ALARM shows it. SET CASE Treatment of alphabetic case in string comparisons. SET COMMAND QUOTING turns on/off interpretation of backslash notation. SET COUNT For counted loops. SET INPUT Control behavior of INPUT command. SET MACRO Control aspects of macro execution. SET TAKE Control aspects of TAKE file execution. SHOW ARGUMENTS Display arguments to current macro. SHOW ARRAYS Display information about active arrays. SHOW COUNT Display current COUNT value. SHOW FUNCTIONS List names of available \\f() functions. SHOW GLOBALS List defined global variables \\%a..\\%z. SHOW MACROS List one or more macro definitions. SHOW SCRIPTS Show script-related settings. SHOW VARIABLES Display values all \\v() variables. SLEEP Sleep for given number of seconds. STOP Stop executing macro or command file, return to prompt. UNDEFINE Undefine a variable WAIT Wait for the specified modem signals. WHILE Execute commands repeatedly while a condition is true. WRITE Write material to a local file. WRITE-LINE Write a line (record) to a local file. WRITELN Synonym for WRITE-LINE. XECHO Like ECHO but no CRLF at end. XIF Extended IF command..ll.in.fi.SH "BUILT-IN VARIABLES"Built-in variables are referred to by \\v(name), can be used in any command,usually used in script programming. They cannot be changed. Type SHOWVARIABLES for a current list..nf.sp \\v(argc) number of arguments in current macro \\v(args) number of program command-line arguments \\v(charset) current file character-set \\v(cmdfile) name of current command file, if any \\v(cmdlevel) current command level \\v(cmdsource) where command are currently coming from, macro, file, etc. \\v(cols) number of screen columns \\v(connection)connection type: serial, tcp/ip, etc. \\v(count) current COUNT value \\v(cps) speed of most recent file transfer in chars per second \\v(cpu) CPU type C-Kermit was built for \\v(crc16) 16-bit CRC of most recent file transfer \\v(d$ac) SET DIAL AREA-CODE value \\v(d$cc) SET DIAL COUNTRY-CODE value \\v(d$ip) SET DIAL INTL-PREFIX value \\v(d$lc) SET DIAL LD-PREFIX value \\v(date) date as 8 Feb 1993 \\v(day) day of week \\v(directory) current/default directory \\v(dialstatus)return code from DIAL command (0 = OK, 22 = BUSY, etc) \\v(download) current download directory if any \\v(errno) current "errno" (system error number) value \\v(errstring) error message string associated with errno \\v(evaluate) result of most recent EVALUATE command \\v(exitstatus)current EXIT status (0 = good, nonzero = something failed) \\v(filespec) filespec given in most recent SEND/RECEIVE/GET command \\v(fsize) size of file most recently transferred \\v(ftype) SET FILE TYPE value (text, binary) \\v(home) home directory \\v(host) computer host name (comuter where C-Kermit is running) \\v(input) current INPUT buffer contents \\v(inchar) character most recently INPUT \\v(incount) how many characters arrived during last INPUT \\v(inidir) directory where initialization file was found \\v(instatus) status of most recent INPUT command \\v(line) current communications device, set by LINE or HOST \\v(local) 0 if in remote mode, 1 if in local mode \\v(macro) name of currently executing macro, if any \\v(minput) Result of most recent MINPUT command \\v(modem) Current modem type \\v(m_aa_off) Modem command to turn autoanswer off \\v(m_aa_on) Modem command to turn autoanswer on \\v(m_dc_off) Modem command to turn data compression off \\v(m_dc_on) Modem command to turn data compression on \\v(m_dial) Telephone number most recently dialed \\v(m_ec_off) Modem command to turn error correction off \\v(m_ec_on) Modem command to turn error correction on \\v(m_fc_hw) Modem command to turn hardware flow control on \\v(m_fc_no) Modem command to turn flow control off \\v(m_fc_sw) Modem command to turn software flow control on \\v(m_hup) Modem command to hang up connection \\v(m_init) Modem initialization string \\v(m_pulse) Modem command to select pulse dialing \\v(m_tone) Modem command to select tone dialing \\v(ndate) Current date as 19930208 (yyyymmdd) \\v(nday) Numeric day of week (0 = Sunday) \\v(newline) System-independent newline character or sequence \\v(ntime) Current local time in seconds since midnight (noon = 43200) \\v(packetlen) Current SET RECEIVE PACKET-LENGTH value \\v(parity) Current parity setting \\v(platform) Specific machine and/or operating system \\v(program) Name of this program ("C-Kermit") \\v(query) Result of most recent REMOTE QUERY command \\v(protocol) Currently selected file transfer protocol \\v(return) Most recent RETURN value \\v(rows) Number of rows on the terminal screen \\v(speed) Current speed, if known, or "unknown" \\v(status) 0 or 1 (SUCCESS or FAILURE of previous command)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -