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 🌟

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