From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1ApU9w-0005v7-2b for qemu-devel@nongnu.org; Sat, 07 Feb 2004 10:14:16 -0500 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1ApU9N-0005Jh-1D for qemu-devel@nongnu.org; Sat, 07 Feb 2004 10:14:13 -0500 Received: from [131.188.30.103] (helo=faui03.informatik.uni-erlangen.de) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.24) id 1ApU9M-0005Ib-JJ for qemu-devel@nongnu.org; Sat, 07 Feb 2004 10:13:40 -0500 Received: from faui03.informatik.uni-erlangen.de (faui03.informatik.uni-erlangen.de [131.188.30.103]) by faui03.informatik.uni-erlangen.de (8.12.9/8.12.9) with ESMTP id i17FDcHD002806 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 7 Feb 2004 15:13:38 GMT Received: (from sithglan@localhost) by faui03.informatik.uni-erlangen.de (8.12.9/8.12.9) id i17FDc2e002805 for qemu-devel@nongnu.org; Sat, 7 Feb 2004 16:13:38 +0100 (CET) Date: Sat, 7 Feb 2004 16:13:38 +0100 From: Thomas Glanzmann Subject: Re: [Qemu-devel] How to send Ctrl+Alt+F1 to guest OS? Message-ID: <20040207151338.GB1692@stud.uni-erlangen.de> References: <200402061916.43243.joshdeb@metzlers.org> <200402071007.50988.joshdeb@metzlers.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200402071007.50988.joshdeb@metzlers.org> Reply-To: qemu-devel@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi Josh, > 2) In Bochs if you press a modifier key (Ctrl, Alt, or Shift) while the mouse > is over the emulator window (not captured), then move the mouse off the > window, and then release the key, it stays pressed for the guest OS. So, you > press Ctrl+Alt over the emulator, move the mouse off and release, then move > back over and hit F1. This takes some getting used to (especially when you > do it accidentally and can't figure out why all your keystrokes have a Ctrl > character with them), but once used to it, it is easy to use. this is a bug! We had the same thing on FAUmachine and I fixed it a while ago. The problem is that an application has to release all keys (internally) if focus is lost. Btw. Quake has the same problem, which is very annoying. :-))) > 3) Use some special Ctrl+a codes in the xterm that launched Qemu > Another possible method, which Bochs uses, is you press Ctrl+Alt while the > mouse is over the emulator (for example Ctrl+a Ctrl+F1 could send a > Ctrl+Alt+F1, Ctrl+a F7 could send an Alt+F7 ...) This would maybe be easiest > to implement (since Ctrl+a Ctrl+a already sends a Ctrl+a), but maybe the > hardest to learn to use. hrm. I am still for 1! :-)) I sweared to myself that I implement the first thing in FAUmachine, but I never took the time to do it. Thomas