From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KbHRy-0000Nu-QE for qemu-devel@nongnu.org; Thu, 04 Sep 2008 12:12:50 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KbHRx-0000Kp-09 for qemu-devel@nongnu.org; Thu, 04 Sep 2008 12:12:50 -0400 Received: from [199.232.76.173] (port=53234 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KbHRw-0000Kj-Rt for qemu-devel@nongnu.org; Thu, 04 Sep 2008 12:12:48 -0400 Received: from e1.ny.us.ibm.com ([32.97.182.141]:42479) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KbHRw-0007B6-Qi for qemu-devel@nongnu.org; Thu, 04 Sep 2008 12:12:48 -0400 Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [9.56.227.234]) by e1.ny.us.ibm.com (8.13.8/8.13.8) with ESMTP id m84GAe1s030658 for ; Thu, 4 Sep 2008 12:10:40 -0400 Received: from d01av01.pok.ibm.com (d01av01.pok.ibm.com [9.56.224.215]) by d01relay02.pok.ibm.com (8.13.8/8.13.8/NCO v9.0) with ESMTP id m84GAduH050610 for ; Thu, 4 Sep 2008 12:10:39 -0400 Received: from d01av01.pok.ibm.com (loopback [127.0.0.1]) by d01av01.pok.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id m84GAdNX010536 for ; Thu, 4 Sep 2008 12:10:39 -0400 From: Ryan Harper Date: Thu, 4 Sep 2008 11:10:37 -0500 Message-Id: <1220544638-1972-1-git-send-email-ryanh@us.ibm.com> Subject: [Qemu-devel] [PATCH 0/1][RESEND] v2: Fix monitor console in curses mode 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 Cc: Ryan Harper , kvm@vger.kernel.org, Ian Kirk No futher feedback or concerns received, please apply. v2: dropped initial display size changes in curses.c -- not needed. The current curses code doesn't adjust the curses and text console display to match the size of the terminal and fails to adjust properly after a resize. The attach patches ensure that text_console_resize events adjust the Textconsole display area so they stay the same size as the curses display. The result is that we no longer see broken output like: QEMU 0.9.1 monitor - type 'help' for more information (qemu) (qemu) (qemu) and you can resize your terminal window and the monitor and serial text consoles adjust properly as well. Signed-off-by: Ryan Harper