changeset 104168:ffb29f8afea3

* term.el (term-handle-ansi-escape): Add comments with the terminfo capabilities implemented. * e/eterm-color.ti (msgr, u6, u7): New capabilities.
author Dan Nicolaescu <dann@ics.uci.edu>
date Fri, 07 Aug 2009 07:04:02 +0000
parents a443b35b34e0
children dc97cf5c3f82
files etc/ChangeLog etc/e/eterm-color etc/e/eterm-color.ti lisp/ChangeLog lisp/term.el
diffstat 5 files changed, 14 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/etc/ChangeLog	Fri Aug 07 05:46:34 2009 +0000
+++ b/etc/ChangeLog	Fri Aug 07 07:04:02 2009 +0000
@@ -1,3 +1,7 @@
+2009-08-07  Dan Nicolaescu  <dann@ics.uci.edu>
+
+	* e/eterm-color.ti (msgr, u6, u7): New capabilities.
+
 2009-08-02  Michael Albinus  <michael.albinus@gmx.de>
 
 	* NEWS: Autorevert Tail mode works now for remote files.
Binary file etc/e/eterm-color has changed
--- a/etc/e/eterm-color.ti	Fri Aug 07 05:46:34 2009 +0000
+++ b/etc/e/eterm-color.ti	Fri Aug 07 07:04:02 2009 +0000
@@ -15,6 +15,7 @@
 	pairs#64,
 	am,
 	mir,
+	msgr,
 	xenl,
 	bel=^G,
 	bold=\E[1m,
@@ -70,6 +71,8 @@
 	smir=\E[4h,
 	smul=\E[4m,
  	smso=\E[7m,
+ 	u6=\E[%i%d;%dR,
+ 	u7=\E[6n,
 #	smcup=\E[?47h,
 #	rmcup=\E[?47l,
 #       rs2 may need to be added
--- a/lisp/ChangeLog	Fri Aug 07 05:46:34 2009 +0000
+++ b/lisp/ChangeLog	Fri Aug 07 07:04:02 2009 +0000
@@ -1,3 +1,8 @@
+2009-08-07  Dan Nicolaescu  <dann@ics.uci.edu>
+
+	* term.el (term-handle-ansi-escape): Add comments with the
+	terminfo capabilities implemented.
+
 2009-08-06  Dmitry Dzhus  <dima@sphinx.net.ru>
 
 	* progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
--- a/lisp/term.el	Fri Aug 07 05:46:34 2009 +0000
+++ b/lisp/term.el	Fri Aug 07 07:04:02 2009 +0000
@@ -3363,10 +3363,11 @@
       (term-handle-colors-array term-terminal-previous-parameter))
     (term-handle-colors-array term-terminal-parameter))
 
-   ;; \E[6n - Report cursor position
+   ;; \E[6n - Report cursor position (terminfo: u7)
    ((eq char ?n)
     (term-handle-deferred-scroll)
     (process-send-string proc
+			 ;; (terminfo: u6)
 			 (format "\e[%s;%sR"
 				 (1+ (term-current-row))
 				 (1+ (term-horizontal-column)))))