Sortix nightly manual
This manual documents Sortix nightly, a development build that has not been officially released. You can instead view this document in the latest official manual.
NAME
setupterm, set_curterm, del_curterm, termname, longname, tigetflag, tigetnum, tigetstr, tparm, tputs, putp, ti_setupterm, ti_getflag, ti_getnum, ti_getstr, tiparm, ti_tiparm, ti_puts, ti_putp — terminal independent operation routinesLIBRARY
Terminal Information Library (libterminfo, -lterminfo)SYNOPSIS
#include <term.h>short ospeed;
TERMINAL *cur_term;
setupterm(const char *name, int fildes, int *errret);
set_curterm(TERMINAL *nterm);
del_curterm(TERMINAL *oterm);
termname(void);
longname(void);
tigetnum(const char *id);
tigetflag(const char *id);
tigetstr(const char *id);
tparm(const char *cm, long p1, long p2, long p3, long p4, long p5, long p6, long p7, long p8, long p9);
tputs(const char *cp, int affcnt, int (*outc)(int));
putp(const char *cp);
ti_setupterm(TERMINAL **, const char *name, int fildes, int *error);
ti_getflag(const TERMINAL *, const char *id);
ti_getnum(const TERMINAL *, const char *id);
ti_getstr(const TERMINAL *, const char *id);
tiparm(const char *cm, ...);
ti_tiparm(TERMINAL *, const char *cm, ...);
ti_puts(const TERMINAL *term, const char *str, int affcnt, int (*outc)(int ch, void *arg), void *arg);
ti_putp(const TERMINAL *term, const char *str);