DETERMCAP

Section: Maintenance Commands (8)
Updated: local
Index Return to Main Contents
 

NAME

determcap - split a termcap database into directories and files  

SYNOPSIS

determcap [ verbose ] < termcap_file  

DESCRIPTION

Determcap is a very simple C program that reads a termcap (5) database on its standard input. In the directory where it is run determcap will produce a new directory for each terminal type entry in the termcap file. Inside each such directory, there will be a file with the name of each capability, and the termcap field for that capability will be in the file. For each comment block, there will be a file named comment.N where N represents the fact that this was the N'th comment block in the input. These files should be removed.

Determcap finds its use in comparing different termcap databases. Two databases can be decomposed in two different directories, and then diff(1) can be used via the -r (recursive) option to compare the two databases.

If given an argument, determcap will print out what it is parsing as it goes.

Your termcap file must not have any problems in it. All continuation lines must end in a \. There can be no duplicate terminal entries (i.e. entries with the same name).  

SEE ALSO

termcap(5)  

DIAGNOSTICS

Self explanatory.  

BUGS

Quits at the first sign of trouble.

Should not bother to save the comments.

Can be very disk-space intensive.

Not exactly blindingly fast.  

AUTHOR

Arnold Robbins
arnold@emory.edu


 

Index

NAME
SYNOPSIS
DESCRIPTION
SEE ALSO
DIAGNOSTICS
BUGS
AUTHOR

This document was created by man2html, using the manual pages.
Time: 21:49:31 GMT, February 02, 2023