From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1DhvAQ-0003Hk-5t for mharc-grub-devel@gnu.org; Mon, 13 Jun 2005 16:04:18 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DhvAN-0003GL-6f for grub-devel@gnu.org; Mon, 13 Jun 2005 16:04:15 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Dhv4r-0001gi-M5 for grub-devel@gnu.org; Mon, 13 Jun 2005 15:58:44 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dhv4m-0001bY-LR for grub-devel@gnu.org; Mon, 13 Jun 2005 15:58:28 -0400 Received: from [194.67.23.149] (helo=mx3.mail.ru) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DhuvN-00083d-NT for grub-devel@gnu.org; Mon, 13 Jun 2005 15:48:45 -0400 Received: from [62.202.63.144] (port=7591 helo=[192.168.1.100]) by mx3.mail.ru with esmtp id 1DhuuF-000IA4-00 for grub-devel@gnu.org; Mon, 13 Jun 2005 23:47:35 +0400 Message-ID: <42ADE2D6.3030102@list.ru> Date: Mon, 13 Jun 2005 21:47:34 +0200 From: Serbinenko Vladimir User-Agent: Mozilla Thunderbird 1.0.2-1.3.2 (X11/20050324) X-Accept-Language: en-us, en MIME-Version: 1.0 To: The development of GRUB 2 References: <429C6B12.4080608@inma.ucl.ac.be> <20050609230545.M85450@auto.ucl.ac.be> <42ABF841.1050706@list.ru> <200506132050.05871.okuji@enbug.org> In-Reply-To: <200506132050.05871.okuji@enbug.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: Scripting and keystrokes X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Jun 2005 20:04:15 -0000 Yoshinori K. Okuji wrote: >On Sunday 12 June 2005 10:54, Serbinenko Vladimir wrote: > > >>Which scripting: I propose to make bash-like scripting and make it so >>close as possible to bash >> >> > >Agreed. > > > OK. But question about realization is still open. All ideas are welcome >>2) Keystrokes: emulation of keypress: just write keys in buffer before >>booting. I propose to add array of functions grub_preboot that will be >>launched between grub_machine_fini and grub_loader_boot_func and >>functions grub_add_preboot and grub_remove_preboot >>And command syntax like: >>keystroke [ [ [...]]] >>Example >>keystroke h e l l o >>Space is needed because some keys can't be written with one symbol like: >>F1, insert, ... >>ex: >>keystroke F8 down enter >> >> > >Can you describe the expected usage of this? For chain-loading Windows? > > It's useful for loading some OS in special modes when it checks if you press special key to enter special mode but it goes too fast and you can't press it fast enough after pressing enter in GRUB. Often it's failsafe modes. Sometimes I had this problem with windows when it bugs and I can't enter in failsafe-mode because it goes too fast. Another usage: chainloading boot-managers. If you install other manager for special OS you can choose from GRUB directly the configuration like: down down enter. Not only boot-managers but also some OS like DOS including FreeDos if multiple configurations are present in config file. Ex: As I heard GRUB has problems loading FreeBSD. So you can install FreeBSD native bootloader even have multiple BSD and/or configurations and choose it from GRUB. >Okuji > > >_______________________________________________ >Grub-devel mailing list >Grub-devel@gnu.org >http://lists.gnu.org/mailman/listinfo/grub-devel > > > >