xterm formatting fixes