From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IhtO7-0007vp-2A for qemu-devel@nongnu.org; Tue, 16 Oct 2007 16:51:39 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IhtO4-0007tg-8N for qemu-devel@nongnu.org; Tue, 16 Oct 2007 16:51:38 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IhtO3-0007t8-ID for qemu-devel@nongnu.org; Tue, 16 Oct 2007 16:51:35 -0400 Received: from moutng.kundenserver.de ([212.227.126.186]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IhtO2-0006s4-Dg for qemu-devel@nongnu.org; Tue, 16 Oct 2007 16:51:35 -0400 Message-ID: <47152451.7020803@mail.berlios.de> Date: Tue, 16 Oct 2007 22:51:29 +0200 From: Stefan Weil MIME-Version: 1.0 Subject: Re: [Qemu-devel] handling SIGWINCH with qemu -nographic References: <471410B1.3030703@gmail.com> <200710160332.04487.paul@codesourcery.com> <47150130.3090106@gmail.com> In-Reply-To: <47150130.3090106@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Jeff Carr schrieb: > On 10/15/07 19:32, Paul Brook wrote: > >> qemu emulates a real machine. Signals are an operating system >> concept, so your >> question makes no sense. Configure your guest OS exactly the same way >> you >> would a real machine with a serial console. > > OK. I thought there might be a way. I think your question is quite reasonable. Imagine a Linux host running X Windows and a terminal like xterm or kconsole. Then run a program like "top" or "less" in this terminal. When a user changes the size of the console window, top, less and other console applications get notified of this change by SIGWINCH. Now run a similar program using QEMU's user mode emulation. Why should it not be possible to get SIGWINCH in QEMU and pass it on to the program in user mode emulation, so it can behave like a native Linux application and change its appearance? I don't think that implementing this is very difficult, so it will be done. Regards Stefan