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

📄 ckuus2.c

📁 KERMIT工具 这在办公室下载不了,很多人都没有载不到.
💻 C
📖 第 1 页 / 共 5 页
字号:
"information to the server."," ",#ifdef OS2#ifdef NT"Kermit 95 supports SOCKS 4.2.  The SOCKS Server is specified with:"," ","  SET TCP SOCKS-SERVER hostname/ip-address"," ","The SOCKS.CONF file is found by examining the ETC environment variable;","searching in \\WINDOWS on Windows 95/98/ME; or the","\\WINDOWS\\SYSTEM\\DRIVERS\\ETC directory on NT\\2000\\XP systems.",#else /* NT */"Kermit/2 provides support for SOCKS 4.2 servers when using IBM TCP/IP 2.0,","IBM OS/2 WARP, or a compatible protocol stack. SOCKS is one popular means","of implementing a firewall between a private network and the Internet."," ","Kermit/2 shares the same SOCKS environment variables as IBM Gopher. It also","supports the use of local SOCKS configuration files."," ","To specify the default SOCKS Server, add SET SOCKS_SERVER= to your","CONFIG.SYS file."," ","If you must use a SOCKS Distributed Name Server, add SET SOCKS_NS= to your","CONFIG.SYS file."," ","If you must use a specific with your SOCKS server, be sure to add SET USER=","to your CONFIG.SYS file. Otherwise, \"os2user\" is used by default."," ","The SOCKS configuration file must be placed in the directory pointed to by","the ETC environment variable as declared in your CONFIG.SYS file. The name","should be SOCKS.CONF. On a FAT file system, use SOCKS.CNF."," ","The format of the lines in the SOCKS configuration file are as follows:"," "," . # comments"," . deny [*=userlist] dst_addr dst_mask [op port]"," . direct [*=userlist] dst_addr dst_mask [op port]"," . sockd [@=serverlist] [*=userlist] dst_addr dst_mask [op port]"," ","op must be one of 'eq', 'neq', 'lt', 'gt', 'le', or 'ge'. dst_addr,","dst_mask, and port may be either numeric or name equivalents."," ","Kermit/2 ignores the [*=userlist] and [@=serverlist] fields. Matches are","determined on a first match not a best match basis. Addresses for which no","match is found default to \"sockd\"."," ","For completeness: Fields in square brackets are optional. The optional","@=serverlist field with a 'sockd' line specifies the list of SOCKS servers","the client should try (in the given order) instead of the default SOCKS","server. If the @=serverlist part is omitted, then the default SOCKS server","is used.  Commas are used in the userlist and serverlist as separators, no","white spaces are allowed.",#endif /* NT */" ",#else /* OS2 */#ifdef CK_SOCKS5"This version of C-Kermit supports SOCKS version 5.",#else /* CK_SOCKS5 */"This version of C-Kermit supports SOCKS version 4.",#endif /* CK_SOCKS5 */"See the man page (or other system documentation) for information on","configuring the SOCKS library via the /etc/socks.conf file.",#endif /* OS2 */" ",#endif /* CK_SOCKS */#ifdef NEWFTP"FTP is one of the few well-known Internet services that requires","multiple connections.  As described above, FTP originally required the","server to establish the data connection to the client using a destination","address and port provided by the client.  This doesn't work with port","filtering firewalls."," ","Later, FTP protocol added a \"passive\" mode, in which connections for","the data channels are created in the reverse direction.  Instead of the","server establishing a connection to the client, the client makes a second","connection with the server as the destination.  This works just fine as","long as the client is behind the firewall and the server is in public","address space.  If the server is behind a firewall then the traditional","active mode must be used.  If both the client and server are behind their","own port filtering firewalls then data channels cannot be established."," ","In Kermit's FTP client, passive mode is controlled with the command:"," ","  SET FTP PASSIVE-MODE { ON, OFF }"," ","The default is ON, meaning to use passive mode.",#endif /* NEWFTP */#endif /* NOFIREWALL */""};#endif /* TCPSOCKET */static char *hmxxsave[] = {"Syntax: SAVE item filename { NEW, APPEND }","  Saves the requested material in the given file.  A new file is created","  by default; include APPEND at the end of the command to append to an","  existing file.  Items:",#ifndef NOSETKEY"    KEYMAP               Saves the current key settings.",#endif /* NOSETKEY */#ifdef CK_RECALL"    COMMAND HISTORY      Saves the current command recall (history) buffer",#endif /* CK_RECALL */#ifdef OS2"    COMMAND SCROLLBACK   Saves the current command-screen scrollback buffer","    TERMINAL SCROLLBACK  Saves the current terminal-screen scrollback buffer",#endif /* OS2 */""};#ifdef CKROOTstatic char *hmxxchroot[] = {"Syntax: SET ROOT directoryname","  Sets the root for file access to the given directory and disables access","  to system and shell commands and external programs.  Once this command","  is given, no files or directories outside the tree rooted by the given","  directory can be opened, read, listed, deleted, renamed, or accessed in","  any other way.  This command can not be undone by a subsequent SET ROOT","  command.  Primarily for use with server mode, to restrict access of","  clients to a particular directory tree.  Synonym: CHROOT.",""};#endif /* CKROOT */static char *hmxxscrn[] = {"Syntax: SCREEN { CLEAR, CLEOL, MOVE row column }",#ifdef OS2"  Performs screen-formatting actions.",#else"  Performs screen-formatting actions.  Correct operation of these commands","  depends on proper terminal setup on both ends of the connection -- mainly","  that the host terminal type is set to agree with the kind of terminal or","  the emulation you are viewing C-Kermit through.",#endif /* OS2 */" ","SCREEN CLEAR","  Moves the cursor to home position and clears the entire screen.",#ifdef OS2"  Synonyms: CLS, CLEAR SCREEN, CLEAR COMMAND-SCREEN ALL",#else"  Synonyms: CLS, CLEAR SCREEN.",#endif /* OS2 */" ","SCREEN CLEOL","  Clears from the current cursor position to the end of the line.",#ifdef OS2"  Synonym: CLEAR COMMAND-SCREEN EOL",#endif /* OS2 */" ","SCREEN MOVE row column","  Moves the cursor to the indicated row and column.  The row and column","  numbers are 1-based so on a 24x80 screen, the home position is 1 1 and","  the lower right corner is 24 80.  If a row or column number is given that","  too large for what Kermit or the operating system thinks is your screen","  size, the appropriate number is substituted."," ","Also see:",#ifdef OS2"  HELP FUNCTION SCRNCURX, HELP FUNCTION SCRNCURY, HELP FUNCTION SCRSTR,",#endif /* OS2 */"  SHOW VARIABLE TERMINAL, SHOW VARIABLE COLS, SHOW VAR ROWS, SHOW COMMAND.",""};#ifndef NOSPLstatic char *hmfword[] = {"\\fword(s1,n1,s2,s3,n2,n3) - Extract word from string.","    s1 = source string","    n1 = word number (1-based)","    s2 = optional break set.","    s3 = optional include set.","    n2 = optional grouping mask.","    n3 = optional separator flag:","       0 = collapse adjacent separators","       1 = don't collapse adjacent separators."," ","  Default break set is all characters except ASCII letters and digits.","  ASCII (C0) control characters are always treated as break characters.","  Default include set is null."," ","  If grouping mask given and nonzero, words can be grouped by quotes or","  brackets selected by the sum of the following:"," ","     1 = doublequotes:    \"a b c\"","     2 = braces:          {a b c}","     4 = apostrophes:     'a b c'","     8 = parentheses:     (a b c)","    16 = square brackets: [a b c]","    32 = angle brackets:  <a b c>"," ","  Nesting is possible with {}()[]<> but not with quotes or apostrophes."," ","Returns string:","  Word number n, if there is one, otherwise an empty string.",""};static char *hmxxprompt[] = {"Syntax: PROMPT [ text ]","  Enters interactive command level from within a script in such a way that","  the script can be continued with an END or RETURN command.  STOP, EXIT,","  SHOW STACK, TRACE, and Ctrl-C all have their normal effects.  The PROMPT","  command allows variables to be examined or changed, or any other commands","  to be given, in any number, prior to returning to the script, allowing","  Kermit to serve as its own debugger; adding the PROMPT command to a script","  is like setting a breakpoint.  If the optional text is included, it is","  used as the new prompt for this level, e.g. \"prompt Breakpoint_1>\".",""};static char *hxxinp[] = {"Syntax:  INPUT [ /NOMATCH ] { number-of-seconds, time-of-day } [ text ]","Example: INPUT 5 Login:  or  INPUT 23:59:59 RING","  Waits up to the given number of seconds, or until the given time of day,","  for the given text to arrive on the connection.  If no text is given,","  INPUT waits for any character.  If the /NOMATCH switch is included, INPUT","  does not attempt to match any characters, but continues reading from the","  communication connection until the timeout interval expires.  If the","  timeout interval is 0, the INPUT command does not wait; i.e. the given","  text must already be available for reading for the INPUT command to","  succeed.  If the interval is negative, the INPUT command waits forever.","  For use in script programs with IF FAILURE and IF SUCCESS.  Also see","  MINPUT, REINPUT, SET INPUT.  See HELP PAUSE for details on time-of-day","  format.  The text, if given, can be a \\pattern() invocation, in which","  case it is treated as a pattern rather than a literal string (HELP","  PATTERNS for details).",""};static char *hxxout[] = {"Syntax: OUTPUT text","  Sends the text out the communications connection, as if you had typed it","  during CONNECT mode.  The text may contain backslash codes, variables,","  etc, plus the following special codes:"," ","    \\N - Send a NUL (ASCII 0) character (you can't use \\0 for this).","    \\B - Send a BREAK signal.","    \\L - Send a Long BREAK signal."," ","Also see SET OUTPUT.","" };#endif /* NOSPL */static char *hxypari[] = {"SET PARITY NONE","  Chooses 8 data bits and no parity."," ","SET PARITY { EVEN, ODD, MARK, SPACE }","  Chooses 7 data bits plus the indicated kind of parity.","  Forces 8th-bit prefixing during file transfer."," ",#ifdef HWPARITY"SET PARITY HARDWARE { EVEN, ODD }","  Chooses 8 data bits plus the indicated kind of parity."," ","Also see SET TERMINAL BYTESIZE, SET SERIAL, and SET STOP-BITS.",#else"Also see SET TERMINAL BYTESIZE and SET SERIAL.",#endif /* HWPARITY */""};#ifndef NOLOCALstatic char *hxyesc[] = {#ifdef OS2"Syntax: SET ESCAPE number","  Decimal ASCII value for escape character during CONNECT, normally 29","  (Control-]).  Type the escape character followed by C to get back to the","  C-Kermit prompt or followed by ? to see other options, or use the \\Kexit","  keyboard verb, normally assigned to Alt-x.",#else#ifdef NEXT"Syntax: SET ESCAPE number","  Decimal ASCII value for escape character during CONNECT, normally 29","  (Control-]).  Type the escape character followed by C to get back to the","  C-Kermit prompt or followed by ? to see other options.",#else"Syntax: SET ESCAPE number","  Decimal ASCII value for escape character during CONNECT, normally 28","  (Control-\\).  Type the escape character followed by C to get back to the","  C-Kermit prompt or followed by ? to see other options.",#endif /* NEXT */#endif /* OS2 */" ","You may also enter the escape character as ^X (circumflex followed by a","letter or one of: @, ^, _, [, \\, or ], to indicate a control character;","for example, SET ESC ^_ sets your escape character to Ctrl-Underscore."," ","You can also specify an 8-bit character (128-255) as your escape character,","either by typing it literally or by entering its numeric code.","" };#endif /* NOLOCAL */#ifndef NOSPLstatic char *hxyout[] = {"SET OUTPUT PACING <number>","  How many milliseconds to pause after sending each OUTPUT character,","  normally 0."," ","SET OUTPUT SPECIAL-ESCAPES { ON, OFF }","  Whether to process the special OUTPUT-only escapes \\B, \\L, and \\N.","  Normally ON (they are processed).","" };static char *hxyinp[] = {"Syntax: SET INPUT parameter value"," ",#ifdef CK_AUTODL"SET INPUT AUTODOWNLOAD { ON, OFF }","  Controls whether autodownloads are allowed during INPUT command execution."," ",#endif /* CK_AUTODL */"SET INPUT BUFFER-LENGTH number-of-bytes","  Removes the old INPUT buffer and creates a new one with the given length."," ","SET INPUT CANCELLATION { ON, OFF }","  Whether an INPUT in progress can be can interrupted from the keyboard.",

⌨️ 快捷键说明

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