All of lore.kernel.org
 help / color / mirror / Atom feed
From: Carles Pina i Estany <carles@pina.cat>
To: grub-devel@gnu.org
Subject: Page up/down keys
Date: Thu, 21 Aug 2008 00:10:55 +0200	[thread overview]
Message-ID: <20080820221055.GA23693@pina.cat> (raw)


Hello,

As we talked (Robert and me) in another thread, I'm thinking to add
support for Page Up/Down keys in Grub menu (if here, in the mailing
list, think that it's fine).

My suggestion for the exact behaviour is mainly the same that vim is
using. If you want to test how it would look in a menu, get a xterm,
resize to 6 rows (and many columns as you want) and execute:

seq 100 | vim -

I would implement the same behaviour (I'm thinking about which lines are
showed and where is the active line after pressing PgUp/Down)

I would add only one thing: pressing "many times" PageUp would move the
active line to the first position (vim is not doing it). So, when the
active line is on the first page and the user press PgUp one more time
it would move te cursor to the top.

Suggestions? Comments?

-- 
Carles Pina i Estany		GPG id: 0x17756391
	http://pinux.info



             reply	other threads:[~2008-08-20 22:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-20 22:10 Carles Pina i Estany [this message]
2008-08-21 13:33 ` Page up/down keys Robert Millan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080820221055.GA23693@pina.cat \
    --to=carles@pina.cat \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.