aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwen <wen@FreeBSD.org>2010-06-04 09:26:22 +0800
committerwen <wen@FreeBSD.org>2010-06-04 09:26:22 +0800
commit491eb2f58b59850791b86579d71bb9bed6045897 (patch)
tree88e3e87648d93180d505bc5e989fd9086d564838
parent2c517ae41bc125bae8449cba549f7c0b8315eebf (diff)
downloadfreebsd-ports-gnome-491eb2f58b59850791b86579d71bb9bed6045897.tar.gz
freebsd-ports-gnome-491eb2f58b59850791b86579d71bb9bed6045897.tar.zst
freebsd-ports-gnome-491eb2f58b59850791b86579d71bb9bed6045897.zip
- Fix the bug that tmux don't assume \177 as backspace char
PR: ports/140339 Submitted by: Anonymous <swell.k@gmail.com>
-rw-r--r--sysutils/tmux/Makefile2
-rw-r--r--sysutils/tmux/files/patch-tty-keys.c11
2 files changed, 12 insertions, 1 deletions
diff --git a/sysutils/tmux/Makefile b/sysutils/tmux/Makefile
index 57326456288b..391b4d2de861 100644
--- a/sysutils/tmux/Makefile
+++ b/sysutils/tmux/Makefile
@@ -7,7 +7,7 @@
PORTNAME= tmux
PORTVERSION= 1.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
diff --git a/sysutils/tmux/files/patch-tty-keys.c b/sysutils/tmux/files/patch-tty-keys.c
new file mode 100644
index 000000000000..6a8bf625c9cc
--- /dev/null
+++ b/sysutils/tmux/files/patch-tty-keys.c
@@ -0,0 +1,11 @@
+--- tty-keys.c.orig 2010-06-04 08:45:52.000000000 +0800
++++ tty-keys.c 2010-06-04 08:46:45.000000000 +0800
+@@ -456,8 +456,6 @@
+ * used. termios should have a better idea.
+ */
+ bspace = tty->tio.c_cc[VERASE];
+- if (bspace != _POSIX_VDISABLE && key == bspace)
+- key = KEYC_BSPACE;
+ goto handle_key;
+ }
+