aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1999-01-11 12:59:36 +0000
committerRichard M. Stallman1999-01-11 12:59:36 +0000
commit69791a3cd492c29669ef2fa37613fabae3f499cc (patch)
treed1aabb81dded02ac82cdd0569bc3edf13558fa32
parent5ff4df06ad4089254bb4d16b3f16bb65b2ab795c (diff)
downloademacs-69791a3cd492c29669ef2fa37613fabae3f499cc.tar.gz
emacs-69791a3cd492c29669ef2fa37613fabae3f499cc.zip
(term_send_home): Change the string to
be the same as the one emitted by xterm and consistent with the ones emitted by prior and next. (term_send_end): Likewise.
-rw-r--r--lisp/term.el21
1 files changed, 19 insertions, 2 deletions
diff --git a/lisp/term.el b/lisp/term.el
index f9cf0a63744..ac6201c8b33 100644
--- a/lisp/term.el
+++ b/lisp/term.el
@@ -6,6 +6,23 @@
6;;; Based on comint mode written by: Olin Shivers <shivers@cs.cmu.edu> 6;;; Based on comint mode written by: Olin Shivers <shivers@cs.cmu.edu>
7;;; Keyword: processes 7;;; Keyword: processes
8 8
9;; This file is part of GNU Emacs.
10
11;; GNU Emacs is free software; you can redistribute it and/or modify
12;; it under the terms of the GNU General Public License as published by
13;; the Free Software Foundation; either version 2, or (at your option)
14;; any later version.
15
16;; GNU Emacs is distributed in the hope that it will be useful,
17;; but WITHOUT ANY WARRANTY; without even the implied warranty of
18;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19;; GNU General Public License for more details.
20
21;; You should have received a copy of the GNU General Public License
22;; along with GNU Emacs; see the file COPYING. If not, write to the
23;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
24;; Boston, MA 02111-1307, USA.
25
9;;; Dir/Hostname tracking and ANSI colorization by 26;;; Dir/Hostname tracking and ANSI colorization by
10;;; Marco Melgazzi <marco@techie.com>. 27;;; Marco Melgazzi <marco@techie.com>.
11 28
@@ -1223,8 +1240,8 @@ without any interpretation."
1223(defun term-send-down () (interactive) (term-send-raw-string "\eOB")) 1240(defun term-send-down () (interactive) (term-send-raw-string "\eOB"))
1224(defun term-send-right () (interactive) (term-send-raw-string "\eOC")) 1241(defun term-send-right () (interactive) (term-send-raw-string "\eOC"))
1225(defun term-send-left () (interactive) (term-send-raw-string "\eOD")) 1242(defun term-send-left () (interactive) (term-send-raw-string "\eOD"))
1226(defun term-send-home () (interactive) (term-send-raw-string "\e[H")) 1243(defun term-send-home () (interactive) (term-send-raw-string "\e[1~"))
1227(defun term-send-end () (interactive) (term-send-raw-string "\eOw")) 1244(defun term-send-end () (interactive) (term-send-raw-string "\e[4~"))
1228(defun term-send-prior () (interactive) (term-send-raw-string "\e[5~")) 1245(defun term-send-prior () (interactive) (term-send-raw-string "\e[5~"))
1229(defun term-send-next () (interactive) (term-send-raw-string "\e[6~")) 1246(defun term-send-next () (interactive) (term-send-raw-string "\e[6~"))
1230(defun term-send-del () (interactive) (term-send-raw-string "\C-?")) 1247(defun term-send-del () (interactive) (term-send-raw-string "\C-?"))