1 2 3 4 5 6 7 8 9 10 11
#include <term.h> #define set_attributes tigetstr("sgr") /** define first set of video attributes #1-#9 **/ /* TERMINFO_NAME(sgr) TERMCAP_NAME(sa) XOPEN(400) */