grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Correcting GRUB_CONSOLE_KEY_NPAGE/PPAGE


From: Vesa Jääskeläinen
Subject: Re: [PATCH] Correcting GRUB_CONSOLE_KEY_NPAGE/PPAGE
Date: Sun, 24 Aug 2008 19:09:24 +0300
User-agent: Thunderbird 2.0.0.16 (Windows/20080708)

Carles Pina i Estany wrote:
> I was just thinking... is there any reason that we have the same macros
> in 4 different files?
> 
> Why not having just a grub/console_scancodes.h: 
> 
> #ifndef GRUB_CONSOLE_SCAN_CODES
> 
> #define GRUB_CONSOLE_KEY_LEFT           0x4B00
> #define GRUB_CONSOLE_KEY_RIGHT          0x4D00
> #define GRUB_CONSOLE_KEY_UP             0x4800
> #define GRUB_CONSOLE_KEY_DOWN           0x5000
> #define GRUB_CONSOLE_KEY_IC             0x5200
> #define GRUB_CONSOLE_KEY_DC             0x5300
> #define GRUB_CONSOLE_KEY_BACKSPACE      0x0008
> #define GRUB_CONSOLE_KEY_HOME           0x4700
> #define GRUB_CONSOLE_KEY_END            0x4F00
> #define GRUB_CONSOLE_KEY_NPAGE          0x5100
> #define GRUB_CONSOLE_KEY_PPAGE          0x4900
> 
> #endif
> 
> and include this file from the other 4 files?

Sounds fine. Why do we have same thing with TERM and CONSOLE?

Thanks,
Vesa Jääskeläinen




reply via email to

[Prev in Thread] Current Thread [Next in Thread]