mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-22 07:09:54 +00:00
(vt-keypad-on, vt-keypad-off): Updated codes sent
to terminal to eliminate some garbage that made NCSA telnet crash.
This commit is contained in:
parent
37a985474f
commit
c96c7ed95f
@ -86,14 +86,14 @@
|
||||
(defun vt-keypad-on (&optional tell)
|
||||
"Turn on the VT applications keypad."
|
||||
(interactive)
|
||||
(send-string-to-terminal "\e[\e=")
|
||||
(send-string-to-terminal "\e=")
|
||||
(setq vt-applications-keypad-p t)
|
||||
(if (or tell (interactive-p)) (message "Applications keypad enabled.")))
|
||||
|
||||
(defun vt-keypad-off (&optional tell)
|
||||
"Turn off the VT applications keypad."
|
||||
(interactive "p")
|
||||
(send-string-to-terminal "\e[\e>")
|
||||
(send-string-to-terminal "\e>")
|
||||
(setq vt-applications-keypad-p nil)
|
||||
(if (or tell (interactive-p)) (message "Applications keypad disabled.")))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user