From 4375c039c8932de5792a83b59990359a5bb84710 Mon Sep 17 00:00:00 2001 From: Aaron Campbell Date: Wed, 11 Oct 2000 21:24:29 +0000 Subject: Fix a bogus scan code in pcvt_kbd.h that was preventing the RIGHT_SHIFT+PGUP/DN key combo to activate scrollback in the console. --- sys/arch/i386/isa/pcvt/pcvt_kbd.c | 6 +++--- sys/arch/i386/isa/pcvt/pcvt_kbd.h | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/sys/arch/i386/isa/pcvt/pcvt_kbd.c b/sys/arch/i386/isa/pcvt/pcvt_kbd.c index c38299f89dc..705928f2387 100644 --- a/sys/arch/i386/isa/pcvt/pcvt_kbd.c +++ b/sys/arch/i386/isa/pcvt/pcvt_kbd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pcvt_kbd.c,v 1.37 2000/10/07 03:12:46 aaron Exp $ */ +/* $OpenBSD: pcvt_kbd.c,v 1.38 2000/10/11 21:24:28 aaron Exp $ */ /* * Copyright (c) 1992, 1995 Hellmuth Michaelis and Joerg Wunsch. @@ -1200,8 +1200,8 @@ scroll_reset: goto loop; } } - else if (vsp->scrolling && key != 128 && key != 44 && key != 85 && - key != 86) { + else if (vsp->scrolling && key != 128 && key != 44 && key != 57 && + key != 85 && key != 86) { vsp->scrolling = 1; goto scroll_reset; } diff --git a/sys/arch/i386/isa/pcvt/pcvt_kbd.h b/sys/arch/i386/isa/pcvt/pcvt_kbd.h index cd552a4d225..78955573af8 100644 --- a/sys/arch/i386/isa/pcvt/pcvt_kbd.h +++ b/sys/arch/i386/isa/pcvt/pcvt_kbd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pcvt_kbd.h,v 1.5 1998/02/22 21:35:34 niklas Exp $ */ +/* $OpenBSD: pcvt_kbd.h,v 1.6 2000/10/11 21:24:28 aaron Exp $ */ /* * Copyright (c) 1992, 1995 Hellmuth Michaelis and Joerg Wunsch. @@ -186,7 +186,7 @@ static u_char extscantokey[] = { /*18*/ 25, 26, 27, 28,108, 64, 31, 32, /* O P [ ] KPE CTr A S */ /*20*/ 33, 34, 35, 36, 37, 38, 39, 40, /* D F G H J K L ; */ /*28*/ 41, 1,128, 29, 46, 47, 48, 49, /* ' ` vSh \ Z X C V */ -/*30*/ 50, 51, 52, 53, 54, 95, 57,124, /* B N M , . KP/ SHr KP* */ +/*30*/ 50, 51, 52, 53, 54, 95,128,124, /* B N M , . KP/ vSh KP* */ /*38*/ 62, 61, 30,112,113,114,115,116, /* ALr SP CAP F1 F2 F3 F4 F5 */ /*40*/ 117,118,119,120,121, 90,126, 80, /* F6 F7 F8 F9 F10 NUM Brk HOM */ /*48*/ 83, 85,105, 79, 97, 89,106, 81, /* UA PU KP- LA KP5 RA KP+ END */ -- cgit v1.2.3