On 06/24/2011 07:19 AM, Daniel P. Berrange wrote:
+static const vshCmdInfo info_send_key[] = {
+ {"help", N_("Send keycodes to the guest")},
+ {"desc", N_("Send keycodes to the guest, the keycodes must be integers\n"
+ " Examples:\n\n"
+ " virsh # send-key<domain> 37 18 21\n"
+ " virsh # send-key<domain> KEY_RIGHTCTRL KEY_C\n"
+ " virsh # send-key<domain> --codeset xt 37 18 21\n"
+ " virsh # send-key<domain> --holdtime 1000 0x15 18 0xf\n"
These examples should likely be in the virsh.pod file too.
Oops, we didn't get that done yet. I'm working up a patch.
--
Eric Blake eblake@xxxxxxxxxx +1-801-349-2682
Libvirt virtualization library http://libvirt.org
--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list