Note also the easier workaround buried at the end of bug 5317 comment 7: Code: echo "trap exit SIGHUP SIGINT SIGTERM" >> /home/user/.profile (though I think catching just SIGHUP should be enough for the osso-xterm case).
echo "trap exit SIGHUP SIGINT SIGTERM" >> /home/user/.profile
echo 'trap exit SIGHUP' >> .profile