X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=progs%2Fcapconvert;fp=progs%2Fcapconvert;h=ea76f312497cc09b1064f09fa235bcc6fbaba939;hp=c73c36878db42c795ff7f64d52ccb2188907aa3b;hb=79b07cae47a6fa064aa4d2ea70fe930884751eb4;hpb=95b3f94ec8b2da797e3e9a18fb49320daa5ab221 diff --git a/progs/capconvert b/progs/capconvert index c73c3687..ea76f312 100755 --- a/progs/capconvert +++ b/progs/capconvert @@ -1,6 +1,6 @@ #!/bin/sh ############################################################################## -# Copyright 2019-2020,2021 Thomas E. Dickey # +# Copyright 2019-2021,2022 Thomas E. Dickey # # Copyright 1998-2011,2017 Free Software Foundation, Inc. # # # # Permission is hereby granted, free of charge, to any person obtaining a # @@ -27,7 +27,7 @@ # use or other dealings in this Software without prior written # # authorization. # ############################################################################## -# $Id: capconvert,v 1.10 2021/09/04 10:55:04 tom Exp $ +# $Id: capconvert,v 1.11 2022/02/05 20:39:49 tom Exp $ # # capconvert -- automated conversion from termcap to terminfo # @@ -206,7 +206,8 @@ echo "OK, now I will make your private terminfo tree. This may take a bit..." # # Kluge alert: we compile terminfo.src in two pieces because a lot of machines # with < 16MB RAM choke on tic's core-hog habits. -trap "rm -f tsplit$$.*" EXIT INT QUIT TERM HUP +trap "rm -f tsplit$$.*; exit 1" 1 2 3 15 +trap "rm -f tsplit$$.*" 0 sed -n $master \ -e '1,/SPLIT HERE/w 'tsplit$$.01 \ -e '/SPLIT HERE/,$w 'tsplit$$.02 \