This is a discussion on How to list terminal names in terminfo.db within the comp.unix.bsd.openbsd.misc forums, part of the OpenBSD category; --> How does one list the names of terminals in the file /usr/share/misc/terminfo.db? Thanks, Dave Feustel -- Kurt Godel - ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| On Mon, 28 May 2007 12:24:08 -0500, dfeustel wrote: > How does one list the names of terminals in the file > /usr/share/misc/terminfo.db? > > Thanks, > Dave Feustel Did not find a way to list the content of this file, but you could look into the source code of that file. /usr/src/share/termtypes/termtypes.master There are some other interesting files in the same directory. HTH Rudy |
| ||||
| God Rudy <rudy@mail.attic.ccc> wrote: > On Mon, 28 May 2007 12:24:08 -0500, dfeustel wrote: > >> How does one list the names of terminals in the file >> /usr/share/misc/terminfo.db? >> >> Thanks, >> Dave Feustel > > > Did not find a way to list the content of this file, > but you could look into the source code of that file. > > /usr/src/share/termtypes/termtypes.master > > There are some other interesting files in the same directory. > > HTH > Rudy I was hoping not to have to do what you suggest, but I guess I will have to. There is a program in ncurses 5.6 - toe - that lists all the terminal types in the database, but that program does not work with terminfo.db (so far, at least). I notice that Oracle is now the home of sleepycat.com. I don't see how to build the db software there. I suspect the days of Berkeley DB are numbered now. Dave -- Kurt Godel - The GOD of indecisiveness |