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

📄 keys.h

📁 操作系统源代码
💻 H
字号:
/* Copyright (c) 1985 Ceriel J.H. Jacobs *//* $Header: keys.h,v 7.1 88/04/29 11:46:10 ceriel Exp $ */# ifndef _KEYS_# define PUBLIC extern# else# define PUBLIC# endifPUBLIC struct keymap {    char k_help[80];		/* To be printed on illegal command */    struct state *k_mach;	/* Finite state machine */    char k_esc[10];		/* escape chars */} *currmap,			/* pointer to current key map */  *othermap;			/* pointer to other keymap */VOID initkeys();/* * void initkeys(); * * Initializes the keymap(s). */VOID setused();/* * void setused(key); * int key; * * Marks the key "key" as used. */int isused();/* * int isused(key); * int key; * * returns 0 if the key "key" is not used. * Otherwise it returns non-zero. */int is_escape();/* * int is_escape(c); * int c; * * Returns 1 if "c" is an escape char (shell or pipe) in the current * keymap. */# undef PUBLIC

⌨️ 快捷键说明

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