fix xterms for xshell and securecrt and putty