Next: , Previous: , Up: Key Binding   [Contents][Index]


14.5 Bindkey

Command: bindkey [opts] [string [cmd args]]

(none)
This command manages screen’s input translation tables. Every entry in one of the tables tells screen how to react if a certain sequence of characters is encountered. There are three tables: one that should contain actions programmed by the user, one for the default actions used for terminal emulation and one for screen’s copy mode to do cursor movement. See Input Translation for a list of default key bindings.

If the ‘-d’ option is given, bindkey modifies the default table, ‘-m’ changes the copy mode table and with neither option the user table is selected. The argument ‘string’ is the sequence of characters to which an action is bound. This can either be a fixed string or a termcap keyboard capability name (selectable with the ‘-k’ option).

Some keys on a VT100 terminal can send a different string if application mode is turned on (e.g. the cursor keys). Such keys have two entries in the translation table. You can select the application mode entry by specifying the ‘-a’ option.

The ‘-t’ option tells screen not to do inter-character timing. One cannot turn off the timing if a termcap capability is used.

cmd’ can be any of screen’s commands with an arbitrary number of ‘args’. If ‘cmd’ is omitted the key-binding is removed from the table.