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

📄 ckuus2.c

📁 C-Kermit源码。是使用串口/Modem和网络通讯的程序
💻 C
📖 第 1 页 / 共 5 页
字号:
" ","  Shows start time, expiration time, service or principal name, plus","  the following additional information depending the switches:"," ","  /ADDRESSES displays the hostnames and/or IP addresses embedded within","    the tickets."," ","  /FLAGS provides the following information (if applicable) for each ticket:","    F - Ticket is Forwardable","    f - Ticket was Forwarded","    P - Ticket is Proxiable","    p - Ticket is a Proxy","    D - Ticket may be Postdated","    d - Ticket has been Postdated","    i - Ticket is Invalid","    R - Ticket is Renewable","    I - Ticket is the Initial Ticket","    H - Ticket has been authenticated by Hardware","    A - Ticket has been Pre-authenticated"," ","  /ENCRYPTION displays the encryption used by each ticket (if applicable):","    DES-CBC-CRC","    DES-CBC-MD4","    DES-CBC-MD5","    DES3-CBC-SHA",""};#endif /* CK_KERBEROS */#ifndef NOCSETSstatic char *hmxxassoc[] = {"ASSOCIATE FILE-CHARACTER-SET <file-character-set> <transfer-character-set>","  Tells C-Kermit that whenever the given file-character set is selected, and","  SEND CHARACTER-SET (q.v.) is AUTOMATIC, the given transfer character-set","  is selected automatically."," ","ASSOCIATE XFER-CHARACTER-SET <xfer-character-set> <file-character-set>","  Tells C-Kermit that whenever the given transfer-character set is selected,","  either by command or by an announcer attached to an incoming text file,","  and SEND CHARACTER-SET is AUTOMATIC, the specified file character-set is","  to be selected automatically.  Synonym: ASSOCIATE TRANSFER-CHARACTER-SET."," ","Use SHOW ASSOCIATIONS to list the current character-set associations, and","SHOW CHARACTER-SETS to list the current settings.",""};#endif /* NOCSETS */static char *hmxxwild[] = {"A \"wildcard\" or \"regular expression\" is notation used in a filename","to match multiple files or in a search string when searching through text.","For example, in \"send *.txt\" the asterisk is a wildcard.  Kermit commands","that accept filenames also accepts wildcards, except commands that are","allowed to operate on only one file, such as TRANSMIT or COPY.","This version of Kermit accepts the following wildcards:"," ","* Matches any sequence of zero or more characters.  For example, \"ck*.c\"","  matches all files whose names start with \"ck\" and end with \".c\"","  including \"ck.c\"."," ",#ifdef VMS"% Matches any single character.  For example, \"ck%.c\" matches all files",#else"? Matches any single character.  For example, \"ck?.c\" matches all files",#endif /* VMS */"  whose names are exactly 5 characters long and start with \"ck\" and end",#ifdef VMS"  with \".c\".",#else"  with \".c\".  When typing commands at the prompt, you must precede any","  question mark to be used for matching by a backslash (\\) to override the","  normal function of question mark, which is providing menus and file lists.",#endif /* VMS */" ",#ifdef OS2ORUNIX#ifdef CKREGEX"[abc]","  Square brackets enclosing a list of characters matches any character in","  the list.  Example: ckuusr.[ch] matches ckuusr.c and ckuusr.h."," ","[a-z]","  Square brackets enclosing a range of characters matches any character in","  the range; a hyphen (-) separates the low and high elements of the range.","  For example, [a-z] matches any character from a to z."," ","[acdm-z]","  Lists and ranges may be combined.  This example matches a, c, d, or any","  letter from m through z."," ","{string1,string2,...}","  Braces enclose a list of strings to be matched.  For example:","  ck{ufio,vcon,cmai}.c matches ckufio.c, ckvcon.c, or ckcmai.c.  The strings","  may themselves contain *, ?, [abc], [a-z], or other lists of strings.",#endif /* CKREGEX */#endif /* OS2ORUNIX */#ifndef NOSPL" ","To force a special pattern character to be taken literally, precede it with","a backslash, e.g. [a\\-z] matches a, hyphen, and z rather than a through z."," ","The same wildcard syntax can be used for patterns in the IF MATCH command,","in SWITCH case labels, the \\fsearch(), \\frsearch(), \\fpattern(), and","\\farraylook() functions, and in file binary- and text-patterns (see HELP IF,","HELP SWITCH, HELP FUNC, HELP SET FILE).",#endif /* NOSPL */"" };#ifndef NOXFERstatic char *hmxxfast[] = {"FAST, CAUTIOUS, and ROBUST are predefined macros that set several","file-transfer parameters at once to achieve the desired file-transfer goal.","FAST chooses a large packet size, a large window size, and a fair amount of","control-character unprefixing at the risk of possible failure on some","connections.  FAST is the default tuning in C-Kermit 7.0 and later.  In case","FAST file transfers fail for you on a particular connection, try CAUTIOUS.","If that fails too, try ROBUST.  You can also change the definitions of each","macro with the DEFINE command.  To see the current definitions, type","\"show macro fast\", \"show macro cautious\", or \"show macro robust\".",""};#endif /* NOXFER */#ifdef VMSstatic char * hmxxpurge[] = {"Syntax: PURGE [ switches ] [ filespec ]","  Runs the DCL PURGE command.  Switches and filespec are not parsed or","  verified by Kermit, but passed directly to DCL.",""};#else#ifdef CKPURGEstatic char * hmxxpurge[] = {"Syntax: PURGE [ switches ] [ filespec ]","  Deletes backup files; that is, files whose names end in \".~n~\", where","  n is a number.  PURGE by itself deletes all backup files in the current","  directory.  Switches:"," ","/AFTER:date-time",#ifdef VMS"  Specifies that only those files created after the given date-time are",#else"  Specifies that only those files modified after the given date-time are",#endif /* VMS */"  to be purged.  HELP DATE for info about date-time formats."," ","/BEFORE:date-time",#ifdef VMS"  Specifies that only those files modified before the given date-time",#else"  Specifies that only those files modified before the given date-time",#endif /* VMS */"  are to be purged."," ","/NOT-AFTER:date-time",#ifdef VMS"  Specifies that only those files modified at or before the given date-time",#else"  Specifies that only those files modified at or before the given date-time",#endif /* VMS */"  are to be purged."," ","/NOT-BEFORE:date-time",#ifdef VMS"  Specifies that only those files modified at or after the given date-time",#else"  Specifies that only those files modified at or after the given date-time",#endif /* VMS */"  are to be purged."," ","/LARGER-THAN:number","  Specifies that only those files longer than the given number of bytes are","  to be purged."," ","/SMALLER-THAN:number","  Specifies that only those files smaller than the given number of bytes are","  to be sent."," ","/EXCEPT:pattern","  Specifies that any files whose names match the pattern, which can be a","  regular filename or may contain wildcards, are not to be purged.  To","  specify multiple patterns (up to 8), use outer braces around the group","  and inner braces around each pattern:"," ","    /EXCEPT:{{pattern1}{pattern2}...}"," ",#ifdef UNIXOROSK"/DOTFILES","  Include (purge) files whose names begin with \".\"."," ","/NODOTFILES","  Skip (don't purge) files whose names begin with \".\"."," ",#endif /* UNIXOROSK */#ifdef RECURSIVE"/RECURSIVE","  Descends through the current or specified directory tree."," ",#endif /* RECURSIVE */"/KEEP:n","  Retain the 'n' most recent (highest-numbered) backup files for each file.","  By default, none are kept.  If /KEEP is given without a number, 1 is used."," ","/LIST","  Display each file as it is processed and say whether it is purged or kept.","  Synonyms: /LOG, /VERBOSE."," ","/NOLIST","  The PURGE command should operate silently (default).","  Synonyms: /NOLOG, /QUIET."," ","/HEADING","  Print heading and summary information."," ","/NOHEADING","  Don't print heading and summary information."," ","/PAGE","  When /LIST is in effect, pause at the end of each screenful, even if","  COMMAND MORE-PROMPTING is OFF."," ","/NOPAGE","  Don't pause, even if COMMAND MORE-PROMPTING is ON."," ","/ASK","  Interactively ask permission to delete each backup file."," ","/NOASK","  Purge backup files without asking permission."," ","/SIMULATE","  Inhibits the actual deletion of files; use to preview which files would","  actually be deleted.  Implies /LIST."," ","Use SET OPTIONS PURGE [ switches ] to change defaults; use SHOW OPTIONS to","display customized defaults.  Also see HELP DELETE, HELP WILDCARD.",""};#endif /* CKPURGE */#endif /* VMS */static char *hmxxclo[] = {"Syntax:  CLOSE [ item ]","  Close the indicated item.  The default item is CONNECTION, which is the","  current SET LINE or SET HOST connection.  The other items are:"," ",#ifdef CKLOGDIAL"    CX-LOG          (connection log, opened with LOG CX)",#endif /* CKLOGDIAL */#ifndef NOLOCAL"    SESSION-LOG     (opened with LOG SESSION)",#endif /* NOLOCAL */#ifdef TLOG"    TRANSACTION-LOG (opened with LOG TRANSACTIONS)",#endif /* TLOG */"    PACKET-LOG      (opened with LOG PACKETS)",#ifdef DEBUG"    DEBUG-LOG       (opened with LOG DEBUG)",#endif /* DEBUG */#ifndef NOSPL"    READ-FILE       (opened with OPEN READ)","    WRITE-FILE      (opened with OPEN WRITE or OPEN APPEND)",#endif /* NOSPL */" ","Type HELP LOG and HELP OPEN for further info.", "" };#ifdef CK_MINPUTstatic char *hmxxminp[] = {"Syntax:  MINPUT n [ string1 [ string2 [ ... ] ] ]","Example: MINPUT 5 Login: {Username: } {NO CARRIER} BUSY RING","  For use in script programs.  Waits up to n seconds for any one of the","  strings to arrive on the communication device.  If no strings are given,","  the command waits for any character at all to arrive.  Strings are","  separated by spaces; use { braces } for grouping.  If any of the strings","  is encountered within the timeout interval, the command succeeds and the","  \\v(minput) variable is set to the number of the string that was matched:","  1, 2, 3, etc.  If none of the strings arrives, the command times out,","  fails, and \\v(minput) is set to 0."," ","Also see: INPUT, REINPUT, SET INPUT.","" };#endif /* CK_MINPUT */#ifndef NOLOCALstatic char *hmxxcon[] = {"Syntax: CONNECT (or C, or CQ) [ switches ]","  Connect to a remote computer via the serial communications device given in",#ifdef OS2"  the most recent SET PORT command, or to the network host named in the most",#else"  the most recent SET LINE command, or to the network host named in the most",#endif /* OS2 */"  recent SET HOST command.  Type the escape character followed by C to get","  back to the C-Kermit prompt, or followed by ? for a list of CONNECT-mode",#ifdef OS2"  escape commands.  You can also assign the \\Kexit verb to the key or","  key-combination of your choice; by default it is assigned to Alt-x.",#else"  escape commands."," ","Include the /QUIETLY switch to suppress the informational message that","tells you how to escape back, etc.  CQ is a synonym for CONNECT /QUIETLY.",#endif /* OS2 */" ","Other switches include:",#ifdef CK_TRIGGER" ","/TRIGGER:string","  One or more strings to look for that will cause automatic return to","  command mode.  To specify one string, just put it right after the","  colon, e.g. \"/TRIGGER:Goodbye\".  If the string contains any spaces, you","  must enclose it in braces, e.g. \"/TRIGGER:{READY TO SEND...}\".  To","  specify more than one trigger, use the following format:"," ","    /TRIGGER:{{string1}{string2}...{stringn}}"," ","  Upon return from CONNECT mode, the variable \\v(trigger) is set to the","  trigger string, if any, that was actually encountered.  This value, like","  all other CONNECT switches applies only to the CONNECT command with which","  it is given, and overrides (temporarily) any global SET TERMINAL TRIGGER","  string that might be in effect.",#endif /* CK_TRIGGER */#ifdef OS2" ","/IDLE-LIMIT:number","  The number of seconds of idle time, after which Kermit returns","  automatically to command mode; default 0 (no limit)."," ","/IDLE-INTERVAL:number","  The number of seconds of idle time, after which Kermit automatically","  transmits the idle string."," ","/IDLE-STRING:string","  The string to transmit whenever the idle interval has passed."," ","/TIME-LIMIT:number","  The maximum number of seconds for which the CONNECT session may last.","  The default is 0 (no limit).  If a nonzero number is given, Kermit returns","  automatically to command mode after this many seconds.",#endif /* OS2 */"" };#endif /* NOLOCAL */static char *hmxxmget[] = {"Syntax: MGET [ switches... ] remote-filespec [ remote-filespec ... ]"," ","Just like GET (q.v.) except allows a list of remote file specifications,","separated by spaces.",""};static char *hmxxget[] = {"Syntax: GET [ switches... ] remote-filespec [ as-name ]","  Tells the other Kermit, which must be in (or support autoswitching into)","  server mode, to send the named file or files.  If the remote-filespec or","  the as-name contain spaces, they must be enclosed in braces.  If as-name","  is the name of an existing local directory, incoming files are placed in","  that directory; if it is the name of directory that does not exist, Kermit","  tries to create it.  Optional switches include:"," ","/AS-NAME:text","  Specifies \"text\" as the name to store the incoming file under, or","  directory to store it in.  You can also specify the as-name as the second","  filename on the GET command line."," ","/BINARY",

⌨️ 快捷键说明

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