summaryrefslogtreecommitdiff
path: root/app/xterm/vttests/doublechars.sh
diff options
context:
space:
mode:
Diffstat (limited to 'app/xterm/vttests/doublechars.sh')
-rw-r--r--app/xterm/vttests/doublechars.sh12
1 files changed, 4 insertions, 8 deletions
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