From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KXFEf-00035l-0v for mharc-grub-devel@gnu.org; Sun, 24 Aug 2008 09:02:25 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KXFEd-00035Y-Nh for grub-devel@gnu.org; Sun, 24 Aug 2008 09:02:23 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KXFEc-00035J-BB for grub-devel@gnu.org; Sun, 24 Aug 2008 09:02:22 -0400 Received: from [199.232.76.173] (port=52943 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KXFEc-00035G-6B for grub-devel@gnu.org; Sun, 24 Aug 2008 09:02:22 -0400 Received: from 197.red-80-32-81.staticip.rima-tde.net ([80.32.81.197]:33998 helo=mail.pina.cat) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KXFEb-0007AW-Cu for grub-devel@gnu.org; Sun, 24 Aug 2008 09:02:21 -0400 Received: from pinux (unknown [77.210.123.53]) by mail.pina.cat (Postfix) with ESMTP id ADC8F288F2FDE for ; Sun, 24 Aug 2008 15:02:19 +0200 (CEST) Received: by pinux (Postfix, from userid 1000) id E5D5A20064; Sun, 24 Aug 2008 15:02:16 +0200 (CEST) Date: Sun, 24 Aug 2008 15:02:16 +0200 From: Carles Pina i Estany To: grub-devel@gnu.org Message-ID: <20080824130216.GA5808@pina.cat> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="gKMricLos+KVdGMg" Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Subject: [PATCH] Correcting GRUB_CONSOLE_KEY_NPAGE/PPAGE X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Aug 2008 13:02:24 -0000 --gKMricLos+KVdGMg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hello, I send a patch that corrects the GRUB_CONSOLE_KEY_NPAGE/PPAGE constants. ChangeLog: -------- 2008-08-24 Carles Pina i Estany * include/grub/powerpc/ieee1275/console.h (GRUB_TERM_NPAGE): Changed to 0x5100. (GRUB_TERM_PPAGE): Changed to 0x4900. * include/grub/sparc64/ieee1275/console.h: Likewise. * include/grub/i386/pc/console.h: Likewise. * include/grub/efi/console.h: Likewise. -------- (this new values are the same used in Grub and also the same that one can find googling for PGUP and PGDN key codes). If everything is correct, could someone please commit it? Cheers, -- Carles Pina i Estany GPG id: 0x17756391 http://pinux.info --gKMricLos+KVdGMg Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="ppage_npage_codes.patch" Index: include/grub/powerpc/ieee1275/console.h =================================================================== --- include/grub/powerpc/ieee1275/console.h (revision 1828) +++ include/grub/powerpc/ieee1275/console.h (working copy) @@ -29,8 +29,8 @@ #define GRUB_CONSOLE_KEY_BACKSPACE 0x0008 #define GRUB_CONSOLE_KEY_HOME 0x4700 #define GRUB_CONSOLE_KEY_END 0x4F00 -#define GRUB_CONSOLE_KEY_NPAGE 0x4900 -#define GRUB_CONSOLE_KEY_PPAGE 0x5100 +#define GRUB_CONSOLE_KEY_NPAGE 0x5100 +#define GRUB_CONSOLE_KEY_PPAGE 0x4900 /* Initialize the console system. */ void grub_console_init (void); Index: include/grub/sparc64/ieee1275/console.h =================================================================== --- include/grub/sparc64/ieee1275/console.h (revision 1828) +++ include/grub/sparc64/ieee1275/console.h (working copy) @@ -30,8 +30,8 @@ #define GRUB_CONSOLE_KEY_BACKSPACE 0x0008 #define GRUB_CONSOLE_KEY_HOME 0x4700 #define GRUB_CONSOLE_KEY_END 0x4F00 -#define GRUB_CONSOLE_KEY_NPAGE 0x4900 -#define GRUB_CONSOLE_KEY_PPAGE 0x5100 +#define GRUB_CONSOLE_KEY_NPAGE 0x5100 +#define GRUB_CONSOLE_KEY_PPAGE 0x4900 /* Initialize the console system. */ void grub_console_init (void); Index: include/grub/i386/pc/console.h =================================================================== --- include/grub/i386/pc/console.h (revision 1828) +++ include/grub/i386/pc/console.h (working copy) @@ -29,8 +29,8 @@ #define GRUB_CONSOLE_KEY_BACKSPACE 0x0008 #define GRUB_CONSOLE_KEY_HOME 0x4700 #define GRUB_CONSOLE_KEY_END 0x4F00 -#define GRUB_CONSOLE_KEY_NPAGE 0x4900 -#define GRUB_CONSOLE_KEY_PPAGE 0x5100 +#define GRUB_CONSOLE_KEY_NPAGE 0x5100 +#define GRUB_CONSOLE_KEY_PPAGE 0x4900 #ifndef ASM_FILE Index: include/grub/efi/console.h =================================================================== --- include/grub/efi/console.h (revision 1828) +++ include/grub/efi/console.h (working copy) @@ -29,8 +29,8 @@ #define GRUB_CONSOLE_KEY_BACKSPACE 0x0008 #define GRUB_CONSOLE_KEY_HOME 0x4700 #define GRUB_CONSOLE_KEY_END 0x4F00 -#define GRUB_CONSOLE_KEY_NPAGE 0x4900 -#define GRUB_CONSOLE_KEY_PPAGE 0x5100 +#define GRUB_CONSOLE_KEY_NPAGE 0x5100 +#define GRUB_CONSOLE_KEY_PPAGE 0x4900 #include #include --gKMricLos+KVdGMg--