* [Qemu-devel] qemu console.c
@ 2006-07-14 20:24 Fabrice Bellard
2007-01-11 19:29 ` [Qemu-devel][PATCH] qemu console.c - improved ANSI escape sequences Stefan Weil
0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Bellard @ 2006-07-14 20:24 UTC (permalink / raw)
To: qemu-devel
CVSROOT: /sources/qemu
Module name: qemu
Changes by: Fabrice Bellard <bellard> 06/07/14 20:24:31
Modified files:
. : console.c
Log message:
fixed LF interpretation
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/console.c?cvsroot=qemu&r1=1.7&r2=1.8
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Qemu-devel][PATCH] qemu console.c - improved ANSI escape sequences
2006-07-14 20:24 [Qemu-devel] qemu console.c Fabrice Bellard
@ 2007-01-11 19:29 ` Stefan Weil
0 siblings, 0 replies; 2+ messages in thread
From: Stefan Weil @ 2007-01-11 19:29 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 856 bytes --]
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 #2: console-patch.tar.bz2 --]
[-- Type: application/octet-stream, Size: 2899 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-01-11 19:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-14 20:24 [Qemu-devel] qemu console.c Fabrice Bellard
2007-01-11 19:29 ` [Qemu-devel][PATCH] qemu console.c - improved ANSI escape sequences Stefan Weil
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).