All of lore.kernel.org
 help / color / mirror / Atom feed
* Please help me with with one information
@ 2023-04-06  5:38 Antonio Apostoliu
  2023-04-06  8:07 ` Markus Armbruster
  0 siblings, 1 reply; 2+ messages in thread
From: Antonio Apostoliu @ 2023-04-06  5:38 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 503 bytes --]

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"}]}}

{"execute":"send-key","arguments":{"keys":[{"type":"qcode","data":"shift","d
ata":"semicolon"}]}}

 

Both don't sent the character in my case

All others character worked

 

Best regards

 

 



-- 
This email has been checked for viruses by Avast antivirus software.
www.avast.com

[-- Attachment #2: Type: text/html, Size: 4045 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Please help me with with one information
  2023-04-06  5:38 Please help me with with one information Antonio Apostoliu
@ 2023-04-06  8:07 ` Markus Armbruster
  0 siblings, 0 replies; 2+ messages in thread
From: Markus Armbruster @ 2023-04-06  8:07 UTC (permalink / raw)
  To: Antonio Apostoliu; +Cc: qemu-devel

"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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-04-06  8:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-06  5:38 Please help me with with one information Antonio Apostoliu
2023-04-06  8:07 ` Markus Armbruster

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.