Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
c96c7ed9
Commit
c96c7ed9
authored
Jun 22, 1995
by
Richard M. Stallman
Browse files
(vt-keypad-on, vt-keypad-off): Updated codes sent
to terminal to eliminate some garbage that made NCSA telnet crash.
parent
37a98547
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
lisp/vt-control.el
lisp/vt-control.el
+2
-2
No files found.
lisp/vt-control.el
View file @
c96c7ed9
...
...
@@ -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."
)))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment