Patch pat.5

From: Andrew Valencia <vandys_at_nospam.org>
Date: Thu Aug 19 1993 - 08:49:28 PDT

This patch keeps the kbd server from abort()'ing when an arrow key or other
extended key is hit on the IBM PC keyboard.

*** c:/tmp/T0AA.AAA Thu Aug 19 08:49:22 1993
--- kbd/isr.c Thu Aug 19 08:43:10 1993
***************
*** 55,65 ****
                  ch = shift ? shifted[c] : normal[c];
          }
  
          /*
! * Oops.
           */
! ASSERT_DEBUG(ch != 0x80, "key_event: shift in data");
  
          /*
           * Convert to control characters if CTL key down
           */
--- 55,67 ----
                  ch = shift ? shifted[c] : normal[c];
          }
  
          /*
! * Arrow keys and stuff like that--ignore for now.
           */
! if (ch == 0x80) {
! return;
! }
  
          /*
           * Convert to control characters if CTL key down
           */
Received on Thu Aug 19 08:53:11 1993

This archive was generated by hypermail 2.1.8 : Wed Sep 21 2005 - 19:37:12 PDT