toe(1)
๐ toe(1) โ the glow-up edition ๐
okay bestie, sit down, we're learning toe today โ the user-commands girlie whose whole job is spilling the tea on which terminal types your terminfo library actually knows about. ๐ซถ
โจ NAME โจ
toe โ literally just "list table of entries of terminfo terminal types." that's it. that's the girl. ๐
๐ SYNOPSIS ๐
toe [-ahs] [-v [n]] [directory ...]
toe [-u|-U] file
toe -V
three whole moods, pick one, slay. โจ
๐ฆ DESCRIPTION ๐ฆ
So basically, toe reports to the standard output stream the (primary) names and descriptions of the terminal types available to the terminfo library. ๐ธ
Each directory gets scanned; and if you don't hand it any directories at all? it just scans the default terminfo directory. no biggie. ๐
๐ OPTIONS ๐
ngl the -h option is your bestie if you just wanna see where toe is looking for terminal descriptions. the rest of these? they're for the terminfo maintainers, the ones keeping the terminal-description economy running. ๐
-aโ lists entries from all terminal database directories that terminfo would search, instead of only the first one it finds.
If -s is also given, toe additionally reports, like conflict(1), which entries correspond to a given terminal database. An โ*โ marks entries that differ, and โ+โ marks equivalent entries. โจ
Without the -s option, toe does not attempt to merge duplicates in its report. no dedup, no filter, raw feed. ๐
-hโ writes a heading naming each directory as it is accessed. it's giving "hi bestie, here's where I'm at." ๐บ๏ธ-sโ sorts the output by the entry names. alphabetized and organized, we love to see it. ๐-ufile โ lists terminal type dependencies in file, which is a terminfo entry source or a termcap database file. The report summarizes theโuseโ(terminfo) andtc(termcap) relations: each line comprises the primary name of a terminal type employinguse/tccapabilities, a colon, a space- and tab-separated list of primary names of terminal types thus named, and a newline. periodt. ๐-Ufile โ lists terminal type reverse dependencies in file, a terminfo entry source or termcap database file. The report summarizes theโuseโ(terminfo) andtc(termcap) reverse relations: each line comprises the primary name of a terminal type occurring inuse/tccapabilities, a colon, a space- and tab-separated list of primary names of terminal types naming them thus, and a newline. the mirror image of-u, iconic behavior. ๐ช-v[n] โ reports verbose status information to the standard error stream, showingtoe's progress. like a lil live commentary track. ๐๏ธ
The optional parameter n is an integer between 1 and 10 inclusive, interpreted as for tic(1). If ncurses is built without tracing support, n is ignored. ๐คท
-Vโ reports the version of ncurses associated with this program and exits with a successful status. a lil flex, then she's out. ๐
๐ FILES ๐
/etc/terminfoโ compiled terminal description database.
๐ PORTABILITY ๐
toe is not provided by other implementations. There is no applicable X/Open or POSIX standard for it. she's one of a kind, no cap. ๐
โจ
๐ HISTORY ๐
toe replaces a -T option that was briefly supported by the ncurses infocmp utility in 1995. the lore goes deep. ๐ฐ๏ธ
The -a and -s options were added in 2006 and 2011, respectively. glow-ups happen over time bestie. ๐
The program's name originates with a developer's pun: ๐ญ
tic,tac(nowtack),toe.
the pun is the entire point. respect the pun. ๐
๐ธ EXAMPLES ๐ธ
When not sorting with the -s option, the -a option reports all of the names found in all of the terminal database directories named in the TERMINFO and TERMINFO_DIRS environment variables. ๐ซถ
xterm-color generic color xterm
xterm-xfree86 xterm terminal emulator (XFree86)
xterm-vt220 xterm emulating vt220
xterm-256color xterm with 256 colors
xterm-r6 xterm X11R6 version
xterm-r5 xterm R5 version
xterm-mono monochrome xterm
xterm xterm terminal emulator (X Window System)
vt220 dec vt220
vt102 dec vt102
vt100 dec vt100 (w/advanced video)
vt52 dec vt52
...
Use the -a and -s options together to show where each terminal description was found. the little arrows are literally a map, iykyk. ๐บ๏ธโจ
--> /etc/terminfo
----> /lib/terminfo
------> /usr/share/terminfo
--*---: vt100 dec vt100 (w/advanced video)
--*---: vt102 dec vt102
--*---: vt220 dec vt220
--*---: vt52 dec vt52
--*---: xterm xterm terminal emulator (X Window System)
--*---: xterm-256color xterm with 256 colors
--*---: xterm-color generic color xterm
--*---: xterm-mono monochrome xterm
--*---: xterm-r5 xterm R5 version
--*---: xterm-r6 xterm X11R6 version
--*---: xterm-vt220 xterm emulating vt220
--*---: xterm-xfree86 xterm terminal emulator (XFree86)
...
๐ SEE ALSO ๐
captoinfo(1), infocmp(1), infotocap(1), tic(1), ncurses(3NCURSES), terminfo(5)
k bye bestie, that's the whole page ๐ฆ โ this one's from ncurses 6.6, dated 2025-11-11, and yeah, she's serving toe(1) realness. ๐โจ๐
๐ฆ 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 2019-2024,2025 Thomas E. Dickey
- Copyright 1998-2015,2017 Free Software Foundation, Inc
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms