status.h

来自「通讯程序源码」· C头文件 代码 · 共 25 行

H
25
字号
/* * The status flags, and other various changeable things. */#define MAX_ROW		64#define MAX_COL		133struct STATUS {	int	dup_fd;			/* fd for duplicating input */	int	cmd_ipc;		/* IPC for shell scripts */	int	connected;		/* are we connected to a remote? */	int	log_status;		/* status of log option */	char	*log_path;		/* data logging file */	int	print_status;		/* status of print option */	int	row;			/* cursor row position */	int	col;			/* cursor column position */	char	vs[MAX_ROW][MAX_COL];	/* the virtual screen */	int	max_row;		/* the virtual screen demensions */	int	max_col;		/* the virtual screen demensions */};#ifndef MAINextern struct STATUS *status;#endif /* MAIN */

⌨️ 快捷键说明

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