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

📄 ckuus4.c

📁 KERMIT工具 这在办公室下载不了,很多人都没有载不到.
💻 C
📖 第 1 页 / 共 5 页
字号:
    { "m_dc_off",  VN_M_DCX, 0},    { "m_dc_on",   VN_M_DCO, 0},    { "m_dial",    VN_M_DCM, 0},    { "m_ec_off",  VN_M_ECX, 0},    { "m_ec_on",   VN_M_ECO, 0},    { "m_fc_hw",   VN_M_HWF, 0},    { "m_fc_no",   VN_M_NFC, 0},    { "m_fc_sw",   VN_M_SWF, 0},    { "m_hup",     VN_M_HUP, 0},    { "m_init",    VN_M_INI, 0},    { "m_name",    VN_M_NAM, 0},        /* 195 */    { "m_pulse",   VN_M_PDM, 0},    { "m_sig_cd",  VN_MS_CD, 0},        /* 195 */    { "m_sig_cts", VN_MS_CTS,0},        /* 195 */    { "m_sig_dsr", VN_MS_DSR,0},        /* 195 */    { "m_sig_dtr", VN_MS_DTR,0},        /* 195 */    { "m_sig_ri",  VN_MS_RI, 0},        /* 195 */    { "m_sig_rts", VN_MS_RTS,0},        /* 195 */    { "m_tone",    VN_M_TDM, 0},#endif /* NODIAL */    { "name",      VN_NAME,  0},    { "ndate",     VN_NDAT,  0},    { "nday",      VN_NDAY,  0},    { "newline",   VN_NEWL,  0},    { "ntime",     VN_NTIM,  0},    { "osname",    VN_OSNAM, 0},        /* 193 */    { "osrelease", VN_OSREL, 0},        /* 193 */    { "osversion", VN_OSVER, 0},        /* 193 */#ifndef NOXFER    { "packetlen", VN_RPSIZ, 0},        /* 192 */#endif /* NOXFER */    { "parity",    VN_PRTY,  0},        /* 190 */    { "password",  VN_PWD,   CM_INV},   /* 192 */#ifdef NT    { "personal",  VN_PERSONAL, 0},     /* 201 */#endif /* NT */#ifdef PEXITSTAT    { "pexitstat", VN_PEXIT, 0},        /* 193 */#endif /* PEXITSTAT */#ifdef CK_PID    { "pid",       VN_PID,   0},        /* 193 */#endif /* CK_PID */    { "platform",  VN_SYSV,  0},    { "printer",   VN_PRINT, 0},        /* 193 */    { "program",   VN_PROG,  0},    { "prompt",    VN_PRM,   CM_INV},   /* 192 */#ifndef NOXFER    { "protocol",  VN_PROTO, 0},        /* 192 */    { "p_8bit",    VN_P_8BIT,0},        /* 193 */    { "p_ctl",     VN_P_CTL, 0},        /* 193 */    { "p_rpt",     VN_P_RPT, 0},        /* 193 */    { "query",     VN_QUE,   0},        /* 190 */#endif /* NOXFER */    { "return",    VN_RET,   0},#ifdef CK_REXX    { "rexx",      VN_REXX,  0},        /* 190 */#endif /* CK_REXX */#ifdef TN_COMPORT    { "rfc2217_signature", VN_TNC_SIG, 0}, /* 201 */    { "rfc2717_signature", VN_TNC_SIG, CM_INV}, /* 202 */#endif /* TN_COMPORT */    { "rows",      VN_ROWS,  0},        /* 190 */#ifndef NOSEXP    { "sdepth",    VN_LSEXP,0},         /* 199 */#endif /* NOSEXP */    { "secure",    VN_SECURE, 0},       /* 199 */#ifndef NOLOCAL#ifdef OS2    { "select",    VN_SELCT, 0},        /* 192 */#endif /* OS2 */#endif /* NOLOCAL */    { "sendlist",  VN_SNDL,  0},    { "serial",    VN_SERIAL,0},        /* 195 */    { "setlinemsg",VN_SLMSG, 0},        /* 195 */#ifndef NOSEXP    { "sexpression",VN_SEXP, 0},        /* 199 */#endif /* NOSEXP */    { "speed",     VN_SPEE,  0},#ifdef OS2    { "space",     VN_SPA,   0},    { "startup",   VN_STAR,  0},        /* 190 */#else#ifdef UNIX    { "startup",   VN_STAR,  0},        /* 193 */#else#ifdef VMS    { "startup",   VN_STAR,  0},        /* 193 */#endif /* VMS */#endif /* UNIX */#endif /* OS2 */    { "status",    VN_SUCC,  0},#ifndef NOSEXP    { "svalue",    VN_VSEXP, 0},        /* 199 */#endif /* NOSEXP */#ifndef NOXFER    { "sysid",     VN_SYSI,  0},#endif /* NOXFER */    { "system",    VN_SYST,  0},    { "terminal",  VN_TTYP,  0},#ifdef OS2#ifndef NOKVERBS    { "termkey",   VN_TRMK,  CM_INV},   /* 192 */#endif /* NOKVERBS */#endif /* OS2 */    { "test",      VN_TEST,  0},        /* 193 */    { "textdir",   VN_TXTDIR,0},        /* 195 */#ifndef NOXFER    { "tfsize",    VN_TFC,   0},    { "tftime",    VN_TFTIM, 0},        /* 195 */#endif /* NOXFER */    { "time",      VN_TIME,  0},    { "timestamp", VN_NOW,   0},        /* 200 */    { "tmpdir",    VN_TEMP,  0},        /* 192 */#ifdef CK_TRIGGER    { "trigger",   VN_TRIG,  0},        /* 193 */#endif /* CK_TRIGGER */#ifdef CK_TTYFD    { "ttyfd",     VN_TTYF,  0},#endif /* CK_TTYFD */    { "ty_ln",     VN_TY_LN, 0},        /* 195 */    { "ty_lc",     VN_TY_LC, 0},        /* 195 */    { "ty_lm",     VN_TY_LM, 0},        /* 195 */#ifdef BROWSER    { "url",       VN_URL,   CM_INV},   /* 193 */#endif /* BROWSER */    { "userid",    VN_UID,   0},        /* 192 */    { "version",   VN_VERS,  0},#ifndef NOXFER    { "window",    VN_WINDO, 0},        /* 192 */#endif /* NOXFER */#ifdef IBMX25    { "x25local_nua", VN_X25LA, 0},     /* 193 */    { "x25remote_nua", VN_X25RA, 0},    /* 193 */#endif /* IBMX25 */#ifdef CK_SSL    { "x509_issuer",  VN_X509_I, 0},    { "x509_subject", VN_X509_S, 0},#endif /* CK_SSL */#ifndef NOXFER    { "xferstatus",VN_XFSTAT,0},        /* 193 */    { "xfermsg",   VN_XFMSG, 0},        /* 193 */    { "xfer_badpackets", VN_XF_BC, 0},  /* 195 */    { "xfer_timeouts",   VN_XF_TM, 0},  /* 195 */    { "xfer_retransmits",VN_XF_RX, 0},  /* 195 */#endif /* NOXFER */    { "xprogram",  VN_XPROG, 0},        /* 193 */    { "xversion",  VN_XVNUM, 0}         /* 192 */};int nvars = (sizeof(vartab) / sizeof(struct keytab));#endif /* NOSPL */#ifndef NOSPLstruct keytab fnctab[] = {              /* Function names */#ifdef OS2    { ".oox",       FN_OOX, CM_INV},    /* ... */#endif /* OS2 */#ifdef CKCHANNELIO    { "_eof",       FN_FEOF,   0},    { "_errmsg",    FN_FERMSG, 0},    { "_getblock",  FN_FGBLK,  0},    { "_getchar",   FN_FGCHAR, 0},    { "_getline",   FN_FGLINE, 0},    { "_handle",    FN_FILNO,  0},    { "_line",      FN_NLINE,  0},    { "_pos",       FN_FPOS,   0},    { "_putblock",  FN_FPBLK,  0},    { "_putchar",   FN_FPCHAR, 0},    { "_putline",   FN_FPLINE, 0},    { "_status",    FN_FSTAT,  0},#endif /* CKCHANNELIO */    { "aaconvert",  FN_AADUMP, 0},      /* Associative Array conversion */    { "absolute",   FN_ABS,  0},        /* Absolute value */#ifdef TCPSOCKET    { "addr2name",  FN_HSTADD,CM_INV},  /* IP Address to Hostname */    { "addrtoname", FN_HSTADD,CM_INV},  /* IP Address to Hostname */#endif /* TCPSOCKET */    { "arraylook",  FN_ALOOK,0},        /* Array lookup */    { "b64decode",  FN_FMB64,0},        /* Base-64 conversion */    { "b64encode",  FN_TOB64,0},        /* ... */    { "basename",   FN_BSN,  0},        /* Basename */    { "break",      FN_BRK,  0},        /* Break (as in Snobol) */    { "ca",         FN_CAP,  CM_INV|CM_ABR}, /* Abbreviation for capitablize */    { "cap",        FN_CAP,  CM_INV|CM_ABR}, /* Abbreviation for capitablize */    { "capitalize", FN_CAP,  0},        /* First Letter -> uppercase */    { "caps",       FN_CAP,  CM_INV},   /* ditto */    { "character",  FN_CHR,  0},        /* Character from code */    { "checksum",   FN_CHK,  0},        /* Checksum */    { "cmdstack",   FN_CMDSTK,0},       /* Command stack */    { "cmpdates",   FN_CMPDATE,0},      /* Compare dates */    { "code",       FN_COD,  0},        /* Code from character */#ifndef NOPUSH    { "command",    FN_CMD,  0},        /* Output from a command */#endif /* NOPUSH */    { "contents",   FN_CON,  0},        /* Definition (contents) of variable */    { "crc16",      FN_CRC,  0},        /* CRC-16 */#ifdef OS2    { "crypt",      FN_CRY, CM_INV},#endif /* OS2 */    { "cvtdate",    FN_DTIM, 0},        /* Convert free date/time to std */#ifdef ZFCDAT    { "date",       FN_FD,   0},        /* File modification/creation date */#endif /* ZFCDAT */    { "day",        FN_DAY,  0},        /* Day of week */    { "dayofyear",  FN_JDATE,0},        /* Date to Day of Year */    { "definition", FN_DEF,  0},        /* Return definition of given macro */    { "delta2secs", FN_DELSEC, 0},      /* Delta time to seconds */    { "deltatosecs", FN_DELSEC, CM_INV}, /* Delta time to seconds */#ifndef NODIAL    { "dialconvert",FN_PNCVT,0},        /* Convert portable phone number */#endif /* NODIAL */    { "diffdates",  FN_DIFDATE,0},      /* Difference of two date-times */    { "dimension",  FN_DIM,  0},        /* Dimension of array */    { "directories",FN_DIR,  0},        /* List of directories */    { "dirname",    FN_DNAM, 0},        /* Directory part of filename */    { "dos2unixpath",FN_PC_DU, },       /* DOS to UNIX path */    { "dostounixpath",FN_PC_DU, CM_INV}, /* DOS to UNIX path */    { "doy",        FN_JDATE,CM_INV},   /* Date to Day of Year */    { "doy2date",   FN_DATEJ,0},        /* Day of Year to date */    { "doytodate",  FN_DATEJ,CM_INV},   /* Day of Year to date */#ifdef FN_ERRMSG    { "errstring",  FN_ERRMSG,0},       /* Error code to message */#endif /* FN_ERRMSG */    { "evaluate",   FN_EVA,  0},        /* Evaluate given arith expression */    { "execute",    FN_EXE,  0},        /* Execute given macro */    { "files",      FN_FC,   0},        /* File count */#ifdef FNFLOAT    { "fpabsolute", FN_FPABS, 0},       /* Floating-point absolute value */    { "fpadd",      FN_FPADD, 0},       /* FP add */    { "fpcosine",   FN_FPCOS, 0},       /* FP cosine */    { "fpdivide",   FN_FPDIV, 0},       /* FP divide */    { "fpexp",      FN_FPEXP, 0},       /* FP e to the x */    { "fpint",      FN_FPINT, 0},       /* FP to integer */    { "fplog10",    FN_FPLOG, 0},       /* FP base-10 logarithm */    { "fplogn",     FN_FPLN,  0},       /* FP natural logarithm */    { "fpmaximum",  FN_FPMAX, 0},       /* FP maxinum */    { "fpminimum",  FN_FPMIN, 0},       /* FP mininum */    { "fpmodulus",  FN_FPMOD, 0},       /* FP modulus */    { "fpmultiply", FN_FPMUL, 0},       /* FP multiply */    { "fpraise",    FN_FPPOW, 0},       /* FP raise to a power */    { "fpround",    FN_FPROU, 0},       /* FP round */    { "fpsine",     FN_FPSIN, 0},       /* FP sine */    { "fpsqrt",     FN_FPSQR, 0},       /* FP square root */    { "fpsubtract", FN_FPSUB, 0},       /* FP subtract */    { "fptangent",  FN_FPTAN, 0},       /* FP tangent */#endif /* FNFLOAT */    { "hex2ip",     FN_HEX2IP,0},       /* Hex to IP address */    { "hextoip",    FN_HEX2IP,CM_INV},  /* Hex to IP address */    { "hex2n",      FN_HEX2N, CM_INV},  /* Hex to decimal number */    { "hexify",     FN_HEX,   0},       /* Hexify (string) */    { "index",      FN_IND,   0},       /* Index (string search) */    { "ip2hex",     FN_IP2HEX,0},       /* IP address to hex */    { "iptohex",    FN_IP2HEX,CM_INV},  /* IP address to hex */    { "ipaddress",  FN_IPA,   0},       /* Find and return IP address */    { "jdate",      FN_JDATE, CM_INV},  /* Date to Day of Year */    { "join",       FN_JOIN,  0},       /* Join array elements */    { "keywordvalue",  FN_KWVAL, 0},    /* Keyword=Value */#ifdef CK_KERBEROS    { "krbflags",      FN_KRB_FG, 0},   /* Kerberos functions */    { "krbisvalid",    FN_KRB_IV, 0},    { "krbnextticket", FN_KRB_NX, 0},    { "krbtickets",    FN_KRB_TK, 0},    { "krbtimeleft",   FN_KRB_TT, 0},#endif /* CK_KERBEROS */    { "left",       FN_LEF,  0},        /* Leftmost n characters of string */    { "length",     FN_LEN,  0},        /* Return length of argument */    { "literal",    FN_LIT,  0},        /* Return argument literally */#ifdef NT    { "longpathname",FN_LNAME,0},	/* GetLongPathName() */#else    { "longpathname",FN_FFN,CM_INV},#endif /* NT */    { "lop",        FN_STL,  0},        /* Lop */    { "lower",      FN_LOW,  0},        /* Return lowercased argument */    { "lpad",       FN_LPA,  0},        /* Return left-padded argument */    { "ltrim",      FN_LTR,  0},        /* Left-Trim */    { "maximum",    FN_MAX,  0},        /* Return maximum of two arguments */    { "minimum",    FN_MIN,  0},        /* Return minimum of two arguments */    { "mjd",        FN_MJD,  0},        /* Date to Modified Julian Date */    { "mjd2date",   FN_MJD2, 0},        /* MJD to Date */    { "mjdtodate",  FN_MJD2, CM_INV},   /* MJD to Date */    { "modulus",    FN_MOD,  0},        /* Return modulus of two arguments */#ifdef COMMENT    { "msleep",     FN_MSLEEP,0},       /* Sleep for n milliseconds */#endif /* COMMENT */    { "n2hex",      FN_2HEX, CM_INV},   /* Number to hex */    { "n2octal",    FN_2OCT, CM_INV},   /* Number to octal */    { "n2time",     FN_N2TIM,0},        /* Number to hh:mm:ss */#ifdef TCPSOCKET    { "name2addr",  FN_HSTNAM,CM_INV},  /* Hostname to IP Address */#endif /* TCPSOCKET */    { "nday",       FN_NDAY, 0},        /* Numeric day of week */    { "nextfile",   FN_FIL,  0},        /* Next file in list */    { "ntime",      FN_NTIM, 0},        /* Time to seconds since midnight */    { "ntohex",     FN_2HEX, CM_INV},   /* Number to hex */    { "ntooctal",   FN_2OCT, CM_INV},   /* Number to octal */    { "ntotime",    FN_N2TIM,CM_INV},   /* Number to hh:mm:ss */    { "oct2n",      FN_OCT2N,CM_INV},   /* Octal to decimal number */    { "octton",     FN_OCT2N,CM_INV},   /* Octal to decimal number */    { "pathname",   FN_FFN,  0},        /* Full file name */    { "pattern",    FN_PATTERN, 0},     /* Pattern (for INPUT) */#ifdef CK_PERMS    { "permissions",FN_PERM, 0},        /* Permissions of file */#else    { "permissions",FN_PERM, CM_INV},   /* Permissions of file */#endif /* CK_PERMS */    { "radix",      FN_RADIX,0},        /* Radix conversion */#ifndef NORANDOM    { "random",     FN_RAND, 0},        /* Random number */#endif /* NORANDOM */#ifndef NOPUSH    { "rawcommand", FN_RAW,  0},        /* Output from a command (raw) */#endif /* NOPUSH */#ifdef RECURSIVE    { "rdirectories", FN_RDIR, 0},      /* Recursive directory list */    { "rfiles",       FN_RFIL, 0},      /* Recursive file list */#endif /* RECURSIVE */    { "rep",        FN_REP, CM_INV|CM_ABR},    { "repeat",     FN_REP,  0},        /* Repeat argument given # of times */    { "replace",    FN_RPL,  0},        /* Replace characters in string */    { "reverse",    FN_REV,  0},        /* Reverse the argument string */    { "right",      FN_RIG,  0},        /* Rightmost n characters of string */    { "rindex",     FN_RIX,  0},        /* Right index */    { "rpad",       FN_RPA,  0},        /* Right-pad the argument */    { "rsearch",    FN_RSEARCH, 0},     /* R-L Search for pattern in string */#ifdef OS2    { "scrncurx",   FN_SCRN_CX,  0},    /* Screen Cursor X Pos */    { "scrncury",   FN_SCRN_CY,  0},    /* Screen Cursor Y Pos */    { "scrnstr",    FN_SCRN_STR, 0},    /* Screen String */#endif /* OS2 */    { "search",     FN_SEARCH, 0},      /* L-R Search for pattern in string */#ifndef NOSEXP    { "sexpression",FN_SEXP, 0},        /* S-Expression */#endif /* NOSEXP */#ifdef NT    { "shortpathname",FN_SNAME,0},	/* GetShortPathName() */#else    { "shortpathname",FN_FFN,CM_INV},#endif /* NT */    { "size",       FN_FS,   0},        /* File size */#ifdef COMMENT    { "sleep",      FN_SLEEP,0},        /* Sleep for n seconds */#endif /* COMMENT */    { "span",       FN_SPN,  0},        /* Span - like Snobol */    { "split",      FN_SPLIT,0},        /* Split string into words */    { "stripb",     FN_STB,  0},        /* Strip enclosing braces/brackets */    { "stripn",     FN_STN,  0},        /* Strip n chars */    { "stripx",     FN_STX,  0},        /* Strip suffix */    { "su",         FN_SUB,  CM_INV|CM_ABR},    { "sub",        FN_SUB,  CM_INV|CM_ABR},    { "subs",       FN_SUB,  CM_INV|CM_ABR},    { "subst",      FN_SUB,  CM_INV|CM_ABR},    { "substitute", FN_SUBST,0},        /* Substitute chars */    { "substring",  FN_SUB,  0},        /* Extract substring from argument */    { "tablelook",  FN_TLOOK,0},        /* Table lookup */    { "time",       FN_TIME, 0},        /* Free-format time to hh:mm:ss */    { "tod2secs",   FN_NTIM, CM_INV},   /* Time-of-day-to-secs-since-midnite */    { "todtosecs",  FN_NTIM, CM_INV},   /* Time-of-day-to-secs-since-midnite */    { "trim",       FN_TRM,  0},        /* Trim */    { "unhexify",   FN_UNH,  0},        /* Unhexify */    { "unix2dospath",FN_PC_UD, 0},      /* UNIX to DOS path */    { "unixtodospath",FN_PC_UD, CM_INV}, /* UNIX to DOS path */    { "untabify",   FN_UNTAB,0},        /* Untabify */    { "upper",      FN_UPP,  0},        /* Return uppercased argument */    { "utcdate",    FN_TOGMT,0},        /* Date-time to UTC (GMT) */    { "verify",     FN_VER,  0},        /* Verify */    { "word",       FN_WORD, 0},        /* Extract a word */    { "", 0, 0}};int nfuncs = (sizeof(fnctab) / sizeof(struct keytab)) - 1;#endif /* NOSPL */#ifndef NOSPL                           /* Buffer for expansion of */#ifdef BIGBUFOK                         /* built-in variables. */#define VVBUFL 1024#else#define VVBUFL 256#endif /* BIGBUFOK */char vvbuf[VVBUFL+1];#endif /* NOSPL */

⌨️ 快捷键说明

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