infotocap

NAME

infotocap - convert a terminfo description into a termcap description

SYNOPSIS

infotocap [-hc] [-v[n]] [-e names] [-CILNRTrsw1] source-file

DESCRIPTION

The infotocap(1) utility looks in file for terminfo(5) descriptions. For each one found, an equivalent termcap(5) description is written to standard output. The terminfo(5) use capabilities are translated directly to termcap(5) tc capabilities.

-1
Format translation output one capability per line
-C
Translate entries to termcap source form
-I
Translate entries to terminfo source form
-L
Translate entries to full terminfo source form
-N
Disable smart defaults for source translation
-R
Restrict translation to given terminfo/termcap version
-T
Remove size restrictions on compiled description
-c
Check only; validate input without compiling or translating
-e names
Translate/compile only entries named by comma-separated list
-o dir
Set output directory for compiled entry writes
-r
Force resolution of all use entries in source translation
-s
Print summary statistics
-v[n]
Set verbosity level
-w[n]
Set format width for translation output
source-file
File to translate or compile

FILES

/usr/share/terminfo
Compiled terminal description database.

NOTES

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

SEE ALSO

curses(3)

tic(1)

infocmp(1)

terminfo(5)