captoinfo [–1vV] [–w width] [file …]
captoinfo prints all of the terminal entries in the terminfo database to standard output (stdout) in terminfo format. You can either look at the output or send it to a file that can be processed by tic.
The Curses application uses the terminfo database, which contains a list of terminal descriptions. This enables you to manipulate a terminal's display regardless of the terminal type. To create the terminfo database, use tic. See the section on customizing the terminfo database in z/OS UNIX System Services Planning for information about defining the terminfo database.
For more information about curses, see z/OS C Curses.
captoinfo /etc/termcap.src
You
get the following display: captoinfo: obsolete 2 character name 'dv' removed.
synonyms are: 'vt52|dec vt52'
#
vt52|dec vt52,
xon,
cols#80, lines#24,
bel=‸¬, clear=-E-310-E-321, cub1=‸½, cud1=‸-,
cuf1=-E-303,
cup=-E-350%-227-361%'-s'%+%-203%-227-362%'-s'%+%-203,
cuu1=-E-301, ed=-E-321, el=-E-322, ind=‸-,
kbs=‸½, kcub1=-E-304, kcud1=-E-302, kcuf1=-E-303,
kcuu1=-E-301, ri=-E-311,
# END OF TERMCAP
# ------------------------
captoinfo –1 /etc/termcap.src
You
get the following display: captoinfo: obsolete 2 character name 'dv' removed.
synonyms are: 'vt52|dec vt52'
#
vt52|dec vt52,
xon,
cols#80,
lines#24,
clear=-E-310-E-321,
cub1=‸½,
cud1=‸-,
cuf1=-E-303,
cup=-E-350%-227-361%'-s'%+%-203%-227-362%'-s'%+%-203,
cuu1=-E-301,
ed=-E-321,
el=-E-322,
ind=‸-,
kbs=‸½,
kcub1=-E-304,
kcud1=-E-302,
kcuf1=-E-303,
kcuu1=-E-301,
ri=-E-311,
# END OF TERMCAP
# ------------------------
captoinfo /etc/termcap.src 1> /test/terminfo.ti
You
get the following: captoinfo: obsolete 2 character name 'dv' removed.
synonyms are: 'vt52|dec vt52'
#
infocmp, tic