infotocap(1M)
β¨ infotocap β the manual page, but make it a group chat β¨
okay bestie, so this is infotocap, from section 1M of the manual (that's "user commands," for the admins and the terminally curious π
). Buckle up.
πΈ NAME πΈ
infotocap β convert a terminfo description into a termcap description
like, it takes the fancy modern-ish terminfo thing and turns it into the older termcap thing. glow-down in format, glow-up in nostalgia π¦
β¨ SYNOPSIS β¨
infotocap [tic-option] file ...
infotocap -V
that's it. that's the whole vibe. two ways to call her π
π DESCRIPTION π
so infotocap translates terminal descriptions. literally its whole personality.
It looks in each given text file for terminfo entries and, for each one found, writes an analogous termcap description to the standard output stream. so: you feed it files, it yeets termcap at your stdout. no cap π€
terminfo "use" capabilities translate to termcap tc capabilities. cute, right?
β οΈ but here's the tea: because termcap is a less expressive format than terminfo, some capabilities cannot be translated. they just get left behind. it's giving "we don't have the range." π
This utility is implemented as a link to tic(1M), with the latter's -C option implied. so like, it's tic wearing a different outfit. You can use other tic options such as -1, -f, -v, -w, and -x β they all still work. π
The -V option reports the version of ncurses associated with this program and exits with a successful status. short, sweet, informative. main character behavior. β¨
π FILES π
/usr/share/terminfoβ the compiled terminal description database. this is where the magic lives, bestie π β¨
π EXTENSIONS π
This command is an ncurses extension. so like, not everyone has her. she's special. she knows. π
π PORTABILITY π
X/Open Curses Issue 7 (2009) does not specify this command. nope. not in there.
SVr4 and NetBSD curses do not implement it either. so if you're on those, bestieβ¦ she's not coming. π
π AUTHORS π
- Eric S. Raymond
<esr@snark.thyrsus.com> - Thomas E. Dickey
<dickey@invisible-island.net>
the legends themselves. we stan. π«Ά
π SEE ALSO π
infocmp(1M)tic(1M)curses(3X)terminfo(5)
go read these next, i promise they eat π
okay and finally, the little footer moment: this whole page is from ncurses 6.6, dated 2025-10-04, and it's the manual entry for infotocap(1M). remember where you came from. πβ¨ bye bestie, go convert something π¦
π¦ where this page comes from
- alpine 3.24: ncurses-doc 6.6_p20260516-r0 Β· X11
- arch rolling: ncurses 6.6-2 Β· MIT-open-group
- fedora 44: ncurses 6.6-1.fc44 Β· MIT-open-group
- Copyright 2018-2024,2025 Thomas E. Dickey
- Copyright 1999-2010,2016 Free Software Foundation, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms