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

📄 ckuus4.c

📁 KERMIT工具 这在办公室下载不了,很多人都没有载不到.
💻 C
📖 第 1 页 / 共 5 页
字号:
extern int activecmd, remonly, cmd_rows, cmd_cols, parity, seslog,  sessft, sosi, hwparity, tsecs, xargs, zincnt, tlevel, insilence, cmdmsk,  timint, timef, inbufsize, dialog, binary, carrier, cdtimo, cmask, duplex,  fmask, inecho, nmac, turnch, turn, kbchar;#ifndef NOXFERextern CHAR eol,  mypadc, mystch, padch, seol, stchr, * epktmsg, feol;extern char *cksysid;extern struct ck_p ptab[];extern int  protocol, prefixing, xfrbel, xfrcan, xfrint, xfrchr, xfrnum, pktpaus,  lscapr, lscapu, xfermode, dest, slostart, maxrps, maxsps, maxtry, mypadn,  npad, pkttim, bigrbsiz, bigsbsiz, keep, atcapr, autopar, bctr, bctu,  crunched, ckdelay, ebq, ebqflg, pktlog, retrans, rpackets, rptflg, rptq,  rtimo, spackets, spsiz, spsizf, spsizr, timeouts, fncact, fncnv, urpsiz,  wmax, wslotn, wslotr, fdispla, spmax, fnrpath, fnspath, crc16;#endif /* NOXFER */#ifdef OS2extern int zxpn;extern int viewonly;#endif /* OS2 */#ifndef NOXFER#ifdef GFTIMERextern CKFLOAT fptsecs, fpxfsecs;#endif /* GFTIMER */extern long xfsecs, tfcps;#ifdef CK_TMPDIRextern char *dldir;#endif /* CK_TMPDIR */#endif /* NOXFER */#ifdef RECURSIVEextern int recursive;#endif /* RECURSIVE */#ifdef VMS  extern int frecl;#endif /* VMS */extern long  ffc, filcnt, rptn, speed, tfc, tlci, tlco, ccu, ccp, vernum, xvernum;#ifndef NOSPLextern char fspec[], myhost[];#endif /* NOSPL */extern char *tfnam[];                   /* Command file names */extern char pktfil[],                   /* Packet log file name */#ifdef TLOG  trafil[],                             /* Transaction log file name */#endif /* TLOG */  sesfil[];                             /* Session log file name */#ifndef NOXMIT                          /* TRANSMIT command variables */extern char xmitbuf[];extern int xmitf, xmitl, xmitx, xmits, xmitw, xmitt;#endif /* NOXMIT */extern int cmdlvl;#ifndef NOSPL/* Script programming language items */extern char **a_ptr[];                  /* Arrays */extern int a_dim[];static char * inpmatch = NULL;#ifdef CKFLOATchar * inpscale = NULL;#endif	/* CKFLOAT */extern char * inpbuf, inchar[];         /* Buffers for INPUT and REINPUT */extern char *inpbp;                     /* And pointer to same */static char *r3 = (char *)0;extern int incount;                     /* INPUT character count */extern int m_found;                     /* MINPUT result */extern int maclvl;                      /* Macro invocation level */extern struct mtab *mactab;             /* Macro table */extern char *mrval[];extern int macargc[], topargc;#ifdef COMMENTextern char *m_line[];extern char *topline;#endif /* COMMENT */extern char *m_arg[MACLEVEL][10]; /* You have to put in the dimensions */extern char *g_var[GVARS];        /* for external 2-dimensional arrays. */#ifdef DCMDBUFextern int *count, *inpcas;#elseextern int count[], inpcas[];#endif /* DCMDBUF */#endif /* NOSPL */#ifdef UNIXextern int haslock;                     /* For UUCP locks */extern char flfnam[];#ifndef USETTYLOCKextern char lock2[];#endif /* USETTYLOCK */#endif /* UNIX */#ifdef OS2ORUNIXextern int maxnam, maxpath;             /* Longest name, path length */#endif /* OS2ORUNIX */extern int mdmtyp, mdmsav;#ifndef NODIAL/* DIAL-related variables */extern char modemmsg[];extern MDMINF *modemp[];                /* Pointers to modem info structs */extern int nmdm, dialhng, dialtmo, dialksp, dialdpy, dialsrt, dialsta;extern int dialrtr, dialint, dialrstr, dialcon, dialcq, dialfld;extern int mdmspd, dialec, dialdc, dialmth, dialmauto, dialesc;extern char *dialnum,   *dialini,  *dialdir[], *dialcmd,  *dialnpr, *dialdcon, *dialdcoff, *dialecon, *dialecoff, *dialhcmd, *diallac, *dialhwfc, *dialswfc,  *dialnofc, *dialpulse, *dialtone, *dialname, *dialaaon, *dialaaoff, *dialmac;extern char *diallcc,   *dialixp,  *dialixs,   *dialldp,  *diallds, *dialpxi,  *dialpxo,   *dialsfx,  *dialtfp;extern char *diallcp,   *diallcs;extern int ntollfree, ndialpxx, nlocalac;extern char *dialtfc[], *diallcac[], *dialpxx[], *matchpxx;extern int ndialpucc, ndialtocc;extern char *dialtocc[], *dialpucc[];extern int ndialdir, dialcnf, dialcvt, dialidt, dialpace;extern long dialmax, dialcapas;extern struct keytab mdmtab[];#ifdef BIGBUFOK#define ARGBUFSIZ 8191#else#define ARGBUFSIZ 1023#endif /* BIGBUFOK */#ifdef BIGBUFOKextern char * dialmsg[];#endif /* BIGBUFOK */#endif /* NODIAL */#ifndef NOCSETS/* Translation stuff */extern int fcharset, tcharset, tslevel, language, nlng, tcsr, tcsl;extern int dcset7, dcset8;extern struct keytab lngtab[];extern struct csinfo fcsinfo[], tcsinfo[];extern struct langinfo langs[];#ifdef CK_ANSICextern CHAR (*xls[MAXTCSETS+1][MAXFCSETS+1])(CHAR); /* Character set */extern CHAR (*xlr[MAXTCSETS+1][MAXFCSETS+1])(CHAR); /* translation functions */#elseextern CHAR (*xls[MAXTCSETS+1][MAXFCSETS+1])(); /* Character set */extern CHAR (*xlr[MAXTCSETS+1][MAXFCSETS+1])(); /* translation functions. */#endif /* CK_ANSIC */#ifdef UNICODE    extern int ucsbom, ucsorder;#endif /* UNICODE */#endif /* NOCSETS */#ifndef NOSPL/* Built-in variable names, maximum length VNAML (20 characters) */struct keytab vartab[] = {    { "_line",     VN_TFLN,  CM_INV},   /* 192 */#ifdef OS2    { "_regname",  VN_REGN,  CM_INV},   /* 1.1.12 */    { "_regorg",   VN_REGO,  CM_INV},   /* 1.1.12 */    { "_regnum",   VN_REGS,  CM_INV},   /* 1.1.12 */#endif /* OS2 */    { "apcactive", VN_APC,   CM_INV},   /* 192 */#ifdef NT    { "appdata",   VN_APPDATA, 0},      /* 201 */#endif /* NT */    { "argc",      VN_ARGC,  0},    { "args",      VN_ARGS,  0},    { "authname",  VN_AUTHN, 0},        /* 196 */    { "authstate", VN_AUTHS, 0},        /* 195 */    { "authtype",  VN_AUTHT, 0},        /* 195 */    { "blockcheck",VN_BLK,   0},        /* 195 */#ifdef BROWSER    { "browser",   VN_BROWSR,0},        /* 193 */    { "browsopts", VN_BROPT, 0},        /* 193 */    { "browsurl",  VN_URL,   0},        /* 193 */    { "buildid",   VN_BUILD, 0},        /* 199 */#endif /* BROWSER */    { "byteorder", VN_BYTE,  0},        /* 195 */#ifndef NOCSETS    { "charset",   VN_CSET,  0},        /* 192 */#endif /* NOCSETS */    { "cmdbufsize",VN_CMDBL, 0},        /* 195 */    { "cmdfile",   VN_CMDF,  0},    { "cmdlevel",  VN_CMDL,  0},    { "cmdsource", VN_CMDS,  0},    { "cols",      VN_COLS,  0},        /* 190 */#ifdef NT    { "common",    VN_COMMON, 0},       /* 201 */#endif /* NT */    { "connection",VN_CONN,  0},        /* 190 */    { "count",     VN_COUN,  0},#ifndef NOXFER    { "cps",       VN_CPS,   0},        /* 190 */#endif /* NOXFER */    { "cpu",       VN_CPU,   0},#ifndef NOXFER    { "crc16",     VN_CRC16, 0},        /* 192 */    { "ctty",      VN_TTYNAM,0},        /* 196 */#endif /* NOXFER */#ifndef NOLOGDIAL#ifndef NOLOCAL    { "cx_time",   VN_CXTIME,0},        /* 195 */    { "cx_status", VN_CX_STA,0},        /* 199 */#endif /* NOLOCAL */#endif /* NOLOGDIAL */#ifndef NODIAL    { "d$ac",      VN_D_AC,  0},        /* 192 */    { "d$cc",      VN_D_CC,  0},        /* 192 */    { "d$ip",      VN_D_IP,  0},        /* 192 */    { "d$lc",      VN_D_LCP, 0},        /* 193 */    { "d$lcp",     VN_D_LCP, CM_INV},   /* 193 */    { "d$lp",      VN_D_LP,  0},        /* 192 */    { "d$px",      VN_D_PXX, 0},        /* 195 */    { "d$pxx",     VN_D_PXX, CM_INV},   /* 195 */#endif /* NODIAL */    { "date",      VN_DATE,  0},    { "day",       VN_DAY,   0},#ifdef NT    { "desktop",   VN_DESKTOP, 0},     /* 201 */#endif /* NT */#ifndef NODIAL    { "dialcount", VN_DRTR,  0},        /* 195 */    { "dialnumber",VN_DNUM,  0},        /* 192 */    { "dialresult",VN_MDMSG, 0},        /* 192 */    { "dialstatus",VN_DIAL,  0},        /* 190 */    { "dialsuffix",VN_PDSFX, 0},        /* 193 */    { "dialtype",  VN_DTYPE, 0},        /* 193 */#endif /* NODIAL */    { "directory", VN_DIRE,  0},#ifndef NODIAL    { "dm_hf",     VN_DM_HF, 0},        /* 199 */    { "dm_lp",     VN_DM_LP, 0},        /* 195 */    { "dm_sp",     VN_DM_SP, 0},        /* 195 */    { "dm_pd",     VN_DM_PD, 0},        /* 195 */    { "dm_td",     VN_DM_TD, 0},        /* 195 */    { "dm_wa",     VN_DM_WA, 0},        /* 195 */    { "dm_wb",     VN_DM_WB, 0},        /* 199 */    { "dm_wd",     VN_DM_WD, 0},        /* 195 */    { "dm_rc",     VN_DM_RC, 0},        /* 195 */#endif /* NODIAL */#ifndef NOXFER    { "download",  VN_DLDIR, 0},        /* 192 */#endif /* NOXFER */    { "editor",    VN_EDITOR,0},    { "editfile",  VN_EDFILE,0},    { "editopts",  VN_EDOPT, 0},    { "errno",     VN_ERRNO, 0},        /* 192 */    { "errstring", VN_ERSTR, 0},        /* 192 */    { "escape",    VN_ESC,   0},        /* 193 */    { "evaluate",  VN_EVAL,  0},        /* 190 */#ifdef OS2ORUNIX    { "exedir",    VN_EXEDIR,0},        /* 192 */#endif /* OS2ORUNIX */    { "exitstatus",VN_EXIT,  0},#ifdef CKCHANNELIO    { "f_count",   VN_FCOU,  0},        /* 195 */    { "f_error",   VN_FERR,  0},        /* 195 */    { "f_max",     VN_FMAX,  0},        /* 195 */    { "fileerror", VN_FERR,  CM_INV},   /* 195 */    { "filemax",   VN_FERR,  CM_INV},   /* 195 */#endif /* CKCHANNELIO */    { "filename",  VN_FNAM,  0},        /* 193 */    { "filenumber",VN_FNUM,  0},        /* 193 */    { "filespec",  VN_FILE,  0},    { "fsize",     VN_FFC,   0},        /* 190 */#ifdef GFTIMER    { "ftime",     VN_FTIME, 0},        /* 199 */#else    { "ftime",     VN_NTIM,  CM_INV},#endif /* GFTIMER */#ifndef NOFTP#ifndef SYSFTP    { "ftp_code",         VN_FTP_C, 0}, /* 199 */    { "ftp_cpl",          VN_FTP_B, 0}, /* 199 */    { "ftp_connected",    VN_FTP_X, 0}, /* 199 */    { "ftp_dpl",          VN_FTP_D, 0}, /* 199 */    { "ftp_getputremote", VN_FTP_G, 0}, /* 199 */    { "ftp_host",         VN_FTP_H, 0}, /* 199 */    { "ftp_loggedin",     VN_FTP_L, 0}, /* 199 */    { "ftp_message",      VN_FTP_M, 0}, /* 199 */    { "ftp_msg",          VN_FTP_M, CM_INV}, /* 199 */    { "ftp_security",     VN_FTP_Z, 0}, /* 199 */    { "ftp_server",       VN_FTP_S, 0}, /* 199 */#endif /* SYSFTP */#endif /* NOFTP */    { "ftype",     VN_MODE,  0},        /* 190 */#ifdef KUI    { "gui_fontname", VN_GUI_FNM, 0},	/* 205 */    { "gui_fontsize", VN_GUI_FSZ, 0},	/* 205 */    { "gui_runmode", VN_GUI_RUN, 0},    /* 205 */    { "gui_xpos",    VN_GUI_XP,  0},    /* 205 */    { "gui_xres",    VN_GUI_XR,  0},    /* 205 */    { "gui_ypos",    VN_GUI_YP,  0},    /* 205 */    { "gui_yres",    VN_GUI_YR,  0},    /* 205 */#endif /* KUI */    { "herald",    VN_HERALD, 0},    { "home",      VN_HOME,   0},    { "host",      VN_HOST,   0},    { "hour",      VN_HOUR,   0},       /* 200 */#ifndef NOHTTP    { "http_code",      VN_HTTP_C, 0},  /* 199 */    { "http_connected", VN_HTTP_N, 0},  /* 199 */    { "http_host",      VN_HTTP_H, 0},  /* 199 */    { "http_message",   VN_HTTP_M, 0},  /* 199 */    { "http_security",  VN_HTTP_S, 0},  /* 199 */#endif /* NOHTTP */    { "hwparity",  VN_HWPAR, 0},        /* 195 */    { "input",     VN_IBUF,  0},    { "inchar",    VN_ICHR,  0},    { "incount",   VN_ICNT,  0},    { "inidir",    VN_INI,   0},        /* 192 */    { "inmatch",   VN_MATCH, 0},        /* 196 */    { "inscale",   VN_ISCALE,0},        /* 210 */    { "instatus",  VN_ISTAT, 0},        /* 192 */    { "intime",    VN_INTIME,0},        /* 193 */    { "inwait",    VN_INTMO, 0},        /* 195 */    { "ip",        VN_IPADDR, CM_ABR|CM_INV},    { "ipaddress", VN_IPADDR,0},        /* 192 */    { "iprompt",   VN_PROMPT,0},        /* 199 */    { "kbchar",    VN_KBCHAR,0},        /* 196 */#ifndef NOLOCAL#ifdef OS2    { "keyboard",  VN_KEYB,  0},#endif /* OS2 */#endif /* NOLOCAL */#ifdef CK_KERBEROS    { "krb4errmsg",    VN_K4EMSG,0},    { "krb4errno",     VN_K4ENO, 0},    { "krb4principal", VN_K4PRN, 0},    { "krb4realm",     VN_K4RLM, 0},    { "krb4service",   VN_K4SRV, 0},    { "krb5cc",        VN_K5CC,  0},    { "krb5errmsg",    VN_K5EMSG,0},    { "krb5errno",     VN_K5ENO, 0},    { "krb5principal", VN_K5PRN, 0},    { "krb5realm",     VN_K5RLM, 0},    { "krb5service",   VN_K5SRV, 0},#endif /* CK_KERBEROS */    { "line",      VN_LINE,  0},    { "local",     VN_LCL,   0},#ifdef UNIX    { "lockdir",   VN_LCKDIR,0},        /* 195 */    { "lockpid",   VN_LCKPID,0},        /* 195 */#endif /* UNIX */    { "log_connection", VN_LOG_CON, 0}, /* 206 */    { "log_debug", VN_LOG_DEB, 0},      /* 206 */    { "log_packet", VN_LOG_PKT, 0},     /* 206 */    { "log_session", VN_LOG_SES, 0},    /* 206 */    { "log_transaction", VN_LOG_TRA, 0},/* 206 */    { "maclevel",  VN_MACLVL,0},        /* 195 */    { "macro",     VN_MAC,   0},#ifdef FNFLOAT    { "math_e",    VN_MA_E,  0},        /* 195 */    { "math_pi",   VN_MA_PI, 0},        /* 195 */    { "math_precision", VN_MA_PR, 0},   /* 195 */#endif /* FNFLOAT */    { "minput",    VN_MINP,  0},        /* 192 */    { "model",     VN_MODL,  0},        /* 193 */    { "modem",     VN_MDM,   0},#ifndef NOLOCAL#ifdef OS2    { "mousecurx", VN_MOU_X, 0},        /* K95 1.1.14 */    { "mousecury", VN_MOU_Y, 0},        /* K95 1.1.14 */#endif /* OS2 */#endif /* NOLOCAL */#ifndef NODIAL    { "m_aa_off",  VN_M_AAX, 0},        /* all 192... */    { "m_aa_on",   VN_M_AAO, 0},

⌨️ 快捷键说明

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