> On Mon, 12 Oct 2026 12:54:38 -0400, Greg Wooledge wrote:
> Someone else can try gnome-terminal, konsole, etc. and see what they do.
Here's some additional info. I had a lot of different emulators installed
from some earlier stuff. I'm not sure whether this test would actually
measure the activity in question, however.
Wiley
'''
[liveuser@canis-major terminal-emulator-signals]$ grep SIG ./* | cut -c 14-
| sort | uniq -c
4 SIGCHLD
2 SIGCONT
22 SIGHUP
1 SIGWINCH
[liveuser@canis-major terminal-emulator-signals]$ echo
"${#terminal_emulators[@]}"
29
[liveuser@canis-major terminal-emulator-signals]$ printf '%s '
"${terminal_emulators[@]}"; echo
Eterm alacritty blackbox-terminal contour cool-retro-term cosmic-term foot
ghostty kgx kitty konsole lterm lxterminal mate-terminal ptyxis qmlkonsole
qterminal rxvt sakura st station terminator terminology tilda tilix urxvt
uxterm xfce4-terminal xterm
'''
>From konsole on Fedora 44:
'''
[liveuser@canis-major ~]$ for tE in "${terminal_emulators[@]}"; do printf
'\n\n########################################### \n\n%s\n\n' "${tE}";
command -p "${tE}"; done
'''
Then within each separate emulator, I'd run this command and close the
terminal (while `sleep` was running) by clicking the 'x' in the upper right
of the GUI. ...except for with tilda, I had to use a right-click context
menu.
'''
$ cd; ./foo
'''
[liveuser@canis-major ~]$ cat foo
#!/bin/bash
set -x
dD_directory=~/tmp/terminal-emulator-signals/
tT_time=$( date +%s )
output_awk_01_pid=$( ps axfj \
| awk -v ppid=$PPID '$2 == ppid { print $1 }'
)
aA_awk_stat=$( awk '$1 == "Name:" { print $2 }' \
/proc/$output_awk_01_pid/status
)
cC_cat_comm=$( cat /proc/$output_awk_01_pid/comm )
rR_read_exe=$( readlink /proc/$output_awk_01_pid/exe )
tC_tr_cmdln=$( tr '\0' ' ' < /proc/$output_awk_01_pid/cmdline )
__function__all_traps__ (){
echo "dollar: $$"
declare -p BASHPID PPID \
output_awk_01_pid \
aA_awk_stat cC_cat_comm dD_directory rR_read_exe \
tC_tr_cmdln tT_time
}
set -- SIGHUP SIGINT SIGQUIT SIGILL SIGTRAP SIGABRT SIGBUS SIGFPE \
SIGKILL SIGUSR1 SIGSEGV SIGUSR2 SIGPIPE SIGALRM SIGTERM SIGSTKFLT \
SIGCHLD SIGCONT SIGSTOP SIGTSTP SIGTTIN SIGTTOU SIGURG SIGXCPU \
SIGXFSZ SIGVTALRM SIGPROF SIGWINCH SIGIO SIGPWR SIGSYS SIGRTMIN \
SIGRTMAX
for sG
do
trap '{ __function__all_traps__; echo '"${sG}"';} \
>"${dD_directory}/${tT_time}"' "${sG}"
done
sleep 10000 &
wait