X-Git-Url: https://git.distorted.org.uk/~mdw/profile/blobdiff_plain/733514e5fdbce89f2e2fe3e72c455911d7d5c8e9..eb10e77ab697e512f1bb16326ecf9005cd0ec98e:/dot/emacs diff --git a/dot/emacs b/dot/emacs index 93e54f8..3dc860a 100644 --- a/dot/emacs +++ b/dot/emacs @@ -279,6 +279,15 @@ (apply #'set-input-mode (nconc (list (nth 0 im) (nth 1 im) 0) (nthcdr 3 im))))) +;; Some unpleasant terminal hackery. Screen prefixes the current terminal +;; name with `screen.', and Emacs is too dim to split the name at the `.'. +;; Help it out. + +(defun terminal-init-screen.xterm () + (tty-run-terminal-initialization (selected-frame) "screen")) +(defun terminal-init-screen.putty () + (tty-run-terminal-initialization (selected-frame) "screen")) + ;; Don't disable any commands. (mapatoms #'(lambda (sym) (put sym 'disabled nil)))