summaryrefslogtreecommitdiff
path: root/doc/usage/conitrace.rst
blob: d9916c865ee55c073fcaa26e21eef859cc7e4f19 (plain)
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
conitrace command
=================

Synopsis
--------

::

    conitrace

Description
-----------

The conitrace command is used to test the correct function of the console input
driver. It is especially valuable for checking the support for special keys like
<F1> or <POS1>.

To display escape sequences on a single line the output only advances to the
next line after detecting a pause of a few milliseconds.

The output is hexadecimal.

Examples
--------

Entering keys <B><SHIFT-B><CTRL-B><X>

::

    => conitrace
    Waiting for your input
    To terminate type 'x'
    62
    42
    02
    =>

Entering keys <F1><POS1><DEL><BACKSPACE><X>

::

    => conitrace
    Waiting for your input
    To terminate type 'x'
    1b 4f 50
    1b 5b 48
    1b 5b 33 7e
    7f
    =>

Configuration
-------------

The conitrace command is only available if CONFIG_CMD_CONITRACE=y.