Make emacs usable in putty