1 2 3 4 5 6 7 8 9 10 11
#include <term.h> #define key_f20 tigetstr("kf20") /** f20 key **/ /* TERMINFO_NAME(kf20) TERMCAP_NAME(kk) XOPEN(400) */