diff options
-rw-r--r-- | usr.bin/mg/kbd.h | 3 | ||||
-rw-r--r-- | usr.bin/mg/keymap.c | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/usr.bin/mg/kbd.h b/usr.bin/mg/kbd.h index 073ffa8a8d8..62ff514cd0f 100644 --- a/usr.bin/mg/kbd.h +++ b/usr.bin/mg/kbd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: kbd.h,v 1.8 2001/05/23 21:59:45 art Exp $ */ +/* $OpenBSD: kbd.h,v 1.9 2001/05/23 22:10:43 art Exp $ */ /* * kbd.h: type definitions for symbol.c and kbd.c for mg experimental @@ -41,6 +41,7 @@ typedef struct MAPS_S { } MAPS; extern MAPS map_table[]; +extern KEYMAP *fundamental_map; typedef struct { PF n_funct; diff --git a/usr.bin/mg/keymap.c b/usr.bin/mg/keymap.c index 9d9d022bd6e..3f4558ae2f8 100644 --- a/usr.bin/mg/keymap.c +++ b/usr.bin/mg/keymap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: keymap.c,v 1.8 2001/05/23 21:59:45 art Exp $ */ +/* $OpenBSD: keymap.c,v 1.9 2001/05/23 22:10:43 art Exp $ */ /* * Keyboard maps. This is character set dependent. The terminal specific @@ -615,6 +615,8 @@ MAPS map_table[] = { #define NMAPS (sizeof map_table/sizeof(MAPS)) int nmaps = NMAPS; /* for use by rebind in extend.c */ +KEYMAP *fundamental_map = (KEYMAP *)&fundmap; + char * map_name(map) KEYMAP *map; |