1 2 3 4 5 6 7 8 9 10 11
#include <term.h> #define key_f45 tigetstr("kf45") /** f45 key **/ /* TERMINFO_NAME(kf45) TERMCAP_NAME(F9) XOPEN(400) */