On Thu, Sep 09, 2021 at 09:34:51AM +0100, Laurence Tratt wrote: > `man 7 term` contains the following: > > Terminal type descriptions are stored as files of capability data > underneath /usr/share/terminfo. To browse a list of all terminal names > recognized by the system, do > > toe | more > > However, I cannot see a `toe` command on any of my OpenBSD boxes, nor does > it seem to be a shell builtin, nor can I see any meaningful references in > src/ other than in the man page source file. > > It's quite probable that I'm being an idiot, and that I should know how to > run `toe`, but perhaps this reference in the man page is out of date?
It is part of ncurses we don't build or have in the tree. Index: term.7 =================================================================== RCS file: /cvs/src/lib/libcurses/term.7,v retrieving revision 1.9 diff -u -p -r1.9 term.7 --- term.7 3 Dec 2015 11:29:55 -0000 1.9 +++ term.7 9 Sep 2021 09:10:14 -0000 @@ -66,11 +66,8 @@ custom entry incorporating options (such which you wish to override the system default type for your line. .PP Terminal type descriptions are stored as files of capability data underneath -\*d. To browse a list of all terminal names recognized by the system, do -.sp - toe | more -.sp -from your shell. These capability files are in a binary format optimized for +\*d. +These capability files are in a binary format optimized for retrieval speed (unlike the old text-based \fBtermcap\fR format they replace); to examine an entry, you must use the \fBinfocmp\fR(1) command. Invoke it as follows: