[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [Bug 568614] Re: x86_64 host curses interface: spacing/garb
From: |
Andrzej Zaborowski |
Subject: |
[Qemu-devel] [Bug 568614] Re: x86_64 host curses interface: spacing/garbling |
Date: |
Thu, 07 Jul 2011 14:50:20 -0000 |
This is probably the source of the problem. As you say it'd be best to
use chtype directly if it can be done cleanly, unfortunately it looks
like it'll add a curses specific snippet in console.h, but so be it.
The only other option is to add a conversion step in curses.c and give
up zero-copy passing screen data to curses, which I'd like to avoid.
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/568614
Title:
x86_64 host curses interface: spacing/garbling
Status in QEMU:
In Progress
Bug description:
Environment:
Arch Linux x86_64, kernel 2.6.33, qemu 0.12.3
Steps to reproduce:
1. Have a host system running 64-bit Linux.
2. Start a qemu VM with the -curses flag.
Expected results:
Text displayed looks as it would on a real text-mode display, and VM is
therefore usable.
Actual results:
Text displayed contains an extra space between characters, causing text to
flow off the right and bottom sides of the screen. This makes the curses
interface unintelligible.
The attached patch fixes this problem on 0.12.3 on my installation
without changing behavior on a 32-bit machine. I don't know enough of
the semantics of console_ch_t to know if this is the "correct" fix or
if there should be, say, an extra cast somewhere instead.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/568614/+subscriptions