blob: 5751c47842c296f5462c07933093be4bfd55254d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
device: 0.704
graphic: 0.691
performance: 0.654
PID: 0.611
semantic: 0.545
permissions: 0.545
vnc: 0.525
user-level: 0.510
architecture: 0.508
VMM: 0.506
i386: 0.467
boot: 0.456
mistranslation: 0.453
ppc: 0.451
network: 0.450
risc-v: 0.435
files: 0.428
arm: 0.395
socket: 0.395
debug: 0.386
peripherals: 0.376
TCG: 0.368
kernel: 0.360
hypervisor: 0.340
register: 0.320
KVM: 0.313
virtual: 0.299
x86: 0.213
assembly: 0.152
-display curses only recognizes escape characters if pressed very quickly
Description of problem:
The system start and runs perfectly fine, but when I try to exit the escape commands does not seem to work.
I have tried all the ones from here:
https://www.qemu.org/docs/master/system/keys.html
https://www.qemu.org/docs/master/system/mux-chardev.html
When using the graphical display, the escape characters works as expected but when using -display curses, they do not.
Steps to reproduce:
1. Start qemu with the command provided
2. Try to exit using ctrl + x a - Not working
3. Try to exit using alt + 2 - Not working
The same issues occurs when running qemu on a Linux machine (Ubunt) via Visual Studio Code / ssh.
I'm guessing this is a macOS specific issue or maybe something to do with my Locale (sv-SE).
Additional information:
Linux 0.01 build:
https://github.com/mariuz/linux-0.01
**Tests using showkey**
Alt + 2 from mobile ssh client (Terminus) -> Ubuntu machine
```
^[2 27 0033 0x1b
50 0062 0x32
```
Option + 2 from macOS Terminal + ssh -> Ubuntu machine
```
@ 64 0100 0x40
```
Esc + 2 from macOS Terminal + ssh -> Ubuntu machine
```
^[ 27 0033 0x1b
2 50 0062 0x32
```
**Update**
It seems to work if I press ESC + 2 at exactly the same time.
|