summary refs log tree commit diff stats
path: root/results/classifier/zero-shot-user-mode/output/instruction/1228
blob: c105dd0acb2e13680186780bb5f1a5963a6e2ab1 (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
instruction: 0.523
syscall: 0.244
runtime: 0.233



-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.