Tgetstr
s = Tgetstr("pc"); /* get pad character */
BC = Tgetstr("bc"); /* find out what is */
BC = Tgetstr("le");
UP = Tgetstr("up"); /* move up a line */
ND = Tgetstr("nd"); /* non-destructive move cursor right */
DO = Tgetstr("do"); /* move cursor down */
DO = Tgetstr("nl");
CL = Tgetstr("cl"); /* get clear string */
CE = Tgetstr("ce"); /* clear to end of line string */
CM = Tgetstr("cm"); /* cursor motion - PWP */
HO = Tgetstr("ho"); /* home cursor if no CM - PWP */
CD = Tgetstr("cd"); /* clear to end of display - PWP */
SO = Tgetstr("so"); /* begin standout */
SE = Tgetstr("se"); /* end standout */
US = Tgetstr("us"); /* start underline */
UE = Tgetstr("ue"); /* end underline */
UC = Tgetstr("uc"); /* underline a character */
VB = Tgetstr("vb");
CR = Tgetstr("cr");