tck revision 225736
1178828Sdfr#!/bin/sh -
2178828Sdfr#
3178828Sdfr# Copyright (c) 1991, 1993
4178828Sdfr#	The Regents of the University of California.  All rights reserved.
5178828Sdfr#
6178828Sdfr# Redistribution and use in source and binary forms, with or without
7178828Sdfr# modification, are permitted provided that the following conditions
8178828Sdfr# are met:
9178828Sdfr# 1. Redistributions of source code must retain the above copyright
10178828Sdfr#    notice, this list of conditions and the following disclaimer.
11178828Sdfr# 2. Redistributions in binary form must reproduce the above copyright
12178828Sdfr#    notice, this list of conditions and the following disclaimer in the
13178828Sdfr#    documentation and/or other materials provided with the distribution.
14178828Sdfr# 3. All advertising materials mentioning features or use of this software
15178828Sdfr#    must display the following acknowledgement:
16178828Sdfr#	This product includes software developed by the University of
17178828Sdfr#	California, Berkeley and its contributors.
18178828Sdfr# 4. Neither the name of the University nor the names of its contributors
19178828Sdfr#    may be used to endorse or promote products derived from this software
20178828Sdfr#    without specific prior written permission.
21178828Sdfr#
22178828Sdfr# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
23178828Sdfr# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
24178828Sdfr# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
25178828Sdfr# ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
26178828Sdfr# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
27178828Sdfr# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
28178828Sdfr# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29178828Sdfr# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30178828Sdfr# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31178828Sdfr# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32178828Sdfr# SUCH DAMAGE.
33178828Sdfr#
34178828Sdfr#	@(#)tck	8.1 (Berkeley) 6/8/93
35178828Sdfr#
36178828Sdfr
37178828Sdfr# Look for default (and termcap-only?) capabilities.
38178828Sdfr# Defaults should be removed to save space.
39178828Sdfr
40178828Sdfrshowtc $* | \
41178828Sdfrsed	-n				\
42178828Sdfr	-e 's/ bc=^H$/DEFAULT &/p'	\
43178828Sdfr	-e 's/ bc=\\h$/DEFAULT &/p'	\
44178828Sdfr	-e 's/ bc=\\10$/DEFAULT &/p'	\
45178828Sdfr	-e 's/ bc=\\010$/DEFAULT &/p'	\
46178828Sdfr	-e 's/ bl=^G$/DEFAULT &/p'	\
47178828Sdfr	-e 's/ bl=\\7$/DEFAULT &/p'	\
48178828Sdfr	-e 's/ bl=\\07$/DEFAULT &/p'	\
49178828Sdfr	-e 's/ bl=\\007$/DEFAULT &/p'	\
50178828Sdfr	-e 's/ cr=^M$/DEFAULT &/p'	\
51178828Sdfr	-e 's/ cr=\\r$/DEFAULT &/p'	\
52178828Sdfr	-e 's/ cr=\\15$/DEFAULT &/p'	\
53178828Sdfr	-e 's/ cr=\\015$/DEFAULT &/p'	\
54178828Sdfr	-e 's/ ff=^L$/DEFAULT &/p'	\
55178828Sdfr	-e 's/ ff=^L$/DEFAULT &/p'	\
56178828Sdfr	-e 's/ ff=\\14$/DEFAULT &/p'	\
57178828Sdfr	-e 's/ ff=\\014$/DEFAULT &/p'	\
58178828Sdfr	-e 's/ nl=^J$/DEFAULT &/p'	\
59178828Sdfr	-e 's/ nl=\\n$/DEFAULT &/p'	\
60178828Sdfr	-e 's/ nl=\\12$/DEFAULT &/p'	\
61178828Sdfr	-e 's/ nl=\\012$/DEFAULT &/p'	\
62178828Sdfr	-e 's/ ta=^I$/DEFAULT &/p'	\
63178828Sdfr	-e 's/ ta=\\t$/DEFAULT &/p'	\
64178828Sdfr	-e 's/ ta=\\11$/DEFAULT &/p'	\
65178828Sdfr	-e 's/ ta=\\011$/DEFAULT &/p'	\
66178828Sdfr					\
67178828Sdfr	-e 's/ bc$/TERMCAP ONLY &/p'	\
68178828Sdfr	-e 's/ bs$/TERMCAP ONLY &/p'	\
69178828Sdfr	-e 's/ dB$/TERMCAP ONLY &/p'	\
70178828Sdfr	-e 's/ dC$/TERMCAP ONLY &/p'	\
71178828Sdfr	-e 's/ dF$/TERMCAP ONLY &/p'	\
72178828Sdfr	-e 's/ dN$/TERMCAP ONLY &/p'	\
73178828Sdfr	-e 's/ dT$/TERMCAP ONLY &/p'	\
74178828Sdfr	-e 's/ dV$/TERMCAP ONLY &/p'	\
75178828Sdfr	-e 's/ EP$/TERMCAP ONLY &/p'	\
76178828Sdfr	-e 's/ HD$/TERMCAP ONLY &/p'	\
77178828Sdfr	-e 's/ kn$/TERMCAP ONLY &/p'	\
78178828Sdfr	-e 's/ ko$/TERMCAP ONLY &/p'	\
79178828Sdfr	-e 's/ LC$/TERMCAP ONLY &/p'	\
80178828Sdfr	-e 's/ ma$/TERMCAP ONLY &/p'	\
81178828Sdfr	-e 's/ ml$/TERMCAP ONLY &/p'	\
82178828Sdfr	-e 's/ mu$/TERMCAP ONLY &/p'	\
83178828Sdfr	-e 's/ nc$/TERMCAP ONLY &/p'	\
84178828Sdfr	-e 's/ NL$/TERMCAP ONLY &/p'	\
85178828Sdfr	-e 's/ nl$/TERMCAP ONLY &/p'	\
86178828Sdfr	-e 's/ ns$/TERMCAP ONLY &/p'	\
87178828Sdfr	-e 's/ OP$/TERMCAP ONLY &/p'	\
88178828Sdfr	-e 's/ pt$/TERMCAP ONLY &/p'	\
89178828Sdfr	-e 's/ UC$/TERMCAP ONLY &/p'	\
90178828Sdfr	-e 's/ xr$/TERMCAP ONLY &/p'	\
91178828Sdfr	-e 's/ xx$/TERMCAP ONLY &/p'	\
92178828Sdfr