qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/2] Fix monitor console in curses mode
@ 2008-08-22 18:03 Ryan Harper
  2008-08-22 18:03 ` [Qemu-devel] [PATCH 1/2] Fix text console size/resize when using curses Ryan Harper
  2008-08-22 18:03 ` [Qemu-devel] [PATCH 2/2] Fix typo in console.c comment Ryan Harper
  0 siblings, 2 replies; 5+ messages in thread
From: Ryan Harper @ 2008-08-22 18:03 UTC (permalink / raw)
  To: qemu-devel; +Cc: Ryan Harper, kvm, Ian Kirk


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>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-08-22 22:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-22 18:03 [Qemu-devel] [PATCH 0/2] Fix monitor console in curses mode Ryan Harper
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

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).