Unix Technical Forum

How to list terminal names in terminfo.db

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 - ...


Go Back   Unix Technical Forum > Unix Operating Systems > OpenBSD > comp.unix.bsd.openbsd.misc

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-16-2008, 09:02 AM
dfeustel@mindspring.com
 
Posts: n/a
Default How to list terminal names in terminfo.db

How does one list the names of terminals in the file
/usr/share/misc/terminfo.db?

Thanks,
Dave Feustel

--
Kurt Godel - The GOD of indecisiveness
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-16-2008, 09:02 AM
God Rudy
 
Posts: n/a
Default Re: How to list terminal names in terminfo.db

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-16-2008, 09:02 AM
dave
 
Posts: n/a
Default Re: How to list terminal names in terminfo.db

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:28 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com