*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> curs_termcap (3x)              
Title
Content
Arch
Section
 

Contents


curs_termcap(3X)					      curs_termcap(3X)


NAME    [Toc]    [Back]

     curs_termcap:  tgetent, tgetflag, tgetnum,	tgetstr, tgoto,	tputs -	curses
     interfaces	(emulated) to the termcap library

SYNOPSIS    [Toc]    [Back]

     #include <curses.h>
     #include <term.h>

     int tgetent(char *bp, char	*name);
     int tgetflag(char id[2]);
     int tgetnum(char id[2]);
     char *tgetstr(char	id[2], char **area);
     char *tgoto(char *cap, int	col, int row);
     int tputs(char *str, int affcnt, int (*putc)(void));

DESCRIPTION    [Toc]    [Back]

     These routines are	included as a conversion aid for programs that use the
     termcap library.  Their parameters	are the	same and the routines are
     emulated using the	terminfo database.  These routines are supported at
     Level 2 and should	not be used in new applications.

     The tgetent routine looks up the termcap entry for	name.  The emulation
     ignores the buffer	pointer	bp.

     The tgetflag routine gets the boolean entry for id.

     The tgetnum routine gets the numeric entry	for id.

     The tgetstr routine returns the string entry for id.  Use tputs to	output
     the returned string.

     The tgoto routine instantiates the	parameters into	the given capability.
     The output	from this routine is to	be passed to tputs.

     The tputs routine is described on the curs_terminfo(4) manual page.

RETURN VALUE    [Toc]    [Back]

     Routines that return an integer return ERR	upon failure and an integer
     value other than ERR upon successful completion.

     Routines that return pointers return NULL on error.

NOTES    [Toc]    [Back]

     The header	file <curses.h>	automatically includes the header files
     <stdio.h> and <unctrl.h>.

SEE ALSO    [Toc]    [Back]

      
      
     curses(3X), curs_terminfo(4), putc(3S).


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
tgetstr Tru64 Curses interfaces that support termcap capabilities
tgetent Tru64 Curses interfaces that support termcap capabilities
tgetflag Tru64 Curses interfaces that support termcap capabilities
tgetnum Tru64 Curses interfaces that support termcap capabilities
curs_termcap Tru64 Curses interfaces that support termcap capabilities
tgoto Tru64 Curses interfaces that support termcap capabilities
ckpt_create IRIX checkpoint and restart (CPR) library interfaces
altq OpenBSD kernel interfaces for manipulating output queues on network interfaces
altq NetBSD kernel interfaces for manipulating output queues on network interfaces
ifnet FreeBSD kernel interfaces for manipulating network interfaces
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service