c084c06b40
This sequence clears tab stops in the terminal. If the argument is not present or is zero, then removes the tab stop of the current horizontal position. If the argument is 3 then removes all the tab stops of the terminal. It was necessary modify the terminfo entry tbc, because it has \E[2g instead of the correct \E[3g. Signed-off-by: Roberto E. Vargas Caballero <k0ga@shike2.com> --- st.c | 12 ++++++++++++ st.info | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-)
112 lines
1.7 KiB
Plaintext
112 lines
1.7 KiB
Plaintext
# unsupported xterm caps are (getting) commented.
|
|
# as soon as they work, uncomment them.
|
|
st| simpleterm,
|
|
acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
|
|
am,
|
|
# bce,
|
|
bel=^G,
|
|
# blink=\E[5m,
|
|
bold=\E[1m,
|
|
cbt=\E[Z,
|
|
cvvis=\E[?25h,
|
|
civis=\E[?25l,
|
|
clear=\E[H\E[2J,
|
|
cnorm=\E[?12l\E[?25h,
|
|
colors#8,
|
|
cols#80,
|
|
cr=^M,
|
|
csr=\E[%i%p1%d;%p2%dr,
|
|
cub=\E[%p1%dD,
|
|
cub1=^H,
|
|
cud1=^J,
|
|
cud=\E[%p1%dB,
|
|
cuf1=\E[C,
|
|
cuf=\E[%p1%dC,
|
|
cup=\E[%i%p1%d;%p2%dH,
|
|
cuu1=\E[A,
|
|
cuu=\E[%p1%dA,
|
|
dch=\E[%p1%dP,
|
|
dch1=\E[P,
|
|
dl=\E[%p1%dM,
|
|
dl1=\E[M,
|
|
ech=\E[%p1%dX,
|
|
ed=\E[J,
|
|
el=\E[K,
|
|
el1=\E[1K,
|
|
flash=\E[?5h\E[?5l,
|
|
fsl=^G,
|
|
home=\E[H,
|
|
hpa=\E[%i%p1%dG,
|
|
hs,
|
|
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,
|
|
kcub1=\E[D,
|
|
kcud1=\E[B,
|
|
kcuf1=\E[C,
|
|
kcuu1=\E[A,
|
|
kLFT=\E[d,
|
|
kRIT=\E[c,
|
|
kind=\E[a,
|
|
kri=\E[b,
|
|
kdch1=\E[3~,
|
|
kich1=\E[2~,
|
|
kend=\E[4~,
|
|
kf10=\E[21~,
|
|
kf11=\E[23~,
|
|
kf12=\E[24~,
|
|
kf1=\EOP,
|
|
kf2=\EOQ,
|
|
kf3=\EOR,
|
|
kf4=\EOS,
|
|
kf5=\E[15~,
|
|
kf6=\E[17~,
|
|
kf7=\E[18~,
|
|
kf8=\E[19~,
|
|
kf9=\E[20~,
|
|
khome=\E[1~,
|
|
knp=\E[6~,
|
|
kmous=\E[M,
|
|
kpp=\E[5~,
|
|
lines#24,
|
|
mir,
|
|
msgr,
|
|
ncv#3,
|
|
op=\E[39;49m,
|
|
pairs#64,
|
|
rc=\E8,
|
|
rev=\E[7m,
|
|
ri=\EM,
|
|
rmacs=\E(B,
|
|
rmcup=\E[?1049l,
|
|
rmso=\E[m,
|
|
rmul=\E[m,
|
|
sc=\E7,
|
|
setab=\E[4%p1%dm,
|
|
setaf=\E[3%p1%dm,
|
|
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,
|
|
smacs=\E(0,
|
|
smcup=\E[?1049h,
|
|
smso=\E[7m,
|
|
smul=\E[4m,
|
|
tbc=\E[3g,
|
|
tsl=\E]0;,
|
|
ul,
|
|
xenl,
|
|
|
|
st-256color| simpleterm with 256 colors,
|
|
use=st,
|
|
colors#256,
|
|
pairs#32767,
|
|
# Nicked from xterm-256color
|
|
setab=\E[%?%p1%{8}%<%t4%p1%d%e%p1%{16}%<%t10%p1%{8}%-%d%e48;5;%p1%d%;m,
|
|
setaf=\E[%?%p1%{8}%<%t3%p1%d%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;%p1%d%;m,
|