[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GRUB_CONSOLE_KEY_NPAGE/PPAGE codes
From: |
Robert Millan |
Subject: |
Re: GRUB_CONSOLE_KEY_NPAGE/PPAGE codes |
Date: |
Sat, 30 Aug 2008 13:25:33 +0200 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
On Sun, Aug 24, 2008 at 07:08:00PM +0300, Vesa Jääskeläinen wrote:
> Carles Pina i Estany wrote:
> > In the ChangeLog from Grub (not Grub2) I can read:
> > --------
> > 1999-03-13 Gordon Matzigkeit <address@hidden>
> >
> > [...]
> >
> > * shared_src/shared.h (KEY_DELETE): Rename to KEY_DC, for
> > compatibility with curses.
> > (KEY_INSERT): Rename to KEY_IC.
> > (KEY_PGDN): Rename to KEY_NPAGE.
> > (KEY_PGUP): Rename to KEY_PPAGE.
> > --------
> >
> > These names are still valid in libncurses5.
>
> wtf?!
>
> What idiocy is this ??
Calm down! Or you'll scare him :-)
> Making it really hard for normal people to
> understand what those means. I would go for understandability and not to
> be "compatible" with curses internally... curses terminal driver can use
> what ever it wants.
Agreed. If we want to be compatible with curses code, we could just add a
layer. Or even define macro aliases (e.g. #define KEY_IC KEY_INSERT).
--
Robert Millan
The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
how) you may access your data; but nobody's threatening your freedom: we
still allow you to remove your data and not access it at all."