📄 ckuusr.h
字号:
#define XYMSGS 66 /* MESSAGEs ON/OFF */#ifdef TNCODE#define XYTEL 67 /* SET TELNET parameters */#define CK_TN_EC 0 /* TELNET ECHO */#define CK_TN_TT 1 /* TELNET TERMINAL-TYPE */#define CK_TN_NL 2 /* TELNET NEWLINE-MODE */#define CK_TN_BM 3 /* TELNET BINARY-MODE */#define CK_TN_BUG 4 /* TELNET BUG */#define CK_TN_ENV 5 /* TELNET ENVIRONMENT */#define TN_ENV_USR 0 /* VAR USER */#define TN_ENV_JOB 1 /* VAR JOB */#define TN_ENV_ACCT 2 /* VAR ACCT */#define TN_ENV_PRNT 3 /* VAR PRINTER */#define TN_ENV_SYS 4 /* VAR SYSTEMTYPE */#define TN_ENV_DISP 5 /* VAR DISPLAY */#define TN_ENV_UVAR 6 /* USERVAR */#define TN_ENV_LOC 7 /* USERVAR LOCATION */#define TN_ENV_ON 98 /* ON (enabled) */#define TN_ENV_OFF 99 /* OFF (disabled) */#define CK_TN_LOC 6 /* TELNET LOCATION */#define CK_TN_AU 7 /* TELNET AUTHENTICATION */#define TN_AU_FWD 4 /* AUTH FORWARD */#define TN_AU_TYP 5 /* AUTH TYPE */#define AUTH_NONE 0 /* AUTH NONE */#define AUTH_KRB4 1 /* AUTH Kerberos IV */#define AUTH_KRB5 2 /* AUTH Kerberos V */#define AUTH_SSL 7 /* AUTH Secure Sockets Layer */#define AUTH_TLS 98 /* AUTH Transport Layer Security */#define AUTH_SRP 5 /* AUTH Secure Remote Password */#define AUTH_NTLM 15 /* AUTH NT Lan Manager */#define AUTH_AUTO 99 /* AUTH AUTOMATIC */#define TN_AU_HOW 8 /* AUTH HOW FLAG */#define TN_AU_ENC 9 /* AUTH ENCRYPT FLAG */#define CK_TN_ENC 8 /* TELNET ENCRYPTION */#define TN_EN_TYP 4 /* ENCRYPT TYPE */#define TN_EN_START 5 /* ENCRYPT START */#define TN_EN_STOP 6 /* ENCRYPT STOP */#define CK_TN_IKS 9 /* TELNET KERMIT-SERVER */#define CK_TN_RE 10 /* TELNET REMOTE-ECHO */#define CK_TN_TLS 11 /* TELNET START_TLS */#define CK_TN_XD 12 /* TELNET XDISPLOC */#define CK_TN_NAWS 13 /* TELNET NAWS */#define CK_TN_WAIT 14 /* TELNET WAIT-FOR-NEGOTIATIONS */#define CK_TN_SGA 15 /* TELNET SGA */#define CK_TN_CLIENT 16 /* TELNET CLIENT */#define CK_TN_SERVER 17 /* TELNET SERVER */#define CK_TN_PHR 18 /* TELNET PRAGMA-HEARTBEAT */#define CK_TN_PLG 19 /* TELNET PRAGMA-LOGON */#define CK_TN_PSP 20 /* TELNET PRAGMA-SSPI */#define CK_TN_SAK 21 /* TELNET IBM SAK */#define CK_TN_FLW 22 /* TELNET LFLOW */#define CK_TN_XF 23 /* TELNET TRANSFER-MODE */#define CK_TN_PUID 24 /* TELNET PROMPT-FOR-USERID */#define CK_TN_NE 25 /* TELNET NO-ENCRYPT-DURING-XFER */#define CK_TN_CPC 26 /* TELNET COM-PORT-CONTROL */#define CK_TN_DB 27 /* TELNET DEBUG */#define CK_TN_FX 28 /* TELNET FORWARD_X */#define CK_TN_DL 29 /* TELNET DELAY-SB */#define CK_TN_SFU 30 /* TELNET SFU-COMPATIBILITY */#define CK_TN_LOG 31 /* TELNET LOGOUT */#endif /* TNCODE */#define XYOUTP 68 /* OUTPUT command parameters */#define OUT_PAC 0 /* OUTPUT PACING */#define OUT_ESC 1 /* OUTPUT SPECIAL-ESCAPES */#define XYEXIT 69 /* SET EXIT */#define XYPRTR 70 /* SET PRINTER */#define XYFPATH 71 /* PATHNAME */#ifdef OS2#define XYMOUSE 72 /* MOUSE SUPPORT */#define XYM_ON 0 /* Mouse ON/OFF */#define XYM_BUTTON 1 /* Define Mouse Events */#define XYM_CLEAR 2 /* Clear Mouse Events */#define XYM_DEBUG 3 /* Debug Mode ON/OFF *//* These must match similar definitions in ckokey.h */#define XYM_B1 0 /* Mouse Button One */#define XYM_B2 1 /* Mouse Button Two */#define XYM_B3 2 /* Mouse Button Three */#define XYM_ALT 1 /* Alt */#define XYM_CTRL 2 /* Ctrl */#define XYM_SHIFT 4 /* Shift */#define XYM_C1 0 /* Single Click */#define XYM_C2 8 /* Double Click */#define XYM_DRAG 16 /* Drag Event */#endif /* OS2 */#define XYBELL 73 /* BELL */#ifdef OS2#define XYPRTY 74 /* Thread Priority Level */#define XYP_IDLE 1#define XYP_REG 2#define XYP_SRV 4#define XYP_RTP 3#endif /* OS2 */#define XYALRM 75 /* SET ALARM */#define XYPROTO 76 /* SET PROTOCOL */#define XYPREFIX 77 /* SET PREFIXING */#define XYLOGIN 78 /* Login info for script programs... */#define LOGI_UID 0 /* User ID */#define LOGI_PSW 1 /* Password */#define LOGI_PRM 2 /* Prompt */#define XYSTARTUP 79 /* Startup file */#define XYTMPDIR 80 /* Temporary directory */#ifdef OS2#define XYTAPI 81 /* Microsoft Telephone API options */#define XYTAPI_CFG 1 /* TAPI Configure-Line Dialog */#define XYTAPI_DIAL 2 /* TAPI Dialing-Properties Dialog */#define XYTAPI_LIN 3 /* TAPI Line */#define XYTAPI_LOC 4 /* TAPI Location */#define XYTAPI_PASS 5 /* TAPI Passthrough */#define XYTAPI_CON 6 /* TAPI Conversions */#define XYTAPI_LGHT 7 /* TAPI Modem Lights */#define XYTAPI_PRE 8 /* TAPI Pre-dialing Terminal */#define XYTAPI_PST 9 /* TAPI Post-dialing Terminal */#define XYTAPI_INA 10 /* TAPI Inactivity Timeout */#define XYTAPI_BNG 11 /* TAPI Wait for Credit Card Tone */#define XYTAPI_MAN 12 /* TAPI Manual Dialing */#define XYTAPI_USE 13 /* TAPI Use Line Config settings */#endif /* OS2 */#ifdef TCPSOCKET#define XYTCP 82 /* TCP options */#define XYTCP_NODELAY 1 /* No Delay */#define XYTCP_SENDBUF 2 /* Send Buffer Size */#define XYTCP_LINGER 3 /* Linger */#define XYTCP_RECVBUF 4 /* Receive Buffer Size */#define XYTCP_KEEPALIVE 5 /* Keep Alive packets */#define XYTCP_UCX 6 /* UCX 2.0 port swabbing bug */#define XYTCP_NAGLE 7 /* Delay - inverse of 1 */#define XYTCP_RDNS 8 /* Reverse DNS lookup */#define XYTCP_ADDRESS 9 /* Set preferred IP Address */#define XYTCP_DNS_SRV 10 /* Use DNS Service Records */#define XYTCP_DONTROUTE 11 /* Dont Route */#define XYTCP_SOCKS_SVR 12 /* Name of Socks Server */#define XYTCP_HTTP_PROXY 13 /* Name/Port of HTTP Proxy Server */#define XYTCP_SOCKS_NS 14 /* Name of Socks Name Server */#endif /* TCPSOCKET */#ifdef OS2#define XYMSK 83 /* MS-DOS Kermit compatibility options */#define MSK_COLOR 0 /* Terminal color handling */#define MSK_KEYS 1 /* SET KEY uses MSK keycodes */#endif /* OS2 */#define XYDEST 84 /* SET DESTINATION as in MS-DOS Kermit */#ifdef OS2#define XYWIN95 85 /* SET WIN95 work arounds */#define XYWKEY 0 /* Keyboard translation */#define XYWAGR 1 /* Alt-Gr */#define XYWOIO 2 /* Overlapped I/O */#define XYWLUC 3 /* Lucida Console substitutions */#define XYWSELECT 4 /* Select on Write Bug */#define XYW8_3 5 /* Use 8.3 filenames? */#define XYWPOPUP 6 /* Use Popups? */#define XYWHSL 7 /* Horz Scan Line substitutions */#define XYDLR 86 /* SET K95 DIALER work arounds */#define XYTITLE 87 /* SET TITLE of window */#endif /* OS2 */#define XYIGN 88 /* SET IGNORE-CHARACTER */#define XYEDIT 89 /* SET EDITOR */#define XYFLTR 90 /* SET { SEND, RECEIVE } FILTER */#define XYBROWSE 91 /* SET BROWSER */#define XYEOF 92 /* EOF (= FILE EOF) */#ifdef OS2#define XYBDCP 93 /* BPRINTER */#endif /* OS2 */#define XYFLAG 94 /* FLAG */#define XYLIMIT 95 /* SESSION-LIMIT */#define XYINIL 96 /* Protocol negotiation string max length */#define XYRELY 97 /* RELIABLE */#define XYSTREAM 98 /* STREAMING */#define XYTLOG 99 /* TRANSACTION-LOG */#define XYCLEAR 100 /* CLEARCHANNEL */#define XYAUTH 101 /* AUTHENTICATION */#ifdef TNCODE#define XYKRBPR 0 /* Kerberos Principal */#define XYKRBRL 1 /* Kerberos Realm */#define XYKRBCC 2 /* Kerberos 5 Credentials-Cache */#define XYKRBSRV 3 /* Kerberos Service Name */#define XYKRBDBG 4 /* Kerberos Debugging */#define XYKRBLIF 5 /* Kerberos Lifetime */#define XYKRBPRE 6 /* Kerberos 4 Preauth */#define XYKRBINS 7 /* Kerberos 4 Instance */#define XYKRBFWD 8 /* Kerberos 5 Forwardable */#define XYKRBPRX 9 /* Kerberos 5 Proxiable */#define XYKRBRNW 10 /* Kerberos 5 Renewable lifetime */#define XYKRBGET 11 /* Kerberos Auto-Get-TGTs */#define XYKRBDEL 12 /* Kerberos Auto-Destroy-TGTs */#define KRB_DEL_NO 0 /* Kerberos No Auto Destroy */#define KRB_DEL_CL 1 /* Kerberos Auto Destory on Close */#define KRB_DEL_EX 2 /* Kerberos Auto Destroy on Exit */#define XYKRBK5K4 13 /* Kerberos 5 Get K4 Tickets */#define XYKRBPRM 14 /* Kerberos 4/5 Prompt */#define XYKRBADR 15 /* Kerberos 4/5 CheckAddrs */#define XYKRBNAD 16 /* Kerberos 5 No Addresses */#define XYKRBADD 17 /* Kerberos 5 Address List */#define XYKRBKTB 18 /* Kerberos 4/5 Key Table */#define XYSRPPRM 0 /* SRP Prompt */#define XYSSLRCFL 0 /* SSL/TLS RSA Certs file */#define XYSSLCOK 1 /* SSL/TLS Certs-Ok flag */#define XYSSLCRQ 2 /* SSL/TLS Certs-Required flag */#define XYSSLCL 3 /* SSL/TLS Cipher List */#define XYSSLDBG 4 /* SSL/TLS Debug flag */#define XYSSLRKFL 5 /* SSL/TLS RSA Key File */#define XYSSLLFL 6 /* SSL/TLS Log File */#define XYSSLON 7 /* SSL/TLS Only flag */#define XYSSLSEC 8 /* SSL/TLS Secure flag */#define XYSSLVRB 9 /* SSL/TLS Verbose flag */#define XYSSLVRF 10 /* SSL/TLS Verify flag */#define XYSSLDUM 11 /* SSL/TLS Dummy flag */#define XYSSLDCFL 12 /* SSL/TLS DSA Certs file */#define XYSSLDKFL 13 /* SSL/TLS DH Certs file */#define XYSSLDPFL 14 /* SSL/TLS DH Param file */#define XYSSLCRL 15 /* SSL/TLS CRL file */#define XYSSLCRLD 16 /* SSL/TLS CRL dir */#define XYSSLVRFF 17 /* SSL/TLS Verify file */#define XYSSLVRFD 18 /* SSL/TLS Verify dir */#define XYSSLRND 19 /* SSL/TLS Random file */#define XYSSLDCCF 20 /* SSL/TLS DSA Certs Chain File */#define XYSSLRCCF 21 /* SSL/TLS RSA Certs Chain File *//* The following must be powers of 2 for a bit mask */#define XYKLCEN 1 /* Kerberos List Credentials: Encryption */#define XYKLCFL 2 /* Kerberos List Credentials: Flags */#define XYKLCAD 4 /* Kerberos List Credentials: Addresses */#endif /* TNCODE */#define XYFUNC 102 /* SET FUNCTION */#define FUNC_DI 0 /* FUNCTION DIAGNOSTICS */#define FUNC_ER 1 /* FUNCTION ERROR */#define XYFTP 103 /* FTP application */#define XYSLEEP 104 /* SLEEP / PAUSE options */#define XYSSH 105 /* SSH options */#define XYTELOP 106 /* TELNET OPTIONS (TELOPT) */#define XYCD 107 /* SET CD */#define XYCSET 108 /* CHARACTER-SET */#define XYSTOP 109 /* STOP-BITS */#define XYSERIAL 110 /* SERIAL */#define XYDISC 111 /* CLOSE-ON-DISCONNECT */#define XYOPTS 112 /* OPTIONS */#define XYQ8FLG 113 /* Q8FLAG (invisible) */#define XYTIMER 114 /* TIMER */#define XYFACKB 115 /* F-ACK-BUG */#define XYBUP 116 /* SET SEND/RECEIVE BACKUP */#define XYMOVE 117 /* SET SEND/RECEIVE MOVE-TO */#define XYRENAME 118 /* SET SEND/RECEIVE RENAME-TO */#define XYHINTS 119 /* SET HINTS */#define XYEVAL 120 /* SET EVALUATE */#define XYFACKP 121 /* F-ACK-PATH */#define XYSYSL 122 /* SysLog */#define XYQNXPL 123 /* QNX Port Lock */#define XYIKS 124 /* SET IKS ... */#define XYROOT 125 /* SET ROOT */#define XYFTPX 126 /* SET FTP */#define XYSEXP 127 /* SET SEXP */#define XYGPR 128 /* SET GET-PUT-REMOTE */#define XYLOCUS 129 /* SET LOCUS */#define XYGUI 130 /* SET GUI */#define XYANSWER 131 /* SET ANSWER */#define XYMATCH 132 /* SET MATCHDOT */#define XYSFTP 133 /* SET SFTP *//* End of SET commands *//* S-Expressions -- floating-point support required */#ifndef CKFLOAT#ifndef NOSEXP#define NOSEXP#endif /* NOSEXP */#endif /* CKFLOAT *//* Maximum number of elements in an S-Expression */#ifndef NOSEXP#ifndef SEXPMAX#ifdef BIGBUFOK#define SEXPMAX 1024#else#define SEXPMAX 32#endif /* BIGBUFOK */#endif /* SEXPMAX */#endif /* NOSEXP */#ifdef ANYX25/* PAD command parameters */#define XYPADL 0 /* clear virtual call */#define XYPADS 1 /* status of virtual call */#define XYPADR 2 /* reset of virtual call */#define XYPADI 3 /* send an interrupt packet *//* Used with XYX25... */#define XYUDAT 0 /* X.25 call user data */#define XYCLOS 1 /* X.25 closed user group call */#define XYREVC 2 /* X.25 reverse charge call */#endif /* ANYX25 */#ifdef OS2/* SET PRINTER switches */#define PRN_OUT 0 /* Output only */#define PRN_BID 1 /* Bidirectional */#define PRN_DOS 2 /* DOS device */#define PRN_WIN 3 /* Windows queue */#define PRN_TMO 4 /* Timeout */#define PRN_TRM 5 /* Terminator */#define PRN_SEP 6 /* Separator */#define PRN_SPD 7 /* COM-port speed */#define PRN_FLO 8 /* COM-port flow control */#define PRN_PAR 9 /* COM-port parity */#define PRN_NON 10 /* No printer */#define PRN_FIL 11 /* Filename */#define PRN_PIP 12 /* Pipename */#define PRN_PS 13 /* Text to PS */#define PRN_WID 14 /* PS Width */#define PRN_LEN 15 /* PS Length */#define PRN_RAW 16 /* Non-PS */#define PRN_CS 17 /* Character Set */#define PRN_MAX 17 /* Number of switches defined *//* Printer types */#define PRT_DOS 0 /* DOS */#define PRT_WIN 1 /* Windows Queue */#define PRT_FIL 2 /* File */#define PRT_PIP 3 /* Pipe */#define PRT_NON 4 /* None */#define PRINTSWI#endif /* OS2 */#endif /* NOICP */#ifndef NODIAL/* Symbols for modem types, moved here from ckudia.c, May 1997, because now they are also used in some other modules. The numbers MUST correspond to the ordering of entries within the modemp[] array.*/#ifdef MINIDIAL /* Minimum dialer support */#define n_DIRECT 0 /* Direct connection -- no modem */#define n_CCITT 1 /* CCITT/ITU-T V.25bis */#define n_HAYES 2 /* Hayes 2400 */#define n_UNKNOWN 3 /* Unknown */#define n_UDEF
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -