This file is indexed.

/usr/share/hatari/hconsole/example-commands is in hatari 1.8.0+dfsg-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 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
# This is an example hconsole input file
#
# You can try it with something like this:
#   hconsole.py example-commands --exit -- --tos etos512k.img
#
# I.e. specify EmuTOS image for Hatari and exit after the the input file.
#
# For more fun, use also Hatari's "--conout 2". :-)

# without this EmuTOS boot takes 10s more
setopt --fastfdc on --fast-forward on

# wait for EmuTOS to boot
sleep 3

# boot done, back to normal
setopt --fastfdc off --fast-forward off

# Note: keypress/down/up commands take either one character or
# a multidigit key scancode.  Scancodes need to be used for keys
# that produce non-alphanumeric characters (white space would
# even get stripped by command processing).
#
# Scancodes for special keys:
# - Tab: 15
# - Return: 28
# - Enter: 114
# - Space: 57
# - Delete: 83
# - Backspace: 14
# - Escape: 0x1
# - Control: 29
# - Alternate: 56
# - Left Shift: 42
# - Right Shift: 54
# - Caps Lock: 53
# - Insert: 82
# - Home: 71
# - Help: 98
# - Undo: 97
# - Cursor Up: 72
# - Cursor Down: 80
# - Cursor Left: 75
# - Cursor Right: 77

# Invoke EmuCON with ^Z: Control down, press Z, Control up
keydown 29
keypress Z
keyup 29

# press Return
keypress 28
# and output some text to EmuTOS console
text Welcome to 'hconsole' example...