1 /* Copyright (c) 1985 Ceriel J.H. Jacobs */
11 PUBLIC
struct keymap
{
12 char k_help
[80]; /* To be printed on illegal command */
13 struct state
*k_mach
; /* Finite state machine */
14 char k_esc
[10]; /* escape chars */
15 } *currmap
, /* pointer to current key map */
16 *othermap
; /* pointer to other keymap */
22 * Initializes the keymap(s).
30 * Marks the key "key" as used.
38 * returns 0 if the key "key" is not used.
39 * Otherwise it returns non-zero.
47 * Returns 1 if "c" is an escape char (shell or pipe) in the current