[wiki] [sites] Remove xterm fallback patch || FRIGN

From: <git_AT_suckless.org>
Date: Sun, 20 Sep 2015 21:02:20 +0200

commit e9ca396c1d83e1f565739e805886b0d3942c2e81
Author: FRIGN <dev_AT_frign.de>
Date: Sun Sep 20 21:01:28 2015 +0200

    Remove xterm fallback patch
    
    This patch solves a problem that does not exist. It should've been
    removed as soon as k0ga pointed out it's possible to do that by
    just running ssh with TERM set properly.

diff --git a/st.suckless.org/patches/xterm_fallback.diff b/st.suckless.org/patches/xterm_fallback.diff
deleted file mode 100644
index 6d18969..0000000
--- a/st.suckless.org/patches/xterm_fallback.diff
+++ /dev/null
_AT_@ -1,51 +0,0 @@
-From 592c9f76bd234a12131a67e7c6dfdffa2f04f6e8 Mon Sep 17 00:00:00 2001
-From: Alex Kozadaev <akozadaev at yahoo com>
-Date: Wed, 12 Aug 2015 09:02:36 +0100
-Subject: [PATCH] Wrapper for xterm to fix missing .terminfo.
-
-The patch allows automatic fallback to xterm and xterm-256color in case the st
-and st-256color is not available. This setup allows hassle-free work on multiple
-remote SSH servers when uploading .terminfo on every one of them isn't an option.
----
- config.def.h | 2 +-
- st.info      | 7 ++++++-
- 2 files changed, 7 insertions(+), 2 deletions(-)
-
-diff --git a/config.def.h b/config.def.h
-index 930e468..61c6c50 100644
---- a/config.def.h
-+++ b/config.def.h
-_AT_@ -63,7 +63,7 @@ static unsigned int cursorthickness = 2;
- static int bellvolume = 0;
-
- /* TERM value */
--static char termname[] = "st-256color";
-+static char termname[] = "xterm";
-
- static unsigned int tabspaces = 8;
-
-diff --git a/st.info b/st.info
-index b70fefa..72ea938 100644
---- a/st.info
-+++ b/st.info
-_AT_@ -187,7 +187,6 @@ st| simpleterm,
- 	xenl,
- 	vpa=\E[%i%p1%dd,
-
--
- st-256color| simpleterm with 256 colors,
- 	use=st,
- 	colors#256,
-_AT_@ -211,3 +210,9 @@ st-meta-256color| simpleterm with meta key and 256 colors,
- 	smm=\E[?1034h,
- 	rs2=\E[4l\E>\E[?1034h,
- 	is2=\E[4l\E>\E[?1034h,
-+
-+xterm| st,
-+	use=st,
-+
-+xterm-256color| st-256-color,
-+	use=st-256color,
---
-2.1.4
-
diff --git a/st.suckless.org/patches/xterm_fallback.md b/st.suckless.org/patches/xterm_fallback.md
deleted file mode 100644
index 291f7e6..0000000
--- a/st.suckless.org/patches/xterm_fallback.md
+++ /dev/null
_AT_@ -1,22 +0,0 @@
-#XTerm fallback
-
-##Description
-The patch redefines xterm and xterm-256color terminals to be aliases of st and st-256color respsectively. If the st terminfo is installed - the st terminal is used. If however it is not - the terminal falls back to the xterm terminal and thus ensures seamless operation on a remote SSH servers.
-
-*PLEASE NOTE: This patch assumes the st is the only terminal in the system. If it is not the case however, please see alternative solution as recommended by Roberto E. Vargas Caballero (k0ga)*
-
-##Download
-
-* [xterm_fallback.diff](xterm_fallback.diff)
-
-or
-
-add the following in the .bashrc (thanks k0ga):
-
-```bash
-    alias ssh='TERM=xterm ssh'
-```
-
-##Author
-
-[Alex Kozadaev](snobb_AT_gmx.com)
Received on Sun Sep 20 2015 - 21:02:20 CEST

This archive was generated by hypermail 2.3.0 : Sun Sep 20 2015 - 21:12:11 CEST