Unix‎ > ‎Solaris‎ > ‎Solaris man pages‎ > ‎1m‎ > ‎

captoinfo


NAME
     captoinfo - convert a termcap description  into  a  terminfo
     description

SYNOPSIS
     captoinfo [-1] [-v...] [-V] [-w width] filename...

DESCRIPTION
     captoinfo looks in filename for  termcap  descriptions.  For
     each one found, an equivalent  terminfo description is writ-
     ten to standard output, along with  any  comments  found.  A
     description  which  is  expressed  as  relative  to  another
     description (as specified in the  termcap  tc  =  field)  is
     reduced to the minimum superset before being displayed.

     If no  filename is  given,  then  the  environment  variable
     TERMCAP  is  used for the filename or entry. If TERMCAP is a
     full pathname to a file,  only the terminal  whose  name  is
     specified in the environment variable TERM is extracted from
     that file. If the environment variable TERMCAP is  not  set,
     then the file /usr/share/lib/termcap is read.

OPTIONS
     -1              Display the fields one to a line. Otherwise,
                     the  fields  are  printed several to a line,
                     with a maximum width of 60 characters.



     -v              Display tracing information on the  standard
                     error  as the program runs. Specifying addi-
                     tional -v  options  displays  more  detailed
                     information.



     -V              Display the version of the program in use on
                     the standard error and then exit.



     -w width        Change the output to width characters.



FILES
     /usr/share/lib/terminfo/?/*     compiled  terminal  descrip-
                                     tion database




     /usr/share/lib/termcap


ATTRIBUTES
     See attributes(5) for descriptions of the  following  attri-
     butes:

     ____________________________________________________________
    |       ATTRIBUTE TYPE        |       ATTRIBUTE VALUE       |
    |_____________________________|_____________________________|
    | Availability                | SUNWcsu                     |
    |_____________________________|_____________________________|


SEE ALSO
     infocmp(1M), curses(3CURSES), terminfo(4), attributes(5)

NOTES
     captoinfo should be used to convert termcap entries to  ter-
     minfo  entries  because the termcap database may not be sup-
     plied in future releases.










Man pages from Solaris 10 Update 8. See docs.sun.com and www.oracle.com for further documentation and Solaris information.
Comments