From b44fee0a07313bfc44155c2f810882ad90a69551 Mon Sep 17 00:00:00 2001 From: Matthieu Herrb Date: Mon, 25 Apr 2022 19:20:39 +0000 Subject: Update to xterm 372. ok tb@, naddy@. Tested by others too. --- app/xterm/vttests/doublechars.sh | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'app/xterm/vttests/doublechars.sh') diff --git a/app/xterm/vttests/doublechars.sh b/app/xterm/vttests/doublechars.sh index ba14a1059..74aa9efe9 100644 --- a/app/xterm/vttests/doublechars.sh +++ b/app/xterm/vttests/doublechars.sh @@ -1,9 +1,9 @@ #!/bin/sh -# $XTermId: doublechars.sh,v 1.21 2021/03/03 01:16:53 tom Exp $ +# $XTermId: doublechars.sh,v 1.22 2022/02/13 14:34:47 tom Exp $ # ----------------------------------------------------------------------------- # this file is part of xterm # -# Copyright 1999-2011,2021 by Thomas E. Dickey +# Copyright 1999-2021,2022 by Thomas E. Dickey # # All Rights Reserved # @@ -85,12 +85,8 @@ if test $SAVE = yes ; then wide=`echo "$wide"|sed -e 's/t.*//'` original=${CSI}8\;${high}\;${wide}t${SUF} - if ( trap "echo exit" EXIT 2>/dev/null ) >/dev/null - then - trap '$CMD $OPT "$original" >/dev/tty; exit' EXIT HUP INT QUIT TERM - else - trap '$CMD $OPT "$original" >/dev/tty; exit' 0 1 2 3 15 - fi + trap '$CMD $OPT "$original" >/dev/tty; exit 1' 1 2 3 15 + trap '$CMD $OPT "$original" >/dev/tty' 0 fi -- cgit v1.2.3