Parses termcap capability database
Author: Matt Dainty ma@bodgit-n-s carper.com tt
Each line represents a record consisting of a number of ‘:’-separated fields the first of which is the name or identifier for the record. The name can optionally be split by ‘|’ and each subsequent value is considered an alias of the first. Records can be split across multiple lines with ‘\’.