1 2 3 4 5 6 7 8 9 10 11
#include <term.h> #define key_f42 tigetstr("kf42") /** f42 key **/ /* TERMINFO_NAME(kf42) TERMCAP_NAME(F6) XOPEN(400) */