[hackers] [st] Use G1 for alternate charset || Roberto E. Vargas Caballero

From: <git_AT_suckless.org>
Date: Mon, 13 Oct 2014 19:17:44 +0200

commit dcfe505d3c97506918d5aff24ab62e17e5f58fdb
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
Date: Wed Oct 8 11:35:45 2014 +0200

    Use G1 for alternate charset
    
    St has enacs, which must be printed if a program requires to use
    the alternate charset (graphic charset), that in st case was to
    select charset graphic for G1, but it was not useful
    at all because smacs and rmacs were always redefining the value
    of G0.

diff --git a/st.info b/st.info
index 3b754db..c5a9c2d 100644
--- a/st.info
+++ b/st.info
_AT_@ -159,7 +159,7 @@ st| simpleterm,
         rev=\E[7m,
         ri=\EM,
         ritm=\E[23m,
- rmacs=\E(B,
+ rmacs=^O,
         rmcup=\E[?1049l,
         rmir=\E[4l,
         rmkx=\E[?1l\E>,
_AT_@ -175,7 +175,7 @@ st| simpleterm,
         sgr0=\E[0m,
         sgr=%?%p9%t\E(0%e\E(B%;\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m,
         sitm=\E[3m,
- smacs=\E(0,
+ smacs=^N,
         smcup=\E[?1049h,
         smir=\E[4h,
         smkx=\E[?1h\E=,
Received on Mon Oct 13 2014 - 19:17:44 CEST

This archive was generated by hypermail 2.3.0 : Mon Oct 13 2014 - 19:24:12 CEST