[hackers] [st] cleaning st.info. added comment in st.c for DECSCNM. || Aurélien Aptel

From: <hg_AT_suckless.org>
Date: Fri, 3 Sep 2010 22:14:30 +0000 (UTC)

changeset: 144:6fd3c7b38f7c
tag: tip
user: Aurélien Aptel <aurelien.aptel_AT_gmail.com>
date: Fri Sep 03 00:15:43 2010 +0200
files: st.c st.info
description:
cleaning st.info. added comment in st.c for DECSCNM.

diff -r f616e17e0b22 -r 6fd3c7b38f7c st.c
--- a/st.c Fri Sep 03 00:00:41 2010 +0200
+++ b/st.c Fri Sep 03 00:15:43 2010 +0200
@@ -796,6 +796,8 @@
                         case 1:
                                 term.mode &= ~MODE_APPKEYPAD;
                                 break;
+ case 5: /* TODO: DECSCNM -- Remove reverse video */
+ break;
                         case 7:
                                 term.mode &= ~MODE_WRAP;
                                 break;
@@ -851,6 +853,9 @@
                         case 1:
                                 term.mode |= MODE_APPKEYPAD;
                                 break;
+ case 5: /* DECSCNM -- Reverve video */
+ /* TODO: set REVERSE on the whole screen (f) */
+ break;
                         case 7:
                                 term.mode |= MODE_WRAP;
                                 break;
diff -r f616e17e0b22 -r 6fd3c7b38f7c st.info
--- a/st.info Fri Sep 03 00:00:41 2010 +0200
+++ b/st.info Fri Sep 03 00:15:43 2010 +0200
@@ -5,10 +5,10 @@
         am,
 # bce,
         bel=^G,
-# blink=\E[5m
+# blink=\E[5m,
         bold=\E[1m,
         cbt=\E[Z,
- civis=\E[?25l
+ civis=\E[?25l,
         clear=\E[H\E[2J,
         cnorm=\E[?12l\E[?25h,
         colors#8,
@@ -28,10 +28,14 @@
         ed=\E[J,
         el=\E[K,
         home=\E[H,
+ hpa=\E[%i%p1%dG,
         ht=^I,
         hts=\EH,
+ ich=\E[%p1%d@,
         il1=\E[L,
+ il=\E[%p1%dL,
         ind=^J,
+ indn=\E[%p1%dS,
         invis=\E[8m,
         it#8,
         kbs=\177,
Received on Sat Sep 04 2010 - 00:14:30 CEST

This archive was generated by hypermail 2.2.0 : Sat Sep 04 2010 - 00:24:06 CEST