From: Markus Armbruster <armbru@redhat.com>
To: "Antonio Apostoliu" <antonio.apostoliu@cestrin.ro>
Cc: <qemu-devel@nongnu.org>
Subject: Re: Please help me with with one information
Date: Thu, 06 Apr 2023 10:07:42 +0200 [thread overview]
Message-ID: <87ile9ph69.fsf@pond.sub.org> (raw)
In-Reply-To: <000001d96849$fb7d3b50$f277b1f0$@cestrin.ro> (Antonio Apostoliu's message of "Thu, 6 Apr 2023 08:38:14 +0300")
"Antonio Apostoliu" <antonio.apostoliu@cestrin.ro> writes:
> Hello
>
>
>
> You are so kind to tell me how can I use qmp to send colon character . I
> speak about this character :
>
>
>
> I tried:
>
> {"execute":"send-key","arguments":{"keys":[{"type":"qcode","data":"shift-sem
> icolon"}]}}
Reply:
{"error": {"class": "GenericError", "desc": "Parameter 'data' does not accept value 'shift-semicolon'"}}
There is no key code "shift-semicolon".
The "QEMU QMP Reference Manual" lists the key codes:
https://qemu.readthedocs.io/en/latest/interop/qemu-qmp-ref.html#qapidoc-1729
> {"execute":"send-key","arguments":{"keys":[{"type":"qcode","data":"shift","d
> ata":"semicolon"}]}}
Reply:
{"error": {"class": "GenericError", "desc": "JSON parse error, duplicate key"}}
Repeated keys don't make lists, lists do:
{"execute": "send-key",
"arguments": {"keys": [
{"type": "qcode","data": "shift"},
{"type": "qcode","data": "semicolon"}]}}
> Both don't sent the character in my case
Next time, include the replies you observe in your question.
> All others character worked
>
>
>
> Best regards
prev parent reply other threads:[~2023-04-06 8:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-06 5:38 Please help me with with one information Antonio Apostoliu
2023-04-06 8:07 ` Markus Armbruster [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ile9ph69.fsf@pond.sub.org \
--to=armbru@redhat.com \
--cc=antonio.apostoliu@cestrin.ro \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.