Lines Matching +full:system +full:- +full:wide
3 # Copyright 2019-2021,2022 Thomas E. Dickey #
4 # Copyright 1998-2011,2017 Free Software Foundation, Inc. #
32 # capconvert -- automated conversion from termcap to terminfo
41 # selected by conditionals in tset -- unless they're xterm users, in which
45 if test -n "$TERMINFO"
50 if test ! -d "$TERMINFO" ; then
65 if test -d "$p" ; then
73 echo "Your system already has a system-wide terminfo tree."
75 if test -z "$TERMCAP"
82 xterm | xterm-*)
85 echo "So you will just use the system-wide terminfo tree."
94 echo "No system-wide terminfo tree. We will make you a local one."
98 # Check if test -x works (it is not portable, but useful)
99 OPT="-x"
103 test $OPT $TMP && OPT="-f"
105 OPT="-f"
107 rm -f $TMP
109 # First step -- go find tic
122 if test -n "$TIC"
138 # We have tic. Either there's no system terminfo tree or there is one but
143 if test -d "$HOME"/.terminfo
147 echo "is not defined. I am not going to second-guess this -- if you"
148 echo "really want me to try auto-configuring for you, remove or"
161 if test -f ../misc/terminfo.src
168 master=`find "$HOME" -name "*terminfo.src" -print`
169 mcount=`find "$HOME" -name "*terminfo.src" | wc -l`
192 if test -f "$master"
208 # with < 16MB RAM choke on tic's core-hog habits.
209 trap 'rm -f tsplit$$.*; exit 1' 1 2 3 15
210 trap 'rm -f tsplit$$.*' 0
211 sed -n "$master" \
212 -e '1,/SPLIT HERE/w 'tsplit$$.01 \
213 -e '/SPLIT HERE/,$w 'tsplit$$.02 \
224 if test -z "$TERMCAP"
235 if test -f "$HOME"/.termcap
241 elif test -f "$TERMCAP"