But there's still a mystery here. Why does it behave differently under rxvt vs. xterm,
and why does that difference show up in bash 4.4-beta but not in 4.3.30?
(Both versions of bash are built from source on the same system.)
Running bash 4.3.30 under either xterm 261 or rxvt v2.6.4, I get:
bash-4.3$ trap
trap -- '' SIGTSTP
trap -- '' SIGTTIN
trap -- '' SIGTTOU
and Ctrl-Z works correctly.
Running bash-4.4-beta under xterm, I get
bash-4.4$ trap
trap -- '' SIGTTOU
and Ctrl-Z works correctly. Running bash-4.4-beta under rxvt, I get:
bash-4.4$ trap
trap -- '' SIGTSTP
trap -- '' SIGTTIN
trap -- '' SIGTTOU
and Ctrl-Z *doesn't* work.
The issue for me personally is that I'd like to run bash 4.4-beta, which corrects
some bugs I've run into, under urxvt, which has better font support than xterm.
Is there a workaround, a way to re-enable correct Ctrl-Z handling?