[patch] terminal doc: TERM=sun explains 4 ctl seqs. Terminfo u6 is position report.

Kalle Olavi Niemitalo <[email protected]>
Newsgroups gmane.comp.web.links
Message-ID <[email protected]>
_______________________________________________
elinks-dev mailing list
[email protected]
http://linuxfromscratch.org/mailman/listinfo/elinks-dev
(unnamed) (text/x-patch, 1.5 KB)
terminal doc: TERM=sun explains 4 ctl seqs.  Terminfo u6 is position report.

---
commit 2683a6308502ebd09827e2310a8bc44455f5b41c
tree 2d17e13d6ed0996da4448eecb46253e478d64e2d
parent eeb3a6f5820c45fb5a1c3e8869bc4888900059f6
author Kalle Olavi Niemitalo <[email protected]> Mon, 31 Jul 2006 13:08:39 +0300
committer Kalle Olavi Niemitalo <[email protected]> Mon, 31 Jul 2006 13:08:39 +0300

 src/terminal/kbd.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/terminal/kbd.c b/src/terminal/kbd.c
index da6107e..caabf50 100644
--- a/src/terminal/kbd.c
+++ b/src/terminal/kbd.c
@@ -711,10 +711,10 @@ #endif
 
 	case 'z': switch (v) {			/* private */
 		case 247: kbd.key = KBD_INS; break;     /* kich1 */
-		case 214: kbd.key = KBD_HOME; break;	/* khome */
-		case 220: kbd.key = KBD_END; break;	/* kend */
-		case 216: kbd.key = KBD_PAGE_UP; break; /* kpp */
-		case 222: kbd.key = KBD_PAGE_DOWN; break; /* knp */
+		case 214: kbd.key = KBD_HOME; break;	/* khome    sun */
+		case 220: kbd.key = KBD_END; break;	/* kend     sun */
+		case 216: kbd.key = KBD_PAGE_UP; break; /* kpp      sun */
+		case 222: kbd.key = KBD_PAGE_DOWN; break; /* knp    sun */
 		case 249: kbd.key = KBD_DEL; break;	/* kdch1 */
 		} break;
 
@@ -762,7 +762,7 @@ #endif
 
 		} break;
 
-	case 'R': resize_terminal(); break;	/*    CPR  */
+	case 'R': resize_terminal(); break;	/*    CPR  u6 */
 	case 'M':                               /*   (DL)  kmous    xterm */
 #ifdef CONFIG_MOUSE
 		el = decode_terminal_mouse_escape_sequence(itrm, ev, el, v);
signature.asc (application/pgp-signature, 188 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFEzddEHm9IGt60eMgRAiW2AKDB+h5go8XHFnxLtJJSqzepdAiTrgCg171s
V1/N7FGLKnPO4I4/n19FniQ=
=L3an
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.