summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>2000-11-15 19:53:59 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>2000-11-15 19:53:59 +0000
commitacf512831245bde8a2f40a1c818d0071d35096d1 (patch)
tree100d4c144d0a1ffaf93649840d6d97b25c97eb87 /sys/dev
parent538ff6e92865b614b51c71ba7f6b580e0f39b31f (diff)
Add two command definitions for wscons scrollback support and link them to
the PGUP/PGDN keys.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pckbc/wskbdmap_mfii.c6
-rw-r--r--sys/dev/wscons/wsksymdef.h4
2 files changed, 6 insertions, 4 deletions
diff --git a/sys/dev/pckbc/wskbdmap_mfii.c b/sys/dev/pckbc/wskbdmap_mfii.c
index 369232e0af1..2aed8987583 100644
--- a/sys/dev/pckbc/wskbdmap_mfii.c
+++ b/sys/dev/pckbc/wskbdmap_mfii.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wskbdmap_mfii.c,v 1.1 2000/11/13 20:12:35 aaron Exp $ */
+/* $OpenBSD: wskbdmap_mfii.c,v 1.2 2000/11/15 19:53:58 aaron Exp $ */
/* $NetBSD: wskbdmap_mfii.c,v 1.15 2000/05/19 16:40:04 drochner Exp $ */
/*-
@@ -143,12 +143,12 @@ static const keysym_t pckbd_keydesc_us[] = {
#endif
KC(199), KS_Home,
KC(200), KS_Up,
- KC(201), KS_Prior,
+ KC(201), KS_Cmd_ScrollBack, KS_Prior,
KC(203), KS_Left,
KC(205), KS_Right,
KC(207), KS_End,
KC(208), KS_Down,
- KC(209), KS_Next,
+ KC(209), KS_Cmd_ScrollFwd, KS_Next,
KC(210), KS_Insert,
KC(211), KS_KP_Delete,
KC(219), KS_Meta_L,
diff --git a/sys/dev/wscons/wsksymdef.h b/sys/dev/wscons/wsksymdef.h
index cd69d8efe0e..760553ea373 100644
--- a/sys/dev/wscons/wsksymdef.h
+++ b/sys/dev/wscons/wsksymdef.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: wsksymdef.h,v 1.3 2000/08/01 13:51:18 mickey Exp $ */
+/* $OpenBSD: wsksymdef.h,v 1.4 2000/11/15 19:53:57 aaron Exp $ */
/* $NetBSD: wsksymdef.h,v 1.34.4.1 2000/07/07 09:49:54 hannken Exp $ */
/*-
@@ -421,6 +421,8 @@
#define KS_Cmd_Debugger 0xf420
#define KS_Cmd_ResetEmul 0xf421
#define KS_Cmd_ResetClose 0xf422
+#define KS_Cmd_ScrollBack 0xf423
+#define KS_Cmd_ScrollFwd 0xf424
/*
* Group 5 (internal)