replaced tcap with hardcoded xterm