From: Ryan Harper <ryanh@us.ibm.com>
To: qemu-devel@nongnu.org
Cc: Ryan Harper <ryanh@us.ibm.com>,
kvm@vger.kernel.org, Ian Kirk <blob@blob.co.uk>
Subject: [Qemu-devel] [PATCH 0/2] Fix monitor console in curses mode
Date: Fri, 22 Aug 2008 13:03:39 -0500 [thread overview]
Message-ID: <1219428221-22947-1-git-send-email-ryanh@us.ibm.com> (raw)
The current curses code doesn't set the initial monitor text console to the size
of the terminal and fails to adjust properly after a resize. The attach patches
create the initial console based on the size of the terminal instead of
defaulting to 80x25, and also hook 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.
The second patch is a trivial typo fix in the comments in console.c
Comments welcome since I'm new to both curses and qemu console code.
Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
next reply other threads:[~2008-08-22 18:03 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-22 18:03 Ryan Harper [this message]
2008-08-22 18:03 ` [Qemu-devel] [PATCH 1/2] Fix text console size/resize when using curses Ryan Harper
2008-08-22 22:40 ` andrzej zaborowski
2008-08-22 22:56 ` Ryan Harper
2008-08-22 18:03 ` [Qemu-devel] [PATCH 2/2] Fix typo in console.c comment Ryan Harper
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1219428221-22947-1-git-send-email-ryanh@us.ibm.com \
--to=ryanh@us.ibm.com \
--cc=blob@blob.co.uk \
--cc=kvm@vger.kernel.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).