From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1DzXPC-0001JI-Ik for mharc-grub-devel@gnu.org; Mon, 01 Aug 2005 06:20:23 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DzXNu-0000i8-H4 for grub-devel@gnu.org; Mon, 01 Aug 2005 06:19:02 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DzXNr-0000fS-Ab for grub-devel@gnu.org; Mon, 01 Aug 2005 06:19:01 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DzXNq-0000WN-CK for grub-devel@gnu.org; Mon, 01 Aug 2005 06:18:58 -0400 Received: from [194.67.23.122] (helo=mx2.mail.ru) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DzXSI-0003wo-2p for grub-devel@gnu.org; Mon, 01 Aug 2005 06:23:34 -0400 Received: from [83.77.11.21] (port=2801 helo=[192.168.1.100]) by mx2.mail.ru with esmtp id 1DzXGA-0007z1-00 for grub-devel@gnu.org; Mon, 01 Aug 2005 14:11:03 +0400 Message-ID: <42EDF536.90108@list.ru> Date: Mon, 01 Aug 2005 12:11:02 +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 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 7bit Subject: Re: Bug-fixing and keystroke 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, 01 Aug 2005 10:19:05 -0000 >On Saturday 30 July 2005 15:20, Serbinenko Vladimir wrote: >>/ I wrote some bugfixing patch + new feature./ > >Thank you very much. I have applied only the bugfixes at the moment. > OK >>/ The new feature is sending keystroke to OS (imitating keypress +/ >>/ changing keyboard flags)./ >>/ it works like:/ >>/ keystroke [flags] [keys]/ > >This is specific to i386-pc, so the source file should be put in >commands/i386/pc. Fixed >I'm also wondering if this command name is good or not. In QEMU, the same >feature is called "sendkey". I'm not sure which is better. For me it makes no difference but if other apps use "sendkey" it would be better make standardly >Another question I have is that it might be better to implement this as a >variable rather than a command. Basically, this command just stores >information rathen than executing something directly. So using a variable >sounds intuitive for me. > >What do you think? > I propose one "sendkey" variable and bunch of kb_* variables like kb_caps, kb_scroll, kb_rshift, kb_noleds ... Is it OK? Then 2 questions arise: 1) Which values would be intuitive for kb_*?What about keep, on, off? 2) How can user call the help? Especially how can user know the available keys? Perhaps this question is more general and we have to extend "help" command? >Okuji > Vladimir Serbinenko