![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| 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 |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
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. |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
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. |
||||
| Google The UNIX and Linux Forums |