xref: /freebsd/share/termcap/tck (revision 97759ccc715c4b365432c16d763c50eecfcb1100)
1afe61c15SRodney W. Grimes#!/bin/sh -
2afe61c15SRodney W. Grimes#
3afe61c15SRodney W. Grimes# Copyright (c) 1991, 1993
4afe61c15SRodney W. Grimes#	The Regents of the University of California.  All rights reserved.
5afe61c15SRodney W. Grimes#
6afe61c15SRodney W. Grimes# Redistribution and use in source and binary forms, with or without
7afe61c15SRodney W. Grimes# modification, are permitted provided that the following conditions
8afe61c15SRodney W. Grimes# are met:
9afe61c15SRodney W. Grimes# 1. Redistributions of source code must retain the above copyright
10afe61c15SRodney W. Grimes#    notice, this list of conditions and the following disclaimer.
11afe61c15SRodney W. Grimes# 2. Redistributions in binary form must reproduce the above copyright
12afe61c15SRodney W. Grimes#    notice, this list of conditions and the following disclaimer in the
13afe61c15SRodney W. Grimes#    documentation and/or other materials provided with the distribution.
14afe61c15SRodney W. Grimes# 3. All advertising materials mentioning features or use of this software
15afe61c15SRodney W. Grimes#    must display the following acknowledgement:
16afe61c15SRodney W. Grimes#	This product includes software developed by the University of
17afe61c15SRodney W. Grimes#	California, Berkeley and its contributors.
18afe61c15SRodney W. Grimes# 4. Neither the name of the University nor the names of its contributors
19afe61c15SRodney W. Grimes#    may be used to endorse or promote products derived from this software
20afe61c15SRodney W. Grimes#    without specific prior written permission.
21afe61c15SRodney W. Grimes#
22afe61c15SRodney W. Grimes# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
23afe61c15SRodney W. Grimes# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
24afe61c15SRodney W. Grimes# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
25afe61c15SRodney W. Grimes# ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
26afe61c15SRodney W. Grimes# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
27afe61c15SRodney W. Grimes# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
28afe61c15SRodney W. Grimes# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29afe61c15SRodney W. Grimes# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30afe61c15SRodney W. Grimes# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31afe61c15SRodney W. Grimes# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32afe61c15SRodney W. Grimes# SUCH DAMAGE.
33afe61c15SRodney W. Grimes
34afe61c15SRodney W. Grimes# Look for default (and termcap-only?) capabilities.
35afe61c15SRodney W. Grimes# Defaults should be removed to save space.
36afe61c15SRodney W. Grimes
37afe61c15SRodney W. Grimesshowtc $* | \
38afe61c15SRodney W. Grimessed	-n				\
39afe61c15SRodney W. Grimes	-e 's/ bc=^H$/DEFAULT &/p'	\
40afe61c15SRodney W. Grimes	-e 's/ bc=\\h$/DEFAULT &/p'	\
41afe61c15SRodney W. Grimes	-e 's/ bc=\\10$/DEFAULT &/p'	\
42afe61c15SRodney W. Grimes	-e 's/ bc=\\010$/DEFAULT &/p'	\
43afe61c15SRodney W. Grimes	-e 's/ bl=^G$/DEFAULT &/p'	\
44afe61c15SRodney W. Grimes	-e 's/ bl=\\7$/DEFAULT &/p'	\
45afe61c15SRodney W. Grimes	-e 's/ bl=\\07$/DEFAULT &/p'	\
46afe61c15SRodney W. Grimes	-e 's/ bl=\\007$/DEFAULT &/p'	\
47afe61c15SRodney W. Grimes	-e 's/ cr=^M$/DEFAULT &/p'	\
48afe61c15SRodney W. Grimes	-e 's/ cr=\\r$/DEFAULT &/p'	\
49afe61c15SRodney W. Grimes	-e 's/ cr=\\15$/DEFAULT &/p'	\
50afe61c15SRodney W. Grimes	-e 's/ cr=\\015$/DEFAULT &/p'	\
51afe61c15SRodney W. Grimes	-e 's/ ff=^L$/DEFAULT &/p'	\
52afe61c15SRodney W. Grimes	-e 's/ ff=^L$/DEFAULT &/p'	\
53afe61c15SRodney W. Grimes	-e 's/ ff=\\14$/DEFAULT &/p'	\
54afe61c15SRodney W. Grimes	-e 's/ ff=\\014$/DEFAULT &/p'	\
55afe61c15SRodney W. Grimes	-e 's/ nl=^J$/DEFAULT &/p'	\
56afe61c15SRodney W. Grimes	-e 's/ nl=\\n$/DEFAULT &/p'	\
57afe61c15SRodney W. Grimes	-e 's/ nl=\\12$/DEFAULT &/p'	\
58afe61c15SRodney W. Grimes	-e 's/ nl=\\012$/DEFAULT &/p'	\
59afe61c15SRodney W. Grimes	-e 's/ ta=^I$/DEFAULT &/p'	\
60afe61c15SRodney W. Grimes	-e 's/ ta=\\t$/DEFAULT &/p'	\
61afe61c15SRodney W. Grimes	-e 's/ ta=\\11$/DEFAULT &/p'	\
62afe61c15SRodney W. Grimes	-e 's/ ta=\\011$/DEFAULT &/p'	\
63afe61c15SRodney W. Grimes					\
64afe61c15SRodney W. Grimes	-e 's/ bc$/TERMCAP ONLY &/p'	\
65afe61c15SRodney W. Grimes	-e 's/ bs$/TERMCAP ONLY &/p'	\
66afe61c15SRodney W. Grimes	-e 's/ dB$/TERMCAP ONLY &/p'	\
67afe61c15SRodney W. Grimes	-e 's/ dC$/TERMCAP ONLY &/p'	\
68afe61c15SRodney W. Grimes	-e 's/ dF$/TERMCAP ONLY &/p'	\
69afe61c15SRodney W. Grimes	-e 's/ dN$/TERMCAP ONLY &/p'	\
70afe61c15SRodney W. Grimes	-e 's/ dT$/TERMCAP ONLY &/p'	\
71afe61c15SRodney W. Grimes	-e 's/ dV$/TERMCAP ONLY &/p'	\
72afe61c15SRodney W. Grimes	-e 's/ EP$/TERMCAP ONLY &/p'	\
73afe61c15SRodney W. Grimes	-e 's/ HD$/TERMCAP ONLY &/p'	\
74afe61c15SRodney W. Grimes	-e 's/ kn$/TERMCAP ONLY &/p'	\
75afe61c15SRodney W. Grimes	-e 's/ ko$/TERMCAP ONLY &/p'	\
76afe61c15SRodney W. Grimes	-e 's/ LC$/TERMCAP ONLY &/p'	\
77afe61c15SRodney W. Grimes	-e 's/ ma$/TERMCAP ONLY &/p'	\
78afe61c15SRodney W. Grimes	-e 's/ ml$/TERMCAP ONLY &/p'	\
79afe61c15SRodney W. Grimes	-e 's/ mu$/TERMCAP ONLY &/p'	\
80afe61c15SRodney W. Grimes	-e 's/ nc$/TERMCAP ONLY &/p'	\
81afe61c15SRodney W. Grimes	-e 's/ NL$/TERMCAP ONLY &/p'	\
82afe61c15SRodney W. Grimes	-e 's/ nl$/TERMCAP ONLY &/p'	\
83afe61c15SRodney W. Grimes	-e 's/ ns$/TERMCAP ONLY &/p'	\
84afe61c15SRodney W. Grimes	-e 's/ OP$/TERMCAP ONLY &/p'	\
85afe61c15SRodney W. Grimes	-e 's/ pt$/TERMCAP ONLY &/p'	\
86afe61c15SRodney W. Grimes	-e 's/ UC$/TERMCAP ONLY &/p'	\
87afe61c15SRodney W. Grimes	-e 's/ xr$/TERMCAP ONLY &/p'	\
88afe61c15SRodney W. Grimes	-e 's/ xx$/TERMCAP ONLY &/p'	\
89