Hi,

On Sun, 2007-03-11 at 01:06:37 -0500, Joey Hess wrote:
> Package: qemu
> Version: 0.9.0-1
> Severity: wishlist
> 
> I'm trying to use qemu to automate testing of d-i cd images. To do this
> I need to type "install console=ttyS0,9600n8" at the syslinuxa
> prompt, which is on the console, to get it to use the serial console.
> I can send everything I need except for the comma using the
> sendkey command.

You can give decimal or hex raw values to sendkey with something like:

  sendkey #51

or

  sendkey #0x33

> It's also missing "/" "." and ":", which I do need. (To enter a url.)

For now you can check from <linux/input.h> for the KEY_ values, until
a fixed packages is uploaded.

> (BTW, where are the key names documented, besides the source? "spc",  and
> "ret" are not easy to guess.)

The commands support completion, so you can do:

  sendkey <tab>

The numerical stuff is not documented on the qemu-doc.html file, which
I'll correct when fixing this bug.

regards,
guillem


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to