"Fossies" - the Fresh Open Source Software Archive

Member "fish-3.0.2/share/man/man1/fish_key_reader.1" (19 Feb 2019, 2347 Bytes) of package /linux/misc/fish-3.0.2.tar.gz:


Caution: As a special service "Fossies" has tried to format the requested manual source page into HTML format but links to other man pages may be missing or even errorneous. Alternatively you can here view or download the uninterpreted manual source code. A member file download can also be achieved by clicking within a package contents listing on the according byte size field. See also the latest Fossies "Diffs" side-by-side code changes report for "fish_key_reader.1": 3.0.1_vs_3.0.2.

fish_key_reader

NAME

NAME

fish_key_reader - explore what characters keyboard keys send

Synopsis
fish_key_reader
[OPTIONS]

Description
fish_key_reader
is used to study input received from the terminal and can help with key binds. The program is interactive and works on standard input. Individual characters themselves and their hexadecimal values are displayed.

The tool will write an example bind command matching the character sequence captured to stdout. If the character sequence matches a special key name (see bind --key-names), both bind CHARS ... and bind -k KEYNAME ... usage will be shown. Additional details about the characters received, such as the delay between chars, are written to stderr.

The following options are available:

-c or --continuous begins a session where multiple key sequences can be inspected. By default the program exits after capturing a single key sequence.

-d or --debug-level=DEBUG_LEVEL enables debug output and specifies a verbosity level (like fish -d). Defaults to 0.

-D or --debug-stack-frames=DEBUG_LEVEL specify how many stack frames to display when debug messages are written. The default is zero. A value of 3 or 4 is usually sufficient to gain insight into how a given debug call was reached but you can specify a value up to 128.

-h or --help prints usage information.

-v or --version prints fish_key_reader’s version and exits.

Usage Notes
The delay in milliseconds since the previous character was received is included in the diagnostic information written to stderr. This information may be useful to determine the optimal fish_escape_delay_ms setting or learn the amount of lag introduced by tools like ssh, mosh or tmux.

fish_key_reader intentionally disables handling of many signals. To terminate fish_key_reader in --continuous mode do:

press Ctrl-C twice, or

press Ctrl-D twice, or

type exit, or

type quit