Go to main content

man pages section 8: System Administration Commands

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

infotocap (8)

Name

infotocap - convert a terminfo description into a termcap description

Synopsis

infotocap [-vn width]  [-V] [-1] [-w width] file ...

Description

infotocap(8)                System Manager's Manual               infotocap(8)



NAME
       infotocap - convert a terminfo description into a termcap description

SYNOPSIS
       infotocap [-vn width]  [-V] [-1] [-w width] file ...

DESCRIPTION
       infotocap looks in each given text file for terminfo descriptions.  For
       each terminfo description found, an equivalent termcap  description  is
       written  to  standard output.  Terminfo use capabilities are translated
       directly to termcap tc capabilities.

       -v   print out tracing information on standard  error  as  the  program
            runs.

       -V   print  out the version of the program in use on standard error and
            exit.

       -1   cause the fields to print out  one  to  a  line.   Otherwise,  the
            fields  will be printed several to a line to a maximum width of 60
            characters.

       -w   change the output to width characters.

FILES
       /usr/gnu/share/terminfo
                           Compiled terminal description database.


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+------------------+
       |ATTRIBUTE TYPE | ATTRIBUTE VALUE  |
       +---------------+------------------+
       |Availability   | library/ncurses  |
       +---------------+------------------+
       |Stability      | Uncommitted      |
       +---------------+------------------+

NOTES
       This utility is actually a link to tic, running in -C  mode.   You  can
       use other tic options such as -f and  -x.

       Source  code  for open source software components in Oracle Solaris can
       be found at https://www.oracle.com/downloads/opensource/solaris-source-
       code-downloads.html.

       This     software     was    built    from    source    available    at
       https://github.com/oracle/solaris-userland.   The  original   community
       source    was    downloaded    from    https://invisible-mirror.net/ar-
       chives/ncurses/ncurses-6.3.tar.gz.

       Further information about this software can be found on the open source
       community website at https://invisible-island.net/ncurses/.

PORTABILITY
       None  of  X/Open  Curses,  Issue 7 (2009), SVr4 or NetBSD document this
       application.

SEE ALSO
       infocmp(8), tic(8), curses(3X), terminfo(5)

       This describes ncurses version 6.3 (patch 20211021).

AUTHOR
       Eric S. Raymond <esr@snark.thyrsus.com> and
       Thomas E. Dickey <dickey@invisible-island.net>




                                                                  infotocap(8)