qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] new SDL keyboard shortcuts to start and stop VM


From: Luiz Capitulino
Subject: Re: [Qemu-devel] [PATCH] new SDL keyboard shortcuts to start and stop VM
Date: Thu, 22 Oct 2009 14:32:42 -0200

On Thu, 22 Oct 2009 17:02:29 +0200
Kevin Wolf <address@hidden> wrote:

> Am 22.10.2009 16:40, schrieb Luiz Capitulino:
> > On Wed, 21 Oct 2009 19:35:03 +0100
> > Jamie Lokier <address@hidden> wrote:
> >> If the monitor accepted ";" as a command separator, to put multiple
> >> commands on a single line, <command_list> could just be a quoted
> >> string which is processed as a line.
> > 
> >  Why is ";" needed?
> 
> How else would you specify multiple commands for one macro?

 Let me rephrase this better: what use cases do we have for
multiple commands in one line/macro?

> >>     - add_key key <key> <command-string>
> >>     - remove_key <key> <command-string>
> >>     - list_keys
> > 
> >  What's key?
> 
> Some kind of key binding. If we allowed all keys, it would probably make
> sense to use the sendkeys style format, but I assume we'll only support
> ctrl-alt-<letter> which already has a special meaning.

 Ah, I see now. Would have to think about this.

> >  Ah, it doesn't have macro_del and if we use QObjects we can
> > consider saving its json representation in file so that we can
> > have macro_load.
> 
> You are thinking about having this to avoid typing in the macro each
> time you start a VM?

 Yes.

> For something the user might want to touch I'd
> prefer a simple solution like reading ~/.qemurc or something like that
> and executing it as a "monitor script".

 That's right, asking the user to edit json doesn't seem like
a good idea.. I guess I'm working too much with it. :)




reply via email to

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