1 2 3 4 5 6 7 8 9 10 11
#include <term.h> #define key_f1 tigetstr("kf1") /** f1 key **/ /* TERMINFO_NAME(kf1) TERMCAP_NAME(k1) XOPEN(400) */