fish_key_reader1
Explore what characters keyboard keys send
Usage
fish_key_reader [OPTIONS]
Overview
fish_key_reader is used to explain how you would bind a certain key sequence. By default, it prints the bind <> command for one key sequence read interactively over standard input.
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.
-
-h or --help -
Displays help about using this command.
-
-V or --verbose -
Explain what sequence was received in addition to the decoded key.
-
-v or --version -
Displays the current
fishversion and then exits.
Usage notes
fish_key_reader intentionally disables handling of many signals. To terminate fish_key_reader in --continuous mode do:
•
|
press |
|---|---|
•
|
press |
•
|
type |
•
|
type |
Examples
> fish_key_reader Press a key: # press up-arrow bind up 'do something'
Releases
6 releases since Debian 9 (Stretch); the text changed 5 times.
--continuous since Debian 12 (Bookworm);
--help since Debian 12 (Bookworm);
--verbose since Debian 12 (Bookworm);
--version since Debian 12 (Bookworm);
-V since Debian 12 (Bookworm);
-c since Debian 12 (Bookworm);
-h since Debian 12 (Bookworm);
-v since Debian 12 (Bookworm).