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

  man pages->Tru64 Unix man pages -> tgetflag (3)              
Title
Content
Arch
Section
 

curs_termcap(3)

Contents


NAME    [Toc]    [Back]

       curs_termcap, tgetent, tgetflag, tgetnum, tgetstr, tgoto -
       Curses interfaces that support termcap capabilities

SYNOPSIS    [Toc]    [Back]

       #include <term.h>

       int tgetent(
               char *bp,
               const char *name ); int tgetflag(
               char id[2] ); int tgetnum(
               char id[2] ); char *tgetstr(
               char id[2],
               char **area ); char *tgoto(
               const char *cap,
               int col,
               int row );

LIBRARY    [Toc]    [Back]

       Curses Library (libcurses)

STANDARDS    [Toc]    [Back]

       Interfaces documented on this reference  page  conform  to
       industry standards as follows:

       tgetent, tgetflag, tgetnum, tgetstr, tgoto:  XCURSES4.2

       Refer to the standards(5) reference page for more information
 about industry standards and associated tags.

DESCRIPTION    [Toc]    [Back]

       These routines are obsolete and should not be used in  new
       applications.   The  routines  are  included in the Curses
       library as a conversion aid  for  applications  originally
       designed to use the termcap file. The routines include the
       same parameters as used with the termcap  file  but  their
       operations are emulated by using the terminfo database.

       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.
       Applications  use the tputs routine to output the returned
       string.

       The tgoto routine instantiates  the  parameters  into  the
       given  capability. Applications pass output from this routine
 to the tputs routine.

       The tputs routine is  described  in  the  curs_terminfo(3)
       reference page.







NOTES    [Toc]    [Back]

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

RETURN VALUES    [Toc]    [Back]

       Routines that return an integer return  ERR  upon  failure
       and OK upon successful completion.

       Routines that return pointers return NULL on error.

SEE ALSO    [Toc]    [Back]

      
      
       Functions: curses(3), curs_terminfo(3), putc(3)

       Others: standards(5)



                                                  curs_termcap(3)
[ Back ]
 Similar pages
Name OS Title
curs_termcap IRIX curses interfaces (emulated) to the termcap library
auth_checknologin FreeBSD authentication style support library for login class capabilities database
auth_cat FreeBSD authentication style support library for login class capabilities database
login_auth FreeBSD authentication style support library for login class capabilities database
cdk_display NetBSD Curses Development Kit Display Capabilities.
cdk_binding NetBSD Curses Development Kit Character Binding Capabilities.
open64 HP-UX non-POSIX standard API interfaces to support large files
prealloc64 HP-UX non-POSIX standard API interfaces to support large files
pwrite64 HP-UX non-POSIX standard API interfaces to support large files
setrlimit64 HP-UX non-POSIX standard API interfaces to support large files
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service