From: Keir Fraser Subject: Re: Handling Key Sequence Date: Mon, 18 Sep 2006 15:48:49 +0100 Message-ID: References: <1158590014.450eae3eae11c@imp4-g19.free.fr> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1158590014.450eae3eae11c@imp4-g19.free.fr> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: nicko.koinkoin@free.fr, xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org tools/console/client/main.c Look for ESCAPE_CHARACTER. -- Keir On 18/9/06 15:33, "nicko.koinkoin@free.fr" wrote: > > > Hi everybody ! > > I am using xen-2.0.7, and wondered where, in the source code, is located > the lines that fetch the key sequence "Ctrl ]" that escape from the connected > Xen virtual console. > Indeed I want to add another key sequence. I spent a long time to search where > it is located in the code, without success. So if someone know where it is, I > will appreciate a lot :). > > I searched in most of files of Xend, because I think that keyboard interrupts > are always forwarded by xen to dom0, even if the active console is owned by a > domU. Then I think that the "real" keyboard driver forwarded the scan code or > ASCII code to Xend, which sends them to the active console. And maybe before > sending the ASCII codes it checks if the key sequence is "Ctrl ]" and switch > console. Am I right ? > > So where are these lines that check the key sequence and switch console ? > > Thanks. > > -- > Nicolas CLERMONT > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel