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 ✨

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