vtem isn't as crazy as it sounds. First, it can let your xterm/urxvt/ansi terminal play with vt100 programs.
But it's also a nice firewall against malicious terminal sequences. If you've looked at the source to xterm, the phrase "vast attack surface" will come to mind. By vetting incoming sequences via a much smaller program, you can dial this back significantly.