The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Help Required: Command to find IP address and command executed of a user loggedout Security 2 08-06-2008 05:12 PM
how to? launch command with string of command line options TinCanFury Shell Programming and Scripting 5 04-28-2008 03:06 PM
inconsistent ls command display at the command prompt & running as a cron job rajranibl Linux 5 07-30-2007 05:26 AM
How to use more than one MPE command STREAM with Unix command in a single shell? bosskr HP-UX 1 10-16-2006 01:16 PM
Captoinfo command rahulrathod UNIX Desktop for Dummies Questions & Answers 0 12-14-2004 06:52 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 09-29-2004
Registered User
 

Join Date: Sep 2004
Location: Mumbai-India
Posts: 156
Help on captoinfo command

What does this command do.

In the man page it is written that captoinfo converts a termcap
description into a terminfo description.

But wat is termcap description and a terminfo description.

Please give an explanation.
Reply With Quote
Forum Sponsor
  #2  
Old 09-29-2004
collins's Avatar
Registered User
 

Join Date: Aug 2004
Posts: 43
captoinfo

The captoinfo is the command which converts the termcap file to terminfo file.

For every model of the terminal it needs to tell the application programs what the terminal is capable of doing. It tells what escape sequences (or control characters) to send to the terminal in order to do things such as move the cursor to a new location, erase part of the screen, scroll the screen, change modes, change appearance (colors, brightness, blinking, underlining, reverse video etc.). These informations are stored in a file called termcap (terminal capabilities).

The termcap file format is a older version. It has some disadvantages like the termcap entries had a size limitation, the complicated format of the file, etc., So in order to convert it in to the new version we use the commandcaptoinfo which converts it in to the new format called terminfo.

The termcap and terminfo files differ mainly in the capability names and the entry syntax. Therefore, the captoinfo command only makes the syntactical transformations and vocabulary substitutions.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 07:09 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0