qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH] qemu console improvements


From: Piotr Esden-Tempski
Subject: [Qemu-devel] [PATCH] qemu console improvements
Date: Wed, 15 Feb 2006 21:54:44 +0100

Hello everyone,

I created a patch that adds some new features to the text console in qemu.
New features are:
- control ascii characters
        - backspace
        - tab
- alert aka bell (it is being dropped now and not shown, proper handling has to be added)
- ansi escape sequences
        - colors (background and foreground)
                # foreground
                echo -e "\033[30m" #black
                echo -e "\033[31m" #red
                echo -e "\033[32m" #green
                echo -e "\033[33m" #yellow
                echo -e "\033[34m" #blue
                echo -e "\033[35m" #magenta
                echo -e "\033[36m" #cyan
                echo -e "\033[37m" #white
                #background
                echo -e "\033[40m" #black
                echo -e "\033[41m" #red
                echo -e "\033[42m" #green
                echo -e "\033[43m" #yellow
                echo -e "\033[44m" #blue
                echo -e "\033[45m" #magenta
                echo -e "\033[46m" #cyan
                echo -e "\033[47m" #white
        - bold (lighter colors are used as proposed by ansi)
                echo -e "\033[1m"     #on
                echo -e "\033[22m"    #off
        - underline
                echo -e "\033[4m"     #on
                echo -e "\033[24m"    #off
        - inverted
                echo -e "\033[7m"     #on
                echo -e "\033[27m"    #off

I have tested this patch on mac os x and linux so it works for me. I have no windows machine so I could not test that. I hope it is useful.

You can get the patch at http://www.esden.net/content/ qemu_ansi_console-1.0.patch .

Cheers Esden

--
Visit my Blog at http://www.esden.net and leave a Comment ;)

Attachment: qemu_ansi_console-1.0.patch
Description: Binary data

Attachment: PGP.sig
Description: Signierter Teil der Nachricht


reply via email to

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