3 # MKterminfo.sh -- generate terminfo.5 from Caps tabular data
5 # This script takes terminfo.head and terminfo.tail and splices in between
6 # them a table derived from the Caps master file. Besides avoiding having
7 # the docs fall out of sync with the table, this also lets us set up tbl
8 # commands for better formatting of the table.
10 # NOTE: The
\ 5s in this script really are control characters. It translates
11 #
\ 5 to \n because I couldn't get used to inserting linefeeds directly. There
12 # had better be no
\ 5s in the table source text.
19 .\" DO NOT EDIT THIS FILE BY HAND!
20 .\" It is generated from terminfo.head, Caps, and terminfo.tail.
22 .\" Note: this must be run through tbl before nroff.
23 .\" The magic cookie on the first line triggers this under some man programs.
31 s/ [Y\-][B\-][C\-][G\-][E\-]\** / T{
\ 5/