Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ captoinfo(1m) — Atari System V 1.1-06

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

curses(3X)

infocmp(1M)

terminfo(4)





   captoinfo(1M)                                                 captoinfo(1M)


   NAME
         captoinfo - convert a termcap description into a terminfo description

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

   DESCRIPTION
         captoinfo looks in file for termcap descriptions.  For each one
         found, an equivalent terminfo description is written 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) will be reduced to the minimum superset before
         being output.

         If no file 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.

         -v    print out tracing information on standard error as the program
               runs.  Specifying additional -v options will cause more
               detailed information to be printed.

         -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/share/lib/terminfo/?/*    Compiled terminal description
         database.

   NOTES
         captoinfo should be used to convert termcap entries to terminfo
         entries because the termcap database (from earlier versions of UNIX
         System V) may not be supplied in future releases.

   SEE ALSO
         curses(3X), infocmp(1M), terminfo(4).









   8/91                                                                 Page 1





Typewritten Software • bear@typewritten.org • Edmonds, WA 98026