Re: How to list terminal names in terminfo.db



God Rudy <rudy@xxxxxxxxxxxxxx> 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
.



Relevant Pages

  • Re: Static/Strong/Implicit Typing
    ... >> accept both lists and vectors. ... >> you define a function that operates on source code. ... In a H-M-ish type system, ... >> a design for a statically typed Lisp that wouldn't feel ...
    (comp.lang.lisp)
  • Re: Source Code Wiki Start-Up Community
    ... migrating code-snippets and source code into it over the last few ... lists of pixels. ... newly-found pixels getting put on the second. ... a typical stack) will fail gracefully if it runs out of memory. ...
    (comp.programming)
  • Re: unexpected behaviour
    ... you are modifying the source code of your program! ... (defun my-eval (sexp) ... That means that you are modifying the function itself. ... which consists of data in the form of lists. ...
    (comp.lang.lisp)
  • handbook - kernel build question
    ... In section 9.3 of the handbook just before the two procedures it lists ... "If you are building a new kernel without updating the source code ... Are the words update and upgrade the ... we are free to abandon sin." ...
    (freebsd-questions)
  • Re: Static/Strong/Implicit Typing
    ... > Then I can't use the sequence functions of Common Lisp that ... > accept both lists and vectors. ... calls to the appropriate ones (since it has all the static type information ... > you define a function that operates on source code. ...
    (comp.lang.lisp)