subtermtype.c
来自「linux网络编程实例程序 socket程序 适合初学者。」· C语言 代码 · 共 29 行
C
29 行
/* subtermtype.c - subtermtype */#include <sys/types.h>#include <stdio.h>#include "telnet.h"extern char *term; /* terminal name, from initialization *//*------------------------------------------------------------------------ * subtermtype - do terminal type option subnegotation *------------------------------------------------------------------------ */intsubtermtype(FILE *sfp, FILE *tfp, int c){ /* have received IAC.SB.TERMTYPE.SEND */ (void) putc(TCIAC, sfp); (void) putc(TCSB, sfp); (void) putc(TOTERMTYPE, sfp); (void) putc(TT_IS, sfp); fputs(term, sfp); (void) putc(TCIAC, sfp); (void) putc(TCSE, sfp); return 0;}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?