diff options
| author | Roberto E. Vargas Caballero <k0ga@shike2.com> | 2020-04-11 14:46:17 +0200 |
|---|---|---|
| committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2020-04-11 15:23:23 +0200 |
| commit | 771bc401f76b329f78a285ca65355d4b43415172 (patch) | |
| tree | 522bb4422d46fbac0211b4b4e075cd2c304f2543 | |
| parent | config.def.h: add a comment for the scroll variable (diff) | |
| download | st-771bc401f76b329f78a285ca65355d4b43415172.tar.gz st-771bc401f76b329f78a285ca65355d4b43415172.zip | |
Add st-mono terminfo entry
This entry is intended for monocolor display and it is very
helpful for color haters.
| -rw-r--r-- | st.info | 20 |
1 files changed, 12 insertions, 8 deletions
| @@ -1,4 +1,4 @@ | |||
| 1 | st| simpleterm, | 1 | st-mono| simpleterm monocolor, |
| 2 | acsc=+C\,D-A.B0E``aaffgghFiGjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, | 2 | acsc=+C\,D-A.B0E``aaffgghFiGjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, |
| 3 | am, | 3 | am, |
| 4 | bce, | 4 | bce, |
| @@ -10,7 +10,7 @@ st| simpleterm, | |||
| 10 | civis=\E[?25l, | 10 | civis=\E[?25l, |
| 11 | clear=\E[H\E[2J, | 11 | clear=\E[H\E[2J, |
| 12 | cnorm=\E[?12l\E[?25h, | 12 | cnorm=\E[?12l\E[?25h, |
| 13 | colors#8, | 13 | colors#2, |
| 14 | cols#80, | 14 | cols#80, |
| 15 | cr=^M, | 15 | cr=^M, |
| 16 | csr=\E[%i%p1%d;%p2%dr, | 16 | csr=\E[%i%p1%d;%p2%dr, |
| @@ -168,13 +168,8 @@ st| simpleterm, | |||
| 168 | rs1=\Ec, | 168 | rs1=\Ec, |
| 169 | rs2=\E[4l\E>\E[?1034l, | 169 | rs2=\E[4l\E>\E[?1034l, |
| 170 | sc=\E7, | 170 | sc=\E7, |
| 171 | setab=\E[4%p1%dm, | ||
| 172 | setaf=\E[3%p1%dm, | ||
| 173 | setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, | ||
| 174 | setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, | ||
| 175 | sgr0=\E[0m, | ||
| 176 | 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, | ||
| 177 | sitm=\E[3m, | 171 | sitm=\E[3m, |
| 172 | sgr0=\E[0m, | ||
| 178 | smacs=\E(0, | 173 | smacs=\E(0, |
| 179 | smcup=\E[?1049h, | 174 | smcup=\E[?1049h, |
| 180 | smir=\E[4h, | 175 | smir=\E[4h, |
| @@ -194,6 +189,15 @@ st| simpleterm, | |||
| 194 | Se=\E[2 q, | 189 | Se=\E[2 q, |
| 195 | Ss=\E[%p1%d q, | 190 | Ss=\E[%p1%d q, |
| 196 | 191 | ||
| 192 | st| simpleterm, | ||
| 193 | use=st-mono, | ||
| 194 | colors#8, | ||
| 195 | setab=\E[4%p1%dm, | ||
| 196 | setaf=\E[3%p1%dm, | ||
| 197 | setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, | ||
| 198 | setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, | ||
| 199 | 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, | ||
| 200 | |||
| 197 | st-256color| simpleterm with 256 colors, | 201 | st-256color| simpleterm with 256 colors, |
| 198 | use=st, | 202 | use=st, |
| 199 | ccc, | 203 | ccc, |
