MED_KEYCAP(5) MED_KEYCAP(5) NNAAMMEE med_keycap - keyboard capability data base SSYYNNOOPPSSIISS /usr/lib/med/keycap DDEESSCCRRIIPPTTIIOONN _m_e_d___K_e_y_c_a_p parametrizes keyboard input from different ter- minals, much as _t_e_r_m_i_n_f_o parametrizes output. For exam- ple, the following lines in _m_e_d___k_e_y_c_a_p vt52|VT52 terminal: . . :\ED=#01#8c: /left . . ____ d_e_s_c_ribe the |_<_-_|_ key on a VT100 (VT52 mode). Pressing |_<_-_|_ on the keyboard sends two characters (i.e. D) which are translated to the value 0x018c for MED internal purposes. A header line specifies for which terminals the following translations apply. Several terminal names separated by a | may be given. The character // starts a comment. Lines starting and end- ing with :: are translation rules. The source byte- sequence and the target are separated by an equal sign =. The following characters must be escaped by a backslash \: =:^\# The usual C-string convention applies to octal constants and the following sequences: \b \f \n \r \t Hexadecimal constants start with the character #. A control character is started by a ^ (i.e. ^A means = \001). Backslash followed by an uppercase E means (i.e. \033). FFIILLEESS /usr/lib/med/keycap file containing keyboard descrip- tions 1