aboutsummaryrefslogtreecommitdiffstats
path: root/debian/patches/00-rxvt-mouse-support
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@vega.ocn.ne.jp>2011-05-03 16:44:14 +0000
committerTatsuya Kinoshita <tats@vega.ocn.ne.jp>2011-05-03 16:44:14 +0000
commit3ed51b364482af64749980ed7ce67812046b1713 (patch)
treea0cc68bf216c153e65f3b336b6b3b043132c42cb /debian/patches/00-rxvt-mouse-support
parentAdding upstream version 0.1.10+0.1.11pre+kokb23 (diff)
downloadw3m-3ed51b364482af64749980ed7ce67812046b1713.tar.gz
w3m-3ed51b364482af64749980ed7ce67812046b1713.zip
Releasing debian version 0.1.10+0.1.11pre+kokb23-4debian/0.1.10+0.1.11pre+kokb23-4
Diffstat (limited to '')
-rw-r--r--debian/patches/00-rxvt-mouse-support17
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/patches/00-rxvt-mouse-support b/debian/patches/00-rxvt-mouse-support
new file mode 100644
index 0000000..be1aff7
--- /dev/null
+++ b/debian/patches/00-rxvt-mouse-support
@@ -0,0 +1,17 @@
+PATCH: -p0
+
+--- terms.c.orig Mon Oct 30 12:16:31 2000
++++ terms.c Thu Nov 2 18:45:58 2000
+@@ -240,7 +240,12 @@
+ TerminalGet(tty, &d_ioval);
+ #ifdef MOUSE
+ term = getenv("TERM");
++#ifdef DEBIAN
++ if (!strncmp(term, "kterm", 5) || !strncmp(term, "xterm", 5)
++ || !strncmp(term, "rxvt", 4)) {
++#else
+ if (!strncmp(term, "kterm", 5) || !strncmp(term, "xterm", 5)) {
++#endif
+ is_xterm = 1;
+ }
+ #endif