Re: Remap a key

2020-10-08 Thread Will Senn

On 10/8/20 3:19 AM, Ottavio Caruso via wrote:

On 08/10/2020 00:24, Will Senn wrote:

Hi Jakob,

I get:
sendkey ctrl-break
invalid parameter: break

Is there a list of valid parameters?




It's not in the official documentation but, to get a list of keys, 
type sendkey [tab].


Awesome, thanks. Maybe ctrl-pause...

Will



Re: Remap a key

2020-10-08 Thread Ottavio Caruso via

On 08/10/2020 00:24, Will Senn wrote:

Hi Jakob,

I get:
sendkey ctrl-break
invalid parameter: break

Is there a list of valid parameters?




It's not in the official documentation but, to get a list of keys, type 
sendkey [tab].


In my qemu monitor:

QEMU 5.0.0 monitor - type 'help' for more information
(qemu) sendkey
0 1 2 3
4 5 6 7
8 9 a ac_back
ac_bookmarks  ac_forwardac_home   ac_refresh
again alt   alt_r apostrophe
asterisk  audiomute audionext audioplay
audioprev audiostop b backslash
backspace bracket_left  bracket_right c
calculatorcaps_lock comma compose
computer  copy  ctrl  ctrl_r
cut   d deletedot
down  e end   equal
esc   f f1f10
f11   f12   f2f3
f4f5f6f7
f8f9find  front
g grave_accent  h help
henkanhiragana  home  i
insertj k katakanahiragana
kp_0  kp_1  kp_2  kp_3
kp_4  kp_5  kp_6  kp_7
kp_8  kp_9  kp_addkp_comma
kp_decimalkp_divide kp_enter  kp_equals
kp_multiply   kp_subtract   l left
less  lfm mail
mediaselect   menu  meta_lmeta_r
minus muhenkan  n num_lock
o open  p paste
pause pgdn  pgup  power
print props q r
ret   right ros
scroll_lock   semicolon shift shift_r
slash sleep spc   stop
sysrq t tab   u
undo  unmapped  upv
volumedownvolumeup  w wake
x y yen   z



--
Ottavio Caruso

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?




Re: Remap a key

2020-10-07 Thread Will Senn

Hi Jakob,

I get:
sendkey ctrl-break
invalid parameter: break

Is there a list of valid parameters?

Will

On 10/7/20 3:16 PM, Jakob Bohm wrote:

(Resend from my subscribed e-mail address)

Correction, I meant "ctrl-break", earlier someone asked about ctrl-alt-del

On 2020-10-07 21:12, Jakob Bohm wrote:
There is no such mechanism in the qemu documentation, but there is 
this way:


1. Use the appropriate hot-key to switch to the qemu monitor screen
2. Type this command at the "(qemu)" prompt
(qemu) sendkey ctrl-alt-delete

This can of cause be automated by having software on the guest 
connect to the

qemu monitor and send the command when you press your magic key.

Another available method is to use the VNC console and a VNC client 
with a

ctrl-alt-del function.

On 2020-10-07 12:58, Will Senn wrote:
I've been digging into the lack of a proper break key on laptops (my 
MacBook for example) and I was wondering if it would be possible to 
remap one of the existing keys on the laptop to the CTRL-BREAK key, 
which sends the scancode E0 46? I'd be fine with having CTRL-ALT-] 
map to it or pretty much anything not typically typed in DOS. But 
doing assembly programming in DOS without a break key is frustrating 
to no end. Pointers to qemu keymapping documentation would be 
helpful or any sort of 'here's a keymapping example' tip.


Thanks,

Will
--
GPG Fingerprint: 68F4 B3BD 1730 555A 4462  7D45 3EAA 5B6D A982 BAAF



--
Jakob Bohm, CIO, partner, WiseMo A/S. https://www.wisemo.com 

Transformervej 29, 2860 Soborg, Denmark. direct: +45 31 13 16 10 


This message is only for its intended recipient, delete if misaddressed.
WiseMo - Remote Service Management for PCs, Phones and Embedded




Enjoy

Jakob
--
Jakob Bohm, CIO, Partner, WiseMo A/S.https://www.wisemo.com
Transformervej 29, 2860 Søborg, Denmark.  Direct +45 31 13 16 10
This public discussion message is non-binding and may contain errors.
WiseMo - Remote Service Management for PCs, Phones and Embedded



--
GPG Fingerprint: 68F4 B3BD 1730 555A 4462  7D45 3EAA 5B6D A982 BAAF



Re: Remap a key

2020-10-07 Thread Jakob Bohm

(Resend from my subscribed e-mail address)

Correction, I meant "ctrl-break", earlier someone asked about ctrl-alt-del

On 2020-10-07 21:12, Jakob Bohm wrote:
There is no such mechanism in the qemu documentation, but there is 
this way:


1. Use the appropriate hot-key to switch to the qemu monitor screen
2. Type this command at the "(qemu)" prompt
(qemu) sendkey ctrl-alt-delete

This can of cause be automated by having software on the guest connect 
to the

qemu monitor and send the command when you press your magic key.

Another available method is to use the VNC console and a VNC client 
with a

ctrl-alt-del function.

On 2020-10-07 12:58, Will Senn wrote:
I've been digging into the lack of a proper break key on laptops (my 
MacBook for example) and I was wondering if it would be possible to 
remap one of the existing keys on the laptop to the CTRL-BREAK key, 
which sends the scancode E0 46? I'd be fine with having CTRL-ALT-] 
map to it or pretty much anything not typically typed in DOS. But 
doing assembly programming in DOS without a break key is frustrating 
to no end. Pointers to qemu keymapping documentation would be helpful 
or any sort of 'here's a keymapping example' tip.


Thanks,

Will
--
GPG Fingerprint: 68F4 B3BD 1730 555A 4462  7D45 3EAA 5B6D A982 BAAF



--
Jakob Bohm, CIO, partner, WiseMo A/S. https://www.wisemo.com
Transformervej 29, 2860 Soborg, Denmark. direct: +45 31 13 16 10 


This message is only for its intended recipient, delete if misaddressed.
WiseMo - Remote Service Management for PCs, Phones and Embedded




Enjoy

Jakob
--
Jakob Bohm, CIO, Partner, WiseMo A/S.  https://www.wisemo.com
Transformervej 29, 2860 Søborg, Denmark.  Direct +45 31 13 16 10
This public discussion message is non-binding and may contain errors.
WiseMo - Remote Service Management for PCs, Phones and Embedded



Re: Remap a key

2020-10-07 Thread Jakob Bohm

Correction, I meant "ctrl-break", earlier someone asked about ctrl-alt-del

On 2020-10-07 21:12, Jakob Bohm wrote:
There is no such mechanism in the qemu documentation, but there is 
this way:


1. Use the appropriate hot-key to switch to the qemu monitor screen
2. Type this command at the "(qemu)" prompt
(qemu) sendkey ctrl-alt-delete

This can of cause be automated by having software on the guest connect 
to the

qemu monitor and send the command when you press your magic key.

Another available method is to use the VNC console and a VNC client 
with a

ctrl-alt-del function.

On 2020-10-07 12:58, Will Senn wrote:
I've been digging into the lack of a proper break key on laptops (my 
MacBook for example) and I was wondering if it would be possible to 
remap one of the existing keys on the laptop to the CTRL-BREAK key, 
which sends the scancode E0 46? I'd be fine with having CTRL-ALT-] 
map to it or pretty much anything not typically typed in DOS. But 
doing assembly programming in DOS without a break key is frustrating 
to no end. Pointers to qemu keymapping documentation would be helpful 
or any sort of 'here's a keymapping example' tip.


Thanks,

Will
--
GPG Fingerprint: 68F4 B3BD 1730 555A 4462  7D45 3EAA 5B6D A982 BAAF



--
Jakob Bohm, CIO, partner, WiseMo A/S. https://www.wisemo.com
Transformervej 29, 2860 Soborg, Denmark. direct: +45 31 13 16 10 


This message is only for its intended recipient, delete if misaddressed.
WiseMo - Remote Service Management for PCs, Phones and Embedded



--
Jakob Bohm, CIO, partner, WiseMo A/S. https://www.wisemo.com
Transformervej 29, 2860 Soborg, Denmark. direct: +45 31 13 16 10 


This message is only for its intended recipient, delete if misaddressed.
WiseMo - Remote Service Management for PCs, Phones and Embedded


Re: Remap a key

2020-10-07 Thread Jakob Bohm

There is no such mechanism in the qemu documentation, but there is this way:

1. Use the appropriate hot-key to switch to the qemu monitor screen
2. Type this command at the "(qemu)" prompt
(qemu) sendkey ctrl-alt-delete

This can of cause be automated by having software on the guest connect 
to the

qemu monitor and send the command when you press your magic key.

Another available method is to use the VNC console and a VNC client with a
ctrl-alt-del function.

On 2020-10-07 12:58, Will Senn wrote:
I've been digging into the lack of a proper break key on laptops (my 
MacBook for example) and I was wondering if it would be possible to 
remap one of the existing keys on the laptop to the CTRL-BREAK key, 
which sends the scancode E0 46? I'd be fine with having CTRL-ALT-] map 
to it or pretty much anything not typically typed in DOS. But doing 
assembly programming in DOS without a break key is frustrating to no 
end. Pointers to qemu keymapping documentation would be helpful or any 
sort of 'here's a keymapping example' tip.


Thanks,

Will
--
GPG Fingerprint: 68F4 B3BD 1730 555A 4462  7D45 3EAA 5B6D A982 BAAF



--
Jakob Bohm, CIO, partner, WiseMo A/S. https://www.wisemo.com
Transformervej 29, 2860 Soborg, Denmark. direct: +45 31 13 16 10 


This message is only for its intended recipient, delete if misaddressed.
WiseMo - Remote Service Management for PCs, Phones and Embedded