File: term.ih

package info (click to toggle)
trn4 4.0-test77-6
  • links: PTS
  • area: non-free
  • in suites: wheezy
  • size: 3,588 kB
  • sloc: ansic: 48,332; sh: 6,813; tcl: 1,696; yacc: 660; perl: 108; makefile: 36
file content (34 lines) | stat: -rw-r--r-- 753 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/* term.ih
 */
/* This software is copyrighted as detailed in the LICENSE file. */

struct keymap {
    char km_type[128];
    union km_union {
	KEYMAP* km_km;
	char* km_str;
    } km_ptr[128];
};

#define KM_NOTHIN 0
#define KM_STRING 1
#define KM_KEYMAP 2
#define KM_BOGUS 3

#define KM_TMASK 3
#define KM_GSHIFT 4
#define KM_GMASK 7

#define TC_STRINGS 48	/* number of colors we can keep track of */

/* DON'T EDIT BELOW THIS LINE OR YOUR CHANGES WILL BE LOST! */

#ifdef MSDOS
static void set_lines_and_cols _((void));
#endif
static void mac_init _((char*));
static KEYMAP* newkeymap _((void));
static void show_keymap _((KEYMAP*,char*));
static int echo_char _((char_int));
static void line_col_calcs _((void));
static void mouse_input _((char*));