diff options
| author | Richard M. Stallman | 1995-06-22 20:28:55 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-06-22 20:28:55 +0000 |
| commit | c96c7ed95f4b40ad4ff159079cb4bc0106eda431 (patch) | |
| tree | 18ddafe217bb314cff541a9b707b17946903858e | |
| parent | 37a985474ff7a71a651092daa24eb15f29788740 (diff) | |
| download | emacs-c96c7ed95f4b40ad4ff159079cb4bc0106eda431.tar.gz emacs-c96c7ed95f4b40ad4ff159079cb4bc0106eda431.zip | |
(vt-keypad-on, vt-keypad-off): Updated codes sent
to terminal to eliminate some garbage that made NCSA telnet crash.
| -rw-r--r-- | lisp/vt-control.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/vt-control.el b/lisp/vt-control.el index acb6141c77a..bd5d0c08473 100644 --- a/lisp/vt-control.el +++ b/lisp/vt-control.el | |||
| @@ -86,14 +86,14 @@ | |||
| 86 | (defun vt-keypad-on (&optional tell) | 86 | (defun vt-keypad-on (&optional tell) |
| 87 | "Turn on the VT applications keypad." | 87 | "Turn on the VT applications keypad." |
| 88 | (interactive) | 88 | (interactive) |
| 89 | (send-string-to-terminal "\e[\e=") | 89 | (send-string-to-terminal "\e=") |
| 90 | (setq vt-applications-keypad-p t) | 90 | (setq vt-applications-keypad-p t) |
| 91 | (if (or tell (interactive-p)) (message "Applications keypad enabled."))) | 91 | (if (or tell (interactive-p)) (message "Applications keypad enabled."))) |
| 92 | 92 | ||
| 93 | (defun vt-keypad-off (&optional tell) | 93 | (defun vt-keypad-off (&optional tell) |
| 94 | "Turn off the VT applications keypad." | 94 | "Turn off the VT applications keypad." |
| 95 | (interactive "p") | 95 | (interactive "p") |
| 96 | (send-string-to-terminal "\e[\e>") | 96 | (send-string-to-terminal "\e>") |
| 97 | (setq vt-applications-keypad-p nil) | 97 | (setq vt-applications-keypad-p nil) |
| 98 | (if (or tell (interactive-p)) (message "Applications keypad disabled."))) | 98 | (if (or tell (interactive-p)) (message "Applications keypad disabled."))) |
| 99 | 99 | ||