1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-13 16:38:14 +00:00

Uncomment 'put backspace ascii-character...' and friends, they are needed for tramp.

This commit is contained in:
Adrian Robert 2008-08-18 15:04:37 +00:00
parent 039d3b16fd
commit 6742a9d2af
2 changed files with 18 additions and 11 deletions

View File

@ -1,3 +1,8 @@
2008-08-18 Adrian Robert <Adrian.B.Robert@gmail.com>
* term/ns-win.el (global): Uncomment "put backspace
ascii-character..." and friends, they are needed for tramp.
2008-08-18 Kenichi Handa <handa@m17n.org>
* international/mule-diag.el (font-show-log): Add optional arg N

View File

@ -179,18 +179,20 @@ The properties returned may include `top', `left', `height', and `width'."
;;;; 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