LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

toe

List terminfo terminal type entries

TLDR

List all terminal types
$ toe
copy
List all entries including incomplete
$ toe -a
copy
List with directory headers
$ toe -h
copy
Show only primary names
$ toe -s
copy
Scan specific directory
$ toe [/usr/share/terminfo]
copy
List entries from multiple directories
$ toe [/usr/share/terminfo] [~/.terminfo]
copy

SYNOPSIS

toe [options] [directory...]

DESCRIPTION

toe (Table Of Entries) lists terminal type descriptions available in the terminfo database. It's part of the ncurses package and helps identify what terminal capabilities are installed on a system.The terminfo database contains compiled descriptions of terminal capabilities used by applications to properly interact with different terminal types. Each entry describes features like cursor movement, color support, function keys, and other terminal-specific behaviors.Without arguments, toe scans the default terminfo directory. With directory arguments, it scans those directories instead. The output shows terminal type names with brief descriptions.

PARAMETERS

-a

List all entries, including incomplete ones.
-h
Display directory header as each directory is entered.
-s
Short list: show only the first alias for each entry.
-u file
Write report to file with sorted list of dependencies.
-v
Display version and exit.
-V
Display version and settings, then exit.

INSTALL

sudo apt install ncurses-bin
copy
sudo dnf install ncurses
copy
sudo pacman -S ncurses
copy
sudo apk add ncurses
copy
brew install ncurses
copy
nix profile install nixpkgs#ncurses
copy

CAVEATS

Only lists entries in terminfo format, not old termcap files. The default directory location varies by distribution. Some minimal installations may have limited terminfo entries. Not portable to non-ncurses systems.

HISTORY

toe was developed as part of the ncurses library, which is a free software emulation of curses. The command name is a developer's pun: tic, tac (now tack), toe, forming the classic game reference. The terminfo system replaced the older termcap database to overcome size limitations and improve performance.

SEE ALSO

tic(1), infocmp(1), tput(1), tset(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid