(replace_buffer_in_all_windows):
[bpt/emacs.git] / lisp / vt-control.el
index acb6141..2402852 100644 (file)
@@ -19,8 +19,9 @@
 ;; GNU General Public License for more details.
 
 ;; You should have received a copy of the GNU General Public License
-;; along with GNU Emacs; see the file COPYING.  If not, write to
-;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
+;; along with GNU Emacs; see the file COPYING.  If not, write to the
+;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+;; Boston, MA 02111-1307, USA.
 
 ;;; Commentary:
 
 (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.")))
 
   (if vt-applications-keypad-p (vt-keypad-off (interactive-p))
     (vt-keypad-on (interactive-p))))
 
+(provide 'vt-control)
+
 ;;; vt-control.el ends here