[hackers] [st] st should be xterm-compliant and not defining yet another braindead termcap

From: Anselm R. Garbe <arg_AT_suckless.org>
Date: Fri Mar 02 16:07:18 2007

changeset: 58:90251a9a4b58
tag: tip
user: Anselm R. Garbe <arg_AT_suckless.org>
date: Fri Mar 02 16:07:31 2007 +0100
summary: st should be xterm-compliant and not defining yet another braindead termcap

diff -r 92723bf904a9 -r 90251a9a4b58 process.c
--- a/process.c Fri Mar 02 16:00:51 2007 +0100
+++ b/process.c Fri Mar 02 16:07:31 2007 +0100
@@ -129,7 +129,7 @@ execute_command(int argc, const char **a
         if(!pid) {
                 /* child */
                 get_tty();
- putenv("TERM=st");
+ putenv("TERM=xterm");
                 chdir(pw->pw_dir);
                 args = calloc(3, sizeof(char*));
                 args[0] = malloc(strlen(pw->pw_shell) + 1);
diff -r 92723bf904a9 -r 90251a9a4b58 st.ti
--- a/st.ti Fri Mar 02 16:00:51 2007 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,31 +0,0 @@
-# terminfo description
-st|simple terminal emulator for X,
- bce, eo, km, mir, msgr, xenl,
- cols#80, it#8, lines#24,
- bel=^G, bold=\E[1m, civis=\E[?25l,
- clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M,
- csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D,
- cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C,
- cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
- cvvis=\E[?25h, dl=\E[%p1%dM,
- dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
- home=\E[H, hpa=\E[%i%p1%dG, ht=^I,
- il=\E[%p1%dL, il1=\E[L,
- ind=^J, is1=\E[?47l\E=\E[?1l,
- ka1=\EOw, ka3=\EOy, kb2=\EOu, kbs=^?,
- kc1=\EOq, kc3=\EOs, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B,
- kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kel=\E[8\^,
- kend=\E[8~, kent=\EOM, kf1=\E[11~, kf10=\E[21~,
- kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~,
- kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~,
- kf19=\E[33~, kf2=\E[12~, kf20=\E[34~, kf3=\E[13~,
- kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~,
- kf9=\E[20~, kfnd=\E[1~, khome=\E[7~, kich1=\E[2~,
- knp=\E[6~, kpp=\E[5~, kslt=\E[4~, op=\E[39;49m, rc=\E8,
- rev=\E[7m, ri=\EM, rmcup=\E[?47l\E8,
- rmkx=\E>, rmso=\E[27m,
- s0ds=\E(B, s1ds=\E(0, sc=\E7, smcup=\E7\E[?47h,
- smkx=\E=, smso=\E[7m, vpa=\E[%i%p1%dd,
- colors#8, pairs#64,
- op=\E[39;49m, setab=\E[%p1%{40}%+%dm,
- sgr0=\E[m\017, setaf=\E[%p1%{30}%+%dm,
Received on Fri Mar 02 2007 - 16:07:18 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:56:05 UTC