The following table shows how the names of terminfo capabilities are mapped to HCON key names.
HCON and terminfo Key Names | |||
HCON Key Name | terminfo Name | HCON Key Name | terminfo Name |
key_tab | ktab | key_pf6 | kf6 |
key_btab | kbtab | key_pf7 | kf7 |
key_enter | kcmd | key_pf8 | kf8 |
key_sysreq | khlp | key_pf9 | kf9 |
key_clear | kclr | key_pf10 | kf10 |
key_backspace | kbs | key_pf11 | kf11 |
key_chgdis | ksel | key_pf12 | kf12 |
key_insert | kich1 | key_pf13 | kf13 |
key_delete | kdch1 | key_pf14 | kf14 |
key_home | khome | key_pf15 | kf15 |
key_pa1 | kpp | key_pf16 | kf16 |
key_pa2 | knp | key_pf17 | kf17 |
key_pa3 | kll | key_pf18 | kf18 |
key_spaceof | kend | key_pf19 | kf19 |
key_down | kcud1 | key_pf20 | kf20 |
key_ddown | kc3 | key_pf21 | kf21 |
key_right | kcuf1 | key_pf22 | kf22 |
key_rright | ka3 | key_pf23 | kf23 |
key_left | kcub1 | key_pf24 | kf24 |
key_lleft | kcl | key_print | kf0 |
key_up | kcuu1 | key_saves | kil1 |
key_uup | ka1 | key_repls | kdl1 |
key_pf1 | kf1 | yen_sign | kind |
key_pf2 | kf2 | overbar | kel |
key_pf3 | kf3 | english_pound | kri |
key_pf4 | kf4 | cent_sign | ked |
key_pf5 | kf5 | key_attn | kquit |
key_pf25 | kf25 | key_pf27 | kf27 |
| (vertical bar) | ktbc | c_cedilla | kd0 |
florin_sign | kri | key_cursel | knpn |
key_newline | knl |