LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-28-2009, 03:49 AM   #1
davender84
Member
 
Registered: Feb 2009
Posts: 42

Rep: Reputation: 15
Smile terminfo database


after compiling the termino file by "tic", the file is placed in "/usr/share/terminfo" and this file contain all information in machine language, i want to know the location of terminfo file which is having information in human readable form or which is not compiled by tic can anybody tell me the location
thanks in adv.
 
Old 04-29-2009, 02:14 PM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
On Linux and some UNIX variants you use the infocmp command to get "untic" the compiled file.

The compiled files are are in /usr/share/terminfo/?/<terminfo> where ? is the first character of the terminal type (e.g. /usr/share/terminfo/v/vt100 for vt100 and /usr/share/terminfo/x/xterm for xterm.)

To see the uncompiled information you just run "infocmp <terminfo>".
To save it just redirect into a file.

CAUTION: If you're planning on making your own terminfo file make sure you save the original so you can restore it later. It is easy to screw up a terminfo file.

Also note that while it is uncompiled it is not necessarily "human" readable. You have to understand the syntax. (e.g. \E means escape).
 
  


Reply



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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I compile a terminfo entry mikeyyy Linux - Software 5 06-01-2005 10:00 AM
termcap or terminfo gary.chan Linux - Software 0 06-14-2004 07:52 PM
terminfo issue da_kidd_er Linux - General 0 02-06-2003 11:09 AM
Incomplete terminfo entry cpinyit Linux - Networking 1 05-10-2002 11:11 AM
Incomplete terminfo entry cpinyit Linux - General 0 05-10-2002 09:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration