gtoe(1M) | User commands | gtoe(1M) |
gtoe - list table of entries of terminfo terminal types
gtoe [-ahs] [-v [n]] [directory ...]
gtoe [-u|-U] file
gtoe -V
gtoe reports to the standard output stream the (primary) names and descriptions of the terminal types available to the terminfo library. Each directory is scanned; if none are given, gtoe scans the default terminfo directory.
The -h option can be helpful to observe where gtoe is looking for terminal descriptions. Other options support maintainers of terminfo terminal descriptions.
gtoe is not provided by other implementations. There is no applicable X/Open or POSIX standard for it.
gtoe replaces a -T option that was briefly supported by the ncurses infocmp utility in 1995.
The -a and -s options were added in 2006 and 2011, respectively.
The program's name originates with a developer's pun:
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.
--> /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) |
... |
gcaptoinfo(1M), ginfocmp(1M), ginfotocap(1M), gtic(1M), curses(3X), terminfo(5)
2024-05-11 | ncurses 6.5 |