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?

I've looked at the ncurses source, it's been changed since the version we
have in tree, so toe.c (from curses 6.2) definitely does not compile out
of the box.

Maybe worth importing next time some enterprising soul upgrades ncurses ?

It used to be that you could easily get the full list of terminals because
of the termcap/terminfo duality, but since we thoroughly killed termcap
a few ages ago, getting the full list on an installed system is a bit
awkward, though you have everything in source files.

Reply via email to