summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.bin/mg/cinfo.c5
-rw-r--r--usr.bin/mg/keymap.c4
2 files changed, 3 insertions, 6 deletions
diff --git a/usr.bin/mg/cinfo.c b/usr.bin/mg/cinfo.c
index 18c2a21bdf9..fd5a2cff421 100644
--- a/usr.bin/mg/cinfo.c
+++ b/usr.bin/mg/cinfo.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cinfo.c,v 1.12 2005/06/14 18:14:40 kjell Exp $ */
+/* $OpenBSD: cinfo.c,v 1.13 2005/10/13 06:20:25 kjell Exp $ */
/* This file is in the public domain. */
@@ -106,9 +106,6 @@ keyname(char *cp, size_t len, int k)
case CCHR('I'):
np = "TAB";
break;
- case CCHR('J'):
- np = "LFD";
- break; /* yuck, but that's what GNU calls it */
case CCHR('M'):
np = "RET";
break;
diff --git a/usr.bin/mg/keymap.c b/usr.bin/mg/keymap.c
index 920618606f4..41a82b81d77 100644
--- a/usr.bin/mg/keymap.c
+++ b/usr.bin/mg/keymap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: keymap.c,v 1.33 2005/10/13 05:47:45 kjell Exp $ */
+/* $OpenBSD: keymap.c,v 1.34 2005/10/13 06:20:25 kjell Exp $ */
/* This file is in the public domain. */
@@ -81,7 +81,7 @@ static PF cXcL[] = {
rescan, /* ^N */
deblank, /* ^O */
rescan, /* ^P */
- rescan, /* ^Q */
+ togglereadonly, /* ^Q */
filevisitro, /* ^R */
filesave, /* ^S */
rescan, /* ^T */