aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Robert2008-08-18 15:04:37 +0000
committerAdrian Robert2008-08-18 15:04:37 +0000
commit6742a9d2affa08efcbf644c373c8879efa42c9d3 (patch)
treefe36e828212f2e8c71926e0a1d78657d78eb09ee
parent039d3b16fd31e5a5dab27fb09845f3cb785bec89 (diff)
downloademacs-6742a9d2affa08efcbf644c373c8879efa42c9d3.tar.gz
emacs-6742a9d2affa08efcbf644c373c8879efa42c9d3.zip
Uncomment 'put backspace ascii-character...' and friends, they are needed for tramp.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/term/ns-win.el24
2 files changed, 18 insertions, 11 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index e8285640541..953ea87a988 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12008-08-18 Adrian Robert <Adrian.B.Robert@gmail.com>
2
3 * term/ns-win.el (global): Uncomment "put backspace
4 ascii-character..." and friends, they are needed for tramp.
5
12008-08-18 Kenichi Handa <handa@m17n.org> 62008-08-18 Kenichi Handa <handa@m17n.org>
2 7
3 * international/mule-diag.el (font-show-log): Add optional arg N 8 * international/mule-diag.el (font-show-log): Add optional arg N
diff --git a/lisp/term/ns-win.el b/lisp/term/ns-win.el
index 1b798de1f49..e5cacf8df3c 100644
--- a/lisp/term/ns-win.el
+++ b/lisp/term/ns-win.el
@@ -179,18 +179,20 @@ The properties returned may include `top', `left', `height', and `width'."
179 179
180;;;; Keyboard mapping. 180;;;; Keyboard mapping.
181 181
182;;TODO: all terms have these, but they don't seem necessary. 182;; These tell read-char how to convert these special chars to ASCII.
183;;TODO: all terms have these, and at least the return mapping is necessary
184;; for tramp to recognize the enter key.
185;; Perhaps they should be moved into common code somewhere
186;; (when a window system is active).
183;; Remove if no problems for some time after 2008-08-06. 187;; Remove if no problems for some time after 2008-08-06.
184;; These tell read-char how to convert 188(put 'backspace 'ascii-character 127)
185;; these special chars to ASCII. 189(put 'delete 'ascii-character 127)
186;;(put 'backspace 'ascii-character 127) 190(put 'tab 'ascii-character ?\t)
187;;(put 'delete 'ascii-character 127) 191(put 'S-tab 'ascii-character (logior 16 ?\t))
188;;(put 'tab 'ascii-character ?\t) 192(put 'linefeed 'ascii-character ?\n)
189;;(put 'S-tab 'ascii-character (logior 16 ?\t)) 193(put 'clear 'ascii-character 12)
190;;(put 'linefeed 'ascii-character ?\n) 194(put 'return 'ascii-character 13)
191;;(put 'clear 'ascii-character 12) 195(put 'escape 'ascii-character ?\e)
192;;(put 'return 'ascii-character 13)
193;;(put 'escape 'ascii-character ?\e)
194 196
195 197
196(defvar ns-alternatives-map 198(defvar ns-alternatives-map