qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel][PATCH] qemu console.c - improved ANSI escape sequences


From: Stefan Weil
Subject: [Qemu-devel][PATCH] qemu console.c - improved ANSI escape sequences
Date: Thu, 11 Jan 2007 20:29:59 +0100
User-agent: IceDove 1.5.0.9 (X11/20061220)

Hi,

here is a patch which improves the handling of escape sequences
for text consoles. This fix is needed for programs like top, vi,
clear and reset running in QEMU's serial console, but also for
readline line editing (eg. in bash).

While many users of Windows or Linux on i386 never use the serial
console (and so don't need this patch), it is vital for embedded
devices (QEMU AR7 emulation) or the new MIPS Malta emulation.

So please apply it to CVS HEAD.

See http://en.wikipedia.org/wiki/ANSI_escape_code for more information
on the new and enhanced ANSI escape sequences.

Still missing: report cursor position (how can I add characters
to the console input queue?).

Open question: bash sets LINES=24, but the console has 25 lines.

Kind regards
Stefan Weil


Appendix: console-patch.tar.bz2 with patch and test script (Linux,
cygwin with bash)


Attachment: console-patch.tar.bz2
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]