⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ckuus2.c

📁 linux终端仿真程序
💻 C
📖 第 1 页 / 共 5 页
字号:
"Letters in send may be prefixed by ~ to send special characters.  These are:","~b backspace, ~s space, ~q '?', ~n linefeed, ~r return, ~c don\'t","append a return, and ~o[o[o]] for octal of a character.  As with some","uucp systems, sent strings are followed by ~r unless they end with ~c.\n","Only the last 7 characters in each expect are matched.  A null expect,","e.g. ~0 or two adjacent dashes, causes a short delay.  If you expect","that a sequence might not arrive, as with uucp, conditional sequences","may be expressed in the form:\n","  -send-expect[-send-expect[...]]\n","where dashed sequences are followed as long as previous expects fail.","" };#endif /* NOSCRIPT */ static char *hmxxrc[] = { "Syntax: RECEIVE (or R) [filespec]\n","Wait for a file to arrive from the other Kermit, which must be given a","SEND command.  If the optional filespec is given, the (first) incoming","file will be stored under that name, otherwise it will be stored under",#ifndef CK_TMPDIR"the name it arrives with.",#else#ifdef OS2"the name it arrives with.  If the filespec denotes a disk and/or directory,","the incoming file or files will be stored there.",#else"the name it arrives with.  If the filespec denotes a directory, the","incoming file or files will be placed in that directory.",#endif /* OS2 */#endif /* CK_TMPDIR */"" }; static char *hmxxsen = "\Syntax: SEND (or S) filespec [name]\n\n\Send the file or files specified by filespec.\n\filespec may contain wildcard characters '*' or '?'.  If no wildcards,\n\then 'name' may be used to specify the name 'filespec' is sent under; if\n\'name' is omitted, the file is sent under its own name.  Also see ADD."; #ifndef NORESENDstatic char *hmxxrsen = "\Syntax: RESEND filespec [name]\n\n\Resend the file or files, whose previous transfer was interrupted.\n\Picks up from where previous transfer left off, IF the receiver was told\n\to SET FILE INCOMPLETE KEEP.  Only works for binary-mode transfers.\n\Requires the other Kermit to have RESEND capability.";static char *hmxxrget = "\Syntax: REGET filespec\n\n\Ask a server to RESEND a file to C-Kermit.";static char *hmxxpsen = "\Syntax: PSEND filespec position [name]\n\n\Just like SEND, except sends the file starting at the given byte position.";#endif /* NORESEND */#ifndef NOMSENDstatic char *hmssmse = "\Syntax: MSEND filespec [ filespec [ ... ] ]\n\n\Send the files specified by the filespecs.  One or more filespecs may be\n\listed, separated by spaces.  Any or all filespecs may contain wildcards\n\and they may be in different directories.  An alternate name cannot be given.";static char *hmssadd = "\Syntax: ADD filespec [ <mode> [ <as-name> ] ]\n\n\Add the file or files to the current SEND list.  Use SHOW SEND-LIST and\n\CLEAR SEND-LIST to display and clear the list, use SEND by itself to send it.";#endif /* NOMSEND */#ifndef NOSERVERstatic char *hmxxser = "Syntax: SERVER\n\n\Enter server mode on the currently selected line.  All further commands\n\will be taken in packet form from the other Kermit program.  Use FINISH\n\or BYE to get C-Kermit out of server mode.";#endif /* NOSERVER */ static char *hmhset[] = { "\The SET command is used to establish various communication or file","parameters.  The SHOW command can be used to display the values of","SET parameters.  Help is available for each individual parameter;","type HELP SET ? to see what's available.","" }; #ifndef NOSETKEYstatic char *hmhskey[] = {"Syntax: SET KEY k text","Or:     SET KEY CLEAR\n","Configure the key whose \"scan code\" is k to send the given text when","pressed during CONNECT mode.  SET KEY CLEAR restores all the default","key mappings.  If there is no text, the default key binding is restored for",#ifndef NOCSETS"the key k.  SET KEY mappings take place before terminal character-set","translation.",#else"the key k.",#endif /* NOCSETS */#ifdef OS2"\nThe text may contain \"\\Kverbs\" to denote actions, to stand for DEC","keypad, function, or editing keys, etc.  For a list of available keyboard","verbs, type SHOW KVERBS.",#endif /* OS2 */"\nTo find out the scan code and mapping for a particular key, use the","SHOW KEY command.",""};#endif /* NOSETKEY */static char *hmxychkt[] = { "Syntax: SET BLOCK-CHECK type\n","Type of packet block check to be used for error detection, 1, 2, 3, or","BLANK-FREE-2.  Type 1 is standard, and catches most errors.  Types 2 and 3","specify more rigorous checking at the cost of higher overhead.  The","BLANK-FREE-2 type is the same as Type 2, but is guaranteed to contain no","blanks.","" }; #ifdef CK_SPEEDstatic char *hmxyqctl[] = {"Syntax: SET CONTROL-CHARACTER { PREFIXED, UNPREFIXED } { <code>..., ALL }\n","<code> is the numeric ASCII code for a control character 1-31, 127-159, 255.","The word \"ALL\" means the command applies to all characters in this range.","\nPREFIXED <code> means the given control character must be converted to a"," printable character and prefixed, the default for all control characters.","\nUNPREFIXED <code> means you think it is safe to send the given control"," character as-is, without a prefix.  USE THIS OPTION AT YOUR OWN RISK!","\nSHOW CONTROL to see current settings.  SET CONTROL PREFIXED ALL is","recommended for safety.  You can include multiple <code> values in one","command, separated by spaces.","" };#endif /* CK_SPEED */#ifndef NODIALstatic char *hxymodm[] = {"Syntax: SET MODEM <parameter> <value> ...\n","Note: Many of the SET MODEM parameters are configured automatically when","you SET MODEM TYPE, according to the modem's capabilities.  SHOW MODEM to","see them.  Also see HELP DIAL and HELP SET DIAL.\n","SET MODEM TYPE <name>","  Tells Kermit which kind of modem you have, so it can issue the appropriate","  modem-specific commands for configuration, dialing, and hanging up.  For a","  list of the modem types known to Kermit, type \"set modem type ?\".","  Use SET MODEM TYPE NONE (the default) for direct serial connections.  Use","  SET MODEM TYPE USER-DEFINED to use a type of modem that is not built in","  to Kermit, and then user SET MODEM CAPABILITIES, SET MODEM DIAL-COMMAND,","  and SET MODEM COMMAND to tell Kermit how to configure and control it.\n",#ifdef UNIX"  Give the SET MODEM TYPE command BEFORE the SET LINE command so Kermit can","  open the communications device in the correct mode for dialing.\n",#endif /* UNIX */"SET MODEM CAPABILITIES <list>","  Use this command for changing Kermit's idea of your modem's capabilities,","  for example, if your modem is supposed to have built-in error correction","  but in fact does not.  Also use this command to define the capabilities", "  of a USER-DEFINED modem.  Capabilities are:\n","   AT      AT-commands","   DC      data-compression","   EC      error-correction","   HWFC    hardware-flow","   ITU     v25bis-commands","   SWFC    software-flow","   KS      kermit-spoof","   SB      speed-buffering","   TB      Telebit\n","SET MODEM CARRIER-WATCH { AUTO, ON, OFF }","  Synonym for SET CARRIER-WATCH (q.v.)\n","SET MODEM COMPRESSION { ON, OFF }","  Enables/disables the modem's data compression feature, if any.\n","SET MODEM DIAL-COMMAND <text>","  The text replaces Kermit's built-in modem dialing command.  It must","  include '%s' (percent s) as a place-holder for the telephone numbers","  given in your DIAL commands.\n","SET MODEM ERROR-CORRECTION { ON, OFF }","  Enables/disables the modem's error-correction feature, if any.\n","SET MODEM ESCAPE-CHARACTER number","  Numeric ASCII value of modem's escape character, e.g. 43 for '+'.","  For Hayes-compatible modems, Kermit uses three copies, e.g. \"+++\".\n","SET MODEM FLOW-CONTROL {AUTO, NONE, RTS/CTS, XON/XOFF}","  Selects the type of local flow control to be used by the modem.\n","SET MODEM HANGUP-METHOD { MODEM-COMMAND, RS232-SIGNAL }","  How hangup operations should be done.  MODEM-COMMAND means try to","  escape back to the modem's command processor and give a modem-specific","  hangup command.  RS232-SIGNAL means turn off the DTR signal.\n","SET MODEM KERMIT-SPOOF {ON, OFF}","  If the selected modem type supports the Kermit protocol directly,","  use this command to turn its Kermit protocol function on or off.\n","SET MODEM MAXIMUM-SPEED <number>","  Specify the maximum interface speed for the modem.\n","SET MODEM NAME <text>","  Descriptive name for a USER-DEFINED modem.\n","SET MODEM SPEED-MATCHING {ON, OFF}","  ON means that C-Kermit changes its serial interface speed to agree with","  the speed reported by the modem's CONNECT message, if any.  OFF means","  Kermit should not change its interface speed.\n","SET MODEM COMMAND commands are used to override built-in modem commands for","each modem type, or to fill in commands for the USER-DEFINED modem type.","Omitting the optional [ text ] restores the built-in modem-specific command,","if any:\n","SET MODEM COMMAND AUTOANSWER {ON, OFF} [ text ]","  Modem commands to turn autoanswer on and off.\n","SET MODEM COMMAND COMPRESSION {ON, OFF} [ text ]","  Modem commands to turn data compression on and off.\n","SET MODEM COMMAND ERROR-CORRECTION {ON, OFF} [ text ]","  Modem commands to turn error correction on and off.\n","SET MODEM COMMAND HANGUP [ text ]","  Command that tells the modem to hang up the connection.\n","SET MODEM COMMAND INIT-STRING [ text ]","  The 'text' is a replacement for C-Kermit's built-in initialization command","  for the modem.\n","SET MODEM COMMAND HARDWARE-FLOW [ text ]","  Modem command to enable hardware flow control (RTS/CTS) in the modem.\n","SET MODEM COMMAND SOFTWARE-FLOW [ text ]","  Modem command to enable local software flow control (Xon/Xoff) in modem.\n","SET MODEM COMMAND NO-FLOW-CONTROL [ text ]","  Modem command to disable local flow control in the modem.\n","SET MODEM COMMAND PULSE [ text ]","  Modem command to select pulse dialing.\n","SET MODEM COMMAND TONE [ text ]","  Modem command to select tone dialing.\n","",};static char *hmxydial[] = {"The SET DIAL command establishes or changes all parameters related to","dialing the telephone.  Also see HELP DIAL and HELP SET MODEM.  Use SHOW","DIAL to display all of the SET DIAL values.\n","SET DIAL COUNTRY-CODE <number>","  Tells Kermit the telephonic country-code of the country you are dialing","  from, so it can tell whether a portable-format phone number from your","  dialing directory will result in a national or an international call.","  Examples: 1 for USA, Canada, Puerto Rico, etc; 7 for Russia, 39 for Italy,","  351 for Portugal, 47 for Norway, 44 for the UK, 972 for Israel, 81 for","  Japan, ...\n","  If you have not already set your DIAL INTL-PREFIX and LD-PREFIX, then this","  command sets default values for them: 011 and 1, respectively, for country","  code 1; 00 and 0, respectively, for all other country codes.  If these are","  not your true international and long-distance dialing prefixes, then you","  should follow this command by DIAL INTL-PREFIX and LD-PREFIX to let Kermit","  know what they really are.\n","SET DIAL AREA-CODE [ <number> ]","  Tells Kermit the area or city code that you are dialing from, so it can","  tell whether a portable-format phone number from the dialing directory is","  local or long distance.  Be careful not to include your long-distance","  dialing prefix as part of your area code; for example, the area code for","  central London is 171, not 0171.\n","SET DIAL CONFIRMATION {ON, OFF}","  Kermit does various transformations on a telephone number retrieved from","  the dialing directory prior to dialing (use LOOKUP <name> to see them).","  In case the result might be wrong, you can use SET DIAL CONFIRM ON to have","  Kermit ask you if it is OK to dial the number, and if not, to let you type","  in a replacement.\n","SET DIAL CONNECT { AUTO, ON, OFF }","  Whether to CONNECT (enter terminal mode) automatically after successfully","  dialing.  ON means to do this; OFF means not to.  AUTO (the default) means","  do it if the DIAL command was given interactively, but don't do it if the","  DIAL command was issued from a macro or command file.  If you specify ON","  or AUTO, you may follow this by one of the keywords VERBOSE or QUIET, to","  indicate whether the verbose 4-line 'Connecting...' message is to be","  displayed if DIAL succeeds and Kermit goes into CONNECT mode.\n","SET DIAL CONVERT-DIRECTORY {ASK, ON, OFF}","  The format of Kermit's dialing directory changed in version 5A(192).  This","  command tells Kermit what to do when it encounters an old-style directory:","  ASK you whether to convert it, or convert it automatically (ON), or leave","  it alone (OFF).  Old-style directories can still be used without","  conversion, but the parity and speed fields are ignored.\n","SET DIAL DIRECTORY [ filename [ filename [ filename [ ... ] ] ] ]","  The name(s) of your dialing directory file(s).  If you do not supply any","  filenames, the  dialing directory feature is disabled and all numbers are","  dialed literally as given in the DIAL command.  If you supply more than","  one directory, all of them are searched.\n","SET DIAL SORT {ON, OFF}","  When multiple entries are obtained from your dialing directory, they are","  sorted in \"cheapest-first\" order.  If this does not produce the desired","  effect, SET DIAL SORT OFF to disable sorting, and the numbers will be","  dialed in the order in which they were found.\n","SET DIAL DISPLAY {ON, OFF}","  Whether to display dialing progress on the screen; default is OFF.\n","SET DIAL HANGUP {ON, OFF}","  Whether to hang up the phone prior to dialing; default is ON.\n","SET DIAL METHOD {DEFAULT, TONE, PULSE}","  Whether to use the modem's DEFAULT dialing method, or to force TONE or","  PULSE dialing.\n","SET DIAL TIMEOUT number","  How many seconds to wait for a dialed call to complete.  Use this command","  to override the DIAL command's automatic timeout calculation.  A value","  of 0 turns off this feature and returns to Kermit's automatic dial","  timeout calculation.\n","SET DIAL RESTRICT { INTERNATIONAL, LOCAL, LONG-DISTANCE, NONE }","  Prevents placing calls of the type indicated, or greater.  For example","  SET DIAL RESTRICT LONG prevents placing of long-distance and international","  calls.  If this command is not given, there are no restrictions.\n","SET DIAL RETRIES <number>","  How many times to redial each number if the dialing result is busy or no","  no answer, until the call is succesfully answered.  The default is 0","  because automatic redialing is illegal in some countries.\n","SET DIAL INTERVAL <number>","  How many seconds to pause between automatic redial attempts; default 10.\n","The following commands apply to all phone numbers, whether given literally","or found in the dialing directory:\n","SET DIAL PREFIX [ text ]","  Establish a prefix to be applied to all phone numbers that are dialed,","  for example to disable call waiting.\n","SET DIAL SUFFIX [ text ]","  Establish a suffix to be added after all phone numbers that are dialed.\n","The following commands apply only to portable-format numbers obtained from","the dialing directory; i.e. numbers that start with a \"+\" sign and","country code, followed by area code in parentheses, followed by the phone","number.\n","SET DIAL LD-PREFIX [ <text> ]","  Your long-distance dialing prefix, to be used with portable dialing","  directory entries that result in long-distance calls.\n","SET DIAL LD-SUFFIX [ <text> ]","  Long-distance dialing suffix, if any, to be used with portable dialing","  directory entries that result in long-distance calls.  This would normally","  be used for appending a calling-card number to the phone number.\n","SET DIAL TOLL-FREE-AREA-CODE [ <number> [ <number> [ ... ] ] ]","  Tells Kermit the toll-free area code(s) in your country.\n","SET DIAL TOLL-FREE-PREFIX [ <text> ]","  You toll-free dialing prefix, in case it is different from your long-","  distance dialing prefix.\n","SET DIAL INTL-PREFIX <text>","  Your international dialing prefix, to be used with portable dialing","  directory entries that result in international calls.\n","SET DIAL INTL-SUFFIX <text>","  International dialing suffix, if any, to be used with portable dialing","  directory entries that result in international calls.\n","SET DIAL PBX-OUTSIDE-PREFIX <text>","  Use this to tell Kermit how to get an outside line when dialing from a","  Private Branch Exchange (PBX).\n","SET DIAL PBX-EXCHANGE <text>","  If PBX-OUTSIDE-PREFIX is set, then you can use this command to tell Kermit",

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -