infotocap(1)
π infotocap β the manual page, but make it a group chat π
okay bestie, so this is infotocap, from the User commands section of the manual. sit down, hydrate, we're converting terminal descriptions π«Ά
β¨ NAME β¨
infotocap β convert a terminfo description into a termcap description
literally that's her whole job. one format in, the other format out. π
β¨ SYNOPSIS β¨
infotocap [tic-option] file ...
infotocap -V
two moods. either you're feeding her files, or you're just asking her who she is (-V). πΈ
β¨ DESCRIPTION β¨
so infotocap translates terminal descriptions. she looks in each given text file for terminfo entries, and for every single one she finds, she writes an analogous termcap description out to the standard output stream. no cap. π
and the cute part: terminfo βuseβ capabilities translate to termcap tc capabilities. it's giving β¨correspondenceβ¨.
β οΈ but here's the tea: because termcap is a less expressive format than terminfo, some capabilities cannot be translated. that's not a bug, that's just the format being smaller than the vibes she's holding. π
this utility is implemented as a link to tic(1), with the latter's -C option implied. so you can also use other tic options, such as -1, -f, -v, -w, and -x. she's sharing the closet, iykyk. π
the -V option reports the version of ncurses associated with this program and exits with a successful status. main character energy, exits clean. β
β¨ FILES β¨
/etc/terminfoβ compiled terminal description database ποΈ
β¨ EXTENSIONS β¨
this command is an ncurses extension. so if you're not on ncurses, don't come for her, she never claimed to be everywhere. π
β¨ PORTABILITY β¨
- X/Open Curses Issue 7 (2009) does not specify this command.
- SVr4 and NetBSD curses do not implement it.
so yeah, this is a whole ncurses-specific situation. not universal, not sorry. π
β¨ AUTHORS β¨
Eric S. Raymond <esr@snark.thyrsus.com> and Thomas E. Dickey <dickey@invisible-island.net>
the parents of the whole thing, we love them, we thank them π«ΆπΈ
β¨ SEE ALSO β¨
infocmp(1)tic(1)ncurses(3NCURSES)terminfo(5)
go read those too bestie, she's not doing this alone, it's a whole friend group π¦
and that's the page! π this one came from ncurses 6.6, dated 2025-10-04. slay, periodt, go convert something πβ¨
π¦ where this page comes from
- ubuntu resolute: ncurses-bin 6.6+20251231-1 Β· MIT/X11
- ubuntu stonking: ncurses-bin 6.6+20260608-2 Β· MIT/X11
- 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