📄 externs.h
字号:
TerminalSpeeds P((long *, long *)), TerminalFlushOutput P((void)), TerminalDefaultChars P((void)), TerminalNewMode P((int)), TerminalRestoreState P((void)), TerminalSaveState P((void)), tel_leave_binary P((int)), tninit P((void)), upcase P((char *)), optionstatus P((void)), willoption P((int)), wontoption P((int)), env_init P((void)), ExitString P((char *, int)), Exit P((int));extern void init_terminal P((void)), init_network P((void)), init_telnet P((void)), init_sys P((void));extern void sendbrk P((void)), sendabort P((void)), sendsusp P((void)), sendeof P((void)), sendayt P((void)), sendnaws P((void));extern int process_rings P((int, int, int, int, int, int)), SetSockOpt P((int, int, int, int)), TerminalWindowSize P((long *, long *)), TerminalSpecialChars P((int)), TerminalAutoFlush P((void)), TerminalWrite P((unsigned char *, int)), opt_welldefined P((char *)), ring_at_mark P((Ring *)), rlogin_susp P((void)), getconnmode P((void)), tn P((int, char *[])), netflush P((void)), NetClose P((int)), stilloob P((void)), ttyflush P((int)), telrcv P((void)), quit P((void));extern void send_do P((int, int)), send_dont P((int, int)), send_will P((int, int)), send_wont P((int, int));extern void lm_will P((unsigned char *, int)), lm_wont P((unsigned char *, int)), lm_do P((unsigned char *, int)), lm_dont P((unsigned char *, int)), lm_mode P((unsigned char *, int, int));extern void slc_init P((void)), slcstate P((void)), slc_mode_export P((void)), slc_mode_import P((int)), slc_import P((int)), slc_export P((void)), slc P((unsigned char *, int)), slc_check P((void)), slc_start_reply P((void)), slc_add_reply P((unsigned char, unsigned char, cc_t)), slc_end_reply P((void));extern int slc_update P((void));extern void env_opt P((unsigned char *, int)), env_opt_start P((void)), env_opt_start_info P((void)), env_opt_add P((unsigned char *)), env_opt_end P((int));extern unsigned char *env_default P((int, int)), *env_getvalue P((unsigned char *));extern int get_status P((void)), dosynch P((void));extern cc_t *tcval P((int));#ifndef USE_TERMIOextern struct tchars ntc;extern struct ltchars nltc;extern struct sgttyb nttyb;# define termEofChar ntc.t_eofc# define termEraseChar nttyb.sg_erase# define termFlushChar nltc.t_flushc# define termIntChar ntc.t_intrc# define termKillChar nttyb.sg_kill# define termLiteralNextChar nltc.t_lnextc# define termQuitChar ntc.t_quitc# define termSuspChar nltc.t_suspc# define termRprntChar nltc.t_rprntc# define termWerasChar nltc.t_werasc# define termStartChar ntc.t_startc# define termStopChar ntc.t_stopc# define termForw1Char ntc.t_brkcextern cc_t termForw2Char;extern cc_t termAytChar;# define termEofCharp (cc_t *)&ntc.t_eofc# define termEraseCharp (cc_t *)&nttyb.sg_erase# define termFlushCharp (cc_t *)&nltc.t_flushc# define termIntCharp (cc_t *)&ntc.t_intrc# define termKillCharp (cc_t *)&nttyb.sg_kill# define termLiteralNextCharp (cc_t *)&nltc.t_lnextc# define termQuitCharp (cc_t *)&ntc.t_quitc# define termSuspCharp (cc_t *)&nltc.t_suspc# define termRprntCharp (cc_t *)&nltc.t_rprntc# define termWerasCharp (cc_t *)&nltc.t_werasc# define termStartCharp (cc_t *)&ntc.t_startc# define termStopCharp (cc_t *)&ntc.t_stopc# define termForw1Charp (cc_t *)&ntc.t_brkc# define termForw2Charp (cc_t *)&termForw2Char# define termAytCharp (cc_t *)&termAytChar# elseextern struct termio new_tc;# define termEofChar new_tc.c_cc[VEOF]# define termEraseChar new_tc.c_cc[VERASE]# define termIntChar new_tc.c_cc[VINTR]# define termKillChar new_tc.c_cc[VKILL]# define termQuitChar new_tc.c_cc[VQUIT]# ifndef VSUSPextern cc_t termSuspChar;# else# define termSuspChar new_tc.c_cc[VSUSP]# endif#if defined(VFLUSHO) && !defined(VDISCARD)# define VDISCARD VFLUSHO# endif# ifndef VDISCARDextern cc_t termFlushChar;# else# define termFlushChar new_tc.c_cc[VDISCARD]# endif# ifndef VWERASEextern cc_t termWerasChar;# else# define termWerasChar new_tc.c_cc[VWERASE]# endif# ifndef VREPRINTextern cc_t termRprntChar;# else# define termRprntChar new_tc.c_cc[VREPRINT]# endif# ifndef VLNEXTextern cc_t termLiteralNextChar;# else# define termLiteralNextChar new_tc.c_cc[VLNEXT]# endif# ifndef VSTARTextern cc_t termStartChar;# else# define termStartChar new_tc.c_cc[VSTART]# endif# ifndef VSTOPextern cc_t termStopChar;# else# define termStopChar new_tc.c_cc[VSTOP]# endif# ifndef VEOLextern cc_t termForw1Char;# else# define termForw1Char new_tc.c_cc[VEOL]# endif# ifndef VEOL2extern cc_t termForw2Char;# else# define termForw2Char new_tc.c_cc[VEOL]# endif# ifndef VSTATUSextern cc_t termAytChar;#else# define termAytChar new_tc.c_cc[VSTATUS]#endif#if !defined(CRAY) || defined(__STDC__)# define termEofCharp &termEofChar# define termEraseCharp &termEraseChar# define termIntCharp &termIntChar# define termKillCharp &termKillChar# define termQuitCharp &termQuitChar# define termSuspCharp &termSuspChar# define termFlushCharp &termFlushChar# define termWerasCharp &termWerasChar# define termRprntCharp &termRprntChar# define termLiteralNextCharp &termLiteralNextChar# define termStartCharp &termStartChar# define termStopCharp &termStopChar# define termForw1Charp &termForw1Char# define termForw2Charp &termForw2Char# define termAytCharp &termAytChar# else /* Work around a compiler bug */# define termEofCharp 0# define termEraseCharp 0# define termIntCharp 0# define termKillCharp 0# define termQuitCharp 0# define termSuspCharp 0# define termFlushCharp 0# define termWerasCharp 0# define termRprntCharp 0# define termLiteralNextCharp 0# define termStartCharp 0# define termStopCharp 0# define termForw1Charp 0# define termForw2Charp 0# define termAytCharp 0# endif#endif/* Ring buffer structures which are shared */extern Ring netoring, netiring, ttyoring, ttyiring;/* Tn3270 section */#ifdef TN3270extern int HaveInput, /* Whether an asynchronous I/O indication came in */ noasynchtty, /* Don't do signals on I/O (SIGURG, SIGIO) */ noasynchnet, /* Don't do signals on I/O (SIGURG, SIGIO) */ sigiocount, /* Count of SIGIO receptions */ shell_active; /* Subshell is active */extern char *Ibackp, /* Oldest byte of 3270 data */ Ibuf[], /* 3270 buffer */ *Ifrontp, /* Where next 3270 byte goes */ tline[], *transcom; /* Transparent command */extern int settranscom P((int, char**));extern void inputAvailable P((int));#endif /* defined(TN3270) */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -