summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-09-26 10:12:27 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-09-26 10:12:27 +0000
commit160abca54701e7899878ea9f52895f2169b908f8 (patch)
treeeb971f1dbcf60ae54a3c2a3d9bd4b90ef906e1a3 /usr.bin
parent4599266f71db8ac3f26baa8a01fe629a7c1afd46 (diff)
activate the two key sequences for undo again; ok art henning
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/mg/keymap.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/usr.bin/mg/keymap.c b/usr.bin/mg/keymap.c
index 60ee857a1a0..11a76dfb77f 100644
--- a/usr.bin/mg/keymap.c
+++ b/usr.bin/mg/keymap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: keymap.c,v 1.23 2002/06/27 23:07:58 vincent Exp $ */
+/* $OpenBSD: keymap.c,v 1.24 2002/09/26 10:12:26 deraadt Exp $ */
/*
* Keyboard maps. This is character set dependent. The terminal specific
@@ -139,6 +139,8 @@ static PF cXcar[] = {
rescan, /* q */
rescan, /* r */
savebuffers, /* s */
+ NULL, /* t */
+ undo /* u */
};
#ifndef NO_MACRO
@@ -170,7 +172,7 @@ static struct KEYMAPE (5 + IMAPEXT) cXmap = {
'=', '=', cXeq, NULL
},
{
- '^', 's', cXcar, NULL
+ '^', 'u', cXcar, NULL
},
}
};
@@ -322,7 +324,7 @@ static PF fund_esc[] = {
rescan, /* ^\ selfinsert is default on fundamental */
rescan, /* ^] */
rescan, /* ^^ */
- rescan, /* ^_ */
+ undo, /* ^_ */
};
static PF fund_del[] = {