4.3BSD-Reno/src/contrib/jove/keymaps.h

Compare this file to the similar file:
Show the results in this format:

/***************************************************************************
 * This program is Copyright (C) 1986, 1987, 1988 by Jonathan Payne.  JOVE *
 * is provided to you without charge, and with no warranty.  You may give  *
 * away copies of JOVE, including sources, provided that this notice is    *
 * included in all the files.                                              *
 ***************************************************************************/

struct keymap {
	int		Type;		/* keymap type */
	char		*Name;		/* keymap name */
	data_obj	**k_keys;	/* keys array */
	char		k_alloc_p;	/* whether we alloced k_keys */
};

extern data_obj	*MainKeys[NCHARS],
		*EscKeys[NCHARS],
		*CtlxKeys[NCHARS];

#ifdef MAC					/* used in About Jove... */
# define F_MAINMAP '\001'
# define F_PREF1MAP '\002'
# define F_PREF2MAP '\003'
#endif

extern int
	this_cmd,	/* ... */
	last_cmd;	/* last command ... to implement appending
			   to kill buffer */

extern void
	BindSomething proto((struct data_obj *(*proc)(), struct keymap *map)),
	BindWMap proto((struct keymap *map, int lastkey, struct data_obj *cmd)),
	DescMap proto((struct keymap *map, char *pref)),
	DescWMap proto((struct keymap *map, int key)),
	dispatch proto((int c));

extern int
	PrefChar proto((int c));	/* Is `c' a prefix character */