[net.unix-wizards] bug in 4.1 termcap entries

smk@Mitre-Bedford (10/10/82)

Date: Fri Oct  8 16:39:13 1982
As distributed to us last November, the /etc/termcap file is not
exactly right for use with csh (this is 4.1bsd).  Some entries, notably for
the owl terminal, use ! as part of the sequence.  These should be escaped, so
that all !'s become \!'s.  This only applies in the actual entries, and not
for any definition string after the second one.  Thus,
aa|wow|a great terminal!|is=aa!bbcc
should look like
aa|wow|a great terminal!|is=aa\!bbcc

Note the ! in |a great terminal!| doesn't need to be escaped, because tset
loads only the first 2 in the TERMCAP variable.