Exploring terminfo

Greg Ewing greg.ewing at canterbury.ac.nz
Sun Jan 17 19:23:53 EST 2021


On 18/01/21 3:34 am, Alan Gauld wrote:
> The problem is terminfo is not really part of curses.
> Curses is built on top of terminfo.

As far as I can tell from the man pages, terminfo itself
is just a file format. The only programmatic interfaces I
can find for it *are* part of curses:

del_curterm(3x), mvcur(3x), putp(3x), restartterm(3x), set_curterm(3x), 
setterm(3x), setupterm(3x), tigetflag(3x), tigetnum(3x), tigetstr(3x), 
tparm(3x), tputs(3x), vid_attr(3x), vid_puts(3x), vidattr(3x), 
vidputs(3x) - curses interfaces to terminfo database

tgetent(3x), tgetflag(3x), tgetnum(3x), tgetstr(3x), tgoto(3x), 
tputs(3x) - direct curses interface to the terminfo capability database

-- 
Greg



More information about the Python-list mailing list