# HG changeset patch # User Adrian Robert # Date 1219071877 0 # Node ID 33164d8e9921083b5a2b06858ee2be722c6e1910 # Parent af5607f15f327319cdde0a4ff06f1b01c6a9c864 Uncomment 'put backspace ascii-character...' and friends, they are needed for tramp. diff -r af5607f15f32 -r 33164d8e9921 lisp/ChangeLog --- a/lisp/ChangeLog Mon Aug 18 12:12:32 2008 +0000 +++ b/lisp/ChangeLog Mon Aug 18 15:04:37 2008 +0000 @@ -1,3 +1,8 @@ +2008-08-18 Adrian Robert + + * term/ns-win.el (global): Uncomment "put backspace + ascii-character..." and friends, they are needed for tramp. + 2008-08-18 Kenichi Handa * international/mule-diag.el (font-show-log): Add optional arg N diff -r af5607f15f32 -r 33164d8e9921 lisp/term/ns-win.el --- a/lisp/term/ns-win.el Mon Aug 18 12:12:32 2008 +0000 +++ b/lisp/term/ns-win.el Mon Aug 18 15:04:37 2008 +0000 @@ -179,18 +179,20 @@ ;;;; Keyboard mapping. -;;TODO: all terms have these, but they don't seem necessary. +;; These tell read-char how to convert these special chars to ASCII. +;;TODO: all terms have these, and at least the return mapping is necessary +;; for tramp to recognize the enter key. +;; Perhaps they should be moved into common code somewhere +;; (when a window system is active). ;; Remove if no problems for some time after 2008-08-06. -;; These tell read-char how to convert -;; these special chars to ASCII. -;;(put 'backspace 'ascii-character 127) -;;(put 'delete 'ascii-character 127) -;;(put 'tab 'ascii-character ?\t) -;;(put 'S-tab 'ascii-character (logior 16 ?\t)) -;;(put 'linefeed 'ascii-character ?\n) -;;(put 'clear 'ascii-character 12) -;;(put 'return 'ascii-character 13) -;;(put 'escape 'ascii-character ?\e) +(put 'backspace 'ascii-character 127) +(put 'delete 'ascii-character 127) +(put 'tab 'ascii-character ?\t) +(put 'S-tab 'ascii-character (logior 16 ?\t)) +(put 'linefeed 'ascii-character ?\n) +(put 'clear 'ascii-character 12) +(put 'return 'ascii-character 13) +(put 'escape 'ascii-character ?\e) (defvar ns-alternatives-map