Red Hat Bugzilla – Bug 860004
virsh send-keys manual bad example
Last modified: 2012-11-28 09:56:10 EST
Description of problem:
The following example in 'man virsh' is confusing:
# send three strokes 'k', 'e', 'y', using xt codeset
virsh send-key dom --codeset xt 37 18 21
From reading the example it reads like the key strokes would be sent consecutively. However they are sent together, and received in an arbitrary order.
The send-key documentation should also probably state clearly that the keys are all 'pressed' at the same time, and not consecutively (although this could in theory be inferred from some of the other examples).
Version-Release number of selected component (if applicable):
Name : libvirt
Arch : x86_64
Version : 0.9.11.5
Release : 3.fc17
Also from IRC, danpb suggested:
there probably ought to be a way to signify to virsh send-key to use separate commands for a sequence
eg, perhaps we could re-use/abuse --,
virsh send-key -- 37 -- 18 -- 21
(In reply to comment #1)
> Also from IRC, danpb suggested:
> there probably ought to be a way to signify to virsh send-key to use
> separate commands for a sequence
> eg, perhaps we could re-use/abuse --,
> virsh send-key -- 37 -- 18 -- 21
Filed as https://bugzilla.redhat.com/show_bug.cgi?id=868582
Patch sent upstream for the man page issue:
libvirt-0.10.2.1-1.fc18 has been submitted as an update for Fedora 18.
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing libvirt-0.10.2.1-1.fc18'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
libvirt-0.10.2.1-2.fc18 has been submitted as an update for Fedora 18.
libvirt-0.10.2.1-2.fc18 now in stable