All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Yoshinori K. Okuji" <okuji@enbug.org>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: grub2 accessibility: beeps
Date: Tue, 5 Dec 2006 21:02:57 +0100	[thread overview]
Message-ID: <200612052102.58151.okuji@enbug.org> (raw)
In-Reply-To: <87y7pn1jk1.fsf@xs4all.nl>

On Monday 04 December 2006 21:40, Marco Gerards wrote:
> Well, the point that I am trying to make is that I would like to use
> hooks for this in some way.  So you are not agreeing with the first
> alternative I suggested.  But you ignored the second alternative,
> which was the most important part in my email.

You look so offensive to me. Did I ignore it? No! I only didn't mention any 
opinion about that.

> Can you explain what the style sheet would look like?  In that case we
> can discuss some things so we are all agree so we can work towards the
> same goal.

I think you remember that I wanted to use a kind of style sheet to specify a 
fancy menu interface. This fits to the beeping issue. For now, I really don't 
care how it looks like, as long as it is easy even for non-programmers. I use 
a CSS-like syntax as an example:

grub.css:

# The default.
menuentry {
  beep: 1 2 # Whatever these integers mean
}

# An usual entry.
menuentry.usual {
  beep: 3 4
}

# A rescue entry.
menuentry.rescue {
  beep: 5 6
}

grub.cfg

stylesheet grub.css

menuentry --class=usual "Usual OS" {
  ...
}

menuentry --class=rescue "Rescue OS" {
  ...
}


I didn't mention anything about your idea on hooks, because I only want to 
separate visual or sound effects from the config file itself. I don't care so 
much about the underlying implementation, whether it uses hooks or not. 
That's because I bet that how to boot operating systems is independent of how 
the menu looks.

Okuji



  reply	other threads:[~2006-12-05 20:03 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-30 19:00 grub2 accessibility: beeps Hollis Blanchard
2006-11-30 19:50 ` Marco Gerards
2006-11-30 19:59   ` user-defined hooks Hollis Blanchard
2006-12-13 13:18     ` Thomas Schwinge
2006-12-02 17:15   ` grub2 accessibility: beeps Yoshinori K. Okuji
2006-12-04 20:40     ` Marco Gerards
2006-12-05 20:02       ` Yoshinori K. Okuji [this message]
2006-12-13 12:45         ` Marco Gerards
2006-12-13 21:38           ` Yoshinori K. Okuji
2006-12-01 15:05 ` tgingold

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=200612052102.58151.okuji@enbug.org \
    --to=okuji@enbug.org \
    --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.