From: Robert Millan <rmh@aybabtu.com>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: [RFC] Multi-terminal support (Re: [PATCH] terminal split)
Date: Fri, 7 Nov 2008 20:26:32 +0100 [thread overview]
Message-ID: <20081107192632.GF8625@thorin> (raw)
In-Reply-To: <20081104191256.GB25519@thorin>
On Tue, Nov 04, 2008 at 08:12:56PM +0100, Robert Millan wrote:
>
> - Turn the grub_cur_term_{input,output} pointers into lists, so that
> multiple terminals can be "current" at the same time.
>
> - Implement a "magic" input (or output) terminal that can be attached to
> other terminals and reads from (or writes to) more than one of them.
> The advantage of this is that the code doesn't have to be in kernel.
Or a third option, which derives from the second one:
- Move the whole terminal selection code away from kernel, into a module
(e.g. terminal.mod) that manages multiple terminals, and can possibly
enable them simultaneously.
This basicaly would mean:
- There's always a "default" terminal that is built into kernel already.
Before terminal.mod is loaded, the kernel would map generic terminal
functions (grub_getkey(), etc) to this terminal (e.g. using a single
grub_term_{input,output} couple of pointers).
- When loading terminal.mod, it hooks itself by replacing those two
pointers, and implements the whole register / unregister / iterate
enchilada.
- Some special casing would be needed so that the in-kernel terminals
can be part of terminal.mod's scheme.
What I like in this option is that it moves complexity (and code) away from
kernel without removing any functionality from it.
--
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."
next prev parent reply other threads:[~2008-11-07 19:27 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-02 18:11 [PATCH] terminal split Robert Millan
2008-11-04 15:52 ` Yoshinori K. Okuji
2008-11-04 17:14 ` Robert Millan
2008-11-06 17:05 ` Yoshinori K. Okuji
2008-11-07 19:13 ` Robert Millan
2008-11-04 18:31 ` Vesa Jääskeläinen
2008-11-06 17:20 ` Yoshinori K. Okuji
2008-11-07 19:07 ` Robert Millan
2008-11-09 7:22 ` Yoshinori K. Okuji
2008-11-04 18:53 ` Vesa Jääskeläinen
2008-11-04 19:12 ` Robert Millan
2008-11-04 19:49 ` Colin D Bennett
2008-11-07 19:26 ` Robert Millan [this message]
2008-11-22 17:42 ` [RFC] Multi-terminal support (Re: [PATCH] terminal split) Yoshinori K. Okuji
2008-11-22 19:54 ` Robert Millan
2008-11-25 21:23 ` Yoshinori K. Okuji
2008-11-26 11:41 ` SPAM-LOW: " Amin Azez
2008-11-28 20:38 ` Robert Millan
2008-11-29 21:20 ` Vesa Jääskeläinen
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=20081107192632.GF8625@thorin \
--to=rmh@aybabtu.com \
--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.