All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Correcting GRUB_CONSOLE_KEY_NPAGE/PPAGE
@ 2008-08-24 13:02 Carles Pina i Estany
  2008-08-24 14:29 ` Carles Pina i Estany
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Carles Pina i Estany @ 2008-08-24 13:02 UTC (permalink / raw)
  To: grub-devel

[-- Attachment #1: Type: text/plain, Size: 681 bytes --]


Hello,

I send a patch that corrects the GRUB_CONSOLE_KEY_NPAGE/PPAGE constants.

ChangeLog:
--------
2008-08-24  Carles Pina i Estany  <carles@pina.cat>

	* 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

[-- Attachment #2: ppage_npage_codes.patch --]
[-- Type: text/x-diff, Size: 2283 bytes --]

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 <grub/types.h>
 #include <grub/symbol.h>

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2008-09-24 10:27 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-24 13:02 [PATCH] Correcting GRUB_CONSOLE_KEY_NPAGE/PPAGE Carles Pina i Estany
2008-08-24 14:29 ` Carles Pina i Estany
2008-08-24 16:09   ` Vesa Jääskeläinen
2008-08-24 18:11     ` Carles Pina i Estany
2008-09-24 10:23     ` Robert Millan
2008-08-30 11:50   ` Robert Millan
2008-09-05 17:00     ` Carles Pina i Estany
2008-08-24 18:34 ` [PATCH] Correcting GRUB_CONSOLE_KEY_NPAGE/PPAGE (summary) Carles Pina i Estany
2008-09-24 10:25   ` Robert Millan
2008-09-24 10:22 ` [PATCH] Correcting GRUB_CONSOLE_KEY_NPAGE/PPAGE Robert Millan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.