JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
Use G1 for alternate charset
authorRoberto E. Vargas Caballero <k0ga@shike2.com>
Wed, 8 Oct 2014 09:35:45 +0000 (11:35 +0200)
committerRoberto E. Vargas Caballero <k0ga@shike2.com>
Wed, 8 Oct 2014 09:35:45 +0000 (11:35 +0200)
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.

st.info

diff --git a/st.info b/st.info
index 3b754db..c5a9c2d 100644 (file)
--- a/st.info
+++ b/st.info
@@ -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>,
@@ -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=,