* [Qemu-devel] curses interface and tweaks for 0.8.1
@ 2006-05-07 4:27 andrzej zaborowski
2006-05-07 16:28 ` Sylvain Petreolle
0 siblings, 1 reply; 3+ messages in thread
From: andrzej zaborowski @ 2006-05-07 4:27 UTC (permalink / raw)
To: qemu-devel
Hi,
since QEMU 0.8.1 is out and there have been some changes in handling
video devices recently, I re-diffed the old curses/ncurses driver and
made a patch against this version. While I was at it I added other
improvements and dirty hacks that I find useful, all the shebang is in
the file http://www.zabor.org/balrog/qemu-curses-etc.patch
The changes are:
* cleaned up the code, made the internal logic more.. logical.
* you can choose keyboard layouts with -k similarly to SDL (Fabrice
Bellard requested this).
* you can switch between user interfaces using the monitor command
"ui interfacenamehere", without restarting QEMU (while this command is
a bit redundand, many people asked for it):
ui sdl -- switches to SDL interface,
ui curses -- curses interface,
ui cocoa -- untested,
ui vnc -- kills the interfaces and starts this new VNC server,
ui dumb -- don't do this.
* added virtual consoles support in the VNC server -- works same way
as with SDL as far as I can tell: Ctrl+Alt+2 switches to monitor, etc.
* you can set variable names from monitor with "variable=value" (no
spaces around `='), e.g. "TERM=xterm" might be important for the
curses interface and DISPLAY or SDL_VIDEODRIVER values matter for the
SDL interface. If you started qemu on the X display localhost:0.0 and
then went to a different machine, you can issue the following:
(qemu) DISPLAY=othermachine:5
(qemu) ui sdl
and the QEMU window should magically re-appear on the other computer's screen.
* QEMU saves monitor commands history to "~/.qemu_history" on exit
and restores the history when you run a new QEMU.
* improved "sendkey" command (tab-completion for key names, sending
keys by keycode number, some bugfixes). I described this in some older
mail.
Regards,
Andrzej
--
Dear Outlook users: Please remove me from your address books
http://www.newsforge.com/article.pl?sid=03/08/21/143258
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: [Qemu-devel] curses interface and tweaks for 0.8.1
2006-05-07 4:27 [Qemu-devel] curses interface and tweaks for 0.8.1 andrzej zaborowski
@ 2006-05-07 16:28 ` Sylvain Petreolle
2006-05-08 13:51 ` andrzej zaborowski
0 siblings, 1 reply; 3+ messages in thread
From: Sylvain Petreolle @ 2006-05-07 16:28 UTC (permalink / raw)
To: balrogg, qemu-devel
Hi andrzej,
could you split the changes into smaller patches ?
IMO people would really like to have e.g. improved sendkey command
and monitor commands history without curses.
--- andrzej zaborowski <balrog@zabor.org> a écrit :
> Hi,
> * QEMU saves monitor commands history to "~/.qemu_history" on exit
> and restores the history when you run a new QEMU.
> * improved "sendkey" command (tab-completion for key names, sending
> keys by keycode number, some bugfixes). I described this in some older
> mail.
Kind regards,
Sylvain Petreolle (aka Usurp)
--- --- --- --- --- --- --- --- --- --- --- --- ---
Listen to free Music: http://www.jamendo.com
Windows is proprietary, use free ReactOS instead : http://www.reactos.org
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] curses interface and tweaks for 0.8.1
2006-05-07 16:28 ` Sylvain Petreolle
@ 2006-05-08 13:51 ` andrzej zaborowski
0 siblings, 0 replies; 3+ messages in thread
From: andrzej zaborowski @ 2006-05-08 13:51 UTC (permalink / raw)
To: spetreolle; +Cc: qemu-devel
Hi there,
On 07/05/06, Sylvain Petreolle <spetreolle@yahoo.fr> wrote:
> Hi andrzej,
> could you split the changes into smaller patches ?
>
> IMO people would really like to have e.g. improved sendkey command
> and monitor commands history without curses.
You can find these two changes in separate patches attached to this
older message:
http://lists.gnu.org/archive/html/qemu-devel/2005-12/msg00266.html
(the patches might still apply because there haven't been many changes
since then).
Note, however that you won't notice curses support being there if you
don't use -curses in your qemu commandline. Also it should be neutral
to the build as it detects if you have the needed libs and headers.
BTW, it seems my way of shutting down the VNC server is not perfect
and sometimes the listening port is not closed until qemu exits and if
you issue "ui vnc" a second time in one qemu session it might not want
to listen on the same port again.
>
> --- andrzej zaborowski <balrog@zabor.org> a écrit :
>
> > Hi,
> > * QEMU saves monitor commands history to "~/.qemu_history" on exit
> > and restores the history when you run a new QEMU.
> > * improved "sendkey" command (tab-completion for key names, sending
> > keys by keycode number, some bugfixes). I described this in some older
> > mail.
>
>
> Kind regards,
> Sylvain Petreolle (aka Usurp)
> --- --- --- --- --- --- --- --- --- --- --- --- ---
> Listen to free Music: http://www.jamendo.com
> Windows is proprietary, use free ReactOS instead : http://www.reactos.org
>
>
Regards,
Andrzej
--
balrog 2oo6
Dear Outlook users: Please remove me from your address books
http://www.newsforge.com/article.pl?sid=03/08/21/143258
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-05-08 13:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-07 4:27 [Qemu-devel] curses interface and tweaks for 0.8.1 andrzej zaborowski
2006-05-07 16:28 ` Sylvain Petreolle
2006-05-08 13:51 ` andrzej zaborowski
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).