FreeBSD Bugzilla – Attachment 7051 Details for
Bug 15556
Additional patches for www/w3m
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 2.12 KB, created by
nobutaka
on 1999-12-19 04:20:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
nobutaka
Created:
1999-12-19 04:20:01 UTC
Size:
2.12 KB
patch
obsolete
>diff -urN w3m.old/patches/patch-al w3m/patches/patch-al >--- w3m.old/patches/patch-al Thu Jan 1 09:00:00 1970 >+++ w3m/patches/patch-al Sat Dec 18 16:55:26 1999 >@@ -0,0 +1,55 @@ >+--- terms.c.orig Sat Dec 18 16:46:16 1999 >++++ terms.c Sat Dec 18 16:53:51 1999 >+@@ -14,8 +14,8 @@ >+ #include <string.h> >+ #ifdef USE_GPM >+ #include <gpm.h> >+-static int is_xterm = 0; >+ #endif >++static int is_xterm = 0; >+ >+ #ifdef AIX >+ #include <sys/select.h> >+@@ -1471,16 +1471,23 @@ >+ gpm_handler = gpm_process_mouse; >+ } >+ #endif >++ char *term; >++ >++ if (mouseActive) return; >++ term = getenv("TERM"); >++ if (!strncmp(term,"kterm",5) || !strncmp(term,"xterm",5)) { >++ is_xterm = 1; >++ } >+ mouseActive = 1; >+ } >+ >+ void mouse_end() >+ { >+ if (mouseActive == 0) return; >+-#ifdef USE_GPM >+ if (is_xterm) { >+ XTERM_OFF; >+ } >++#ifdef USE_GPM >+ else >+ Gpm_Close(); >+ #endif >+@@ -1491,17 +1498,13 @@ >+ { >+ if (!mouseActive) >+ mouse_init(); >+-#ifdef USE_GPM >+ if (is_xterm) >+-#endif >+ XTERM_ON; >+ } >+ >+ void mouse_inactive() >+ { >+-#ifdef USE_GPM >+ if (is_xterm) >+-#endif >+ XTERM_OFF; >+ } >+ >diff -urN w3m.old/patches/patch-am w3m/patches/patch-am >--- w3m.old/patches/patch-am Thu Jan 1 09:00:00 1970 >+++ w3m/patches/patch-am Sun Dec 19 00:40:32 1999 >@@ -0,0 +1,14 @@ >+--- keybind.c.orig Mon Dec 6 15:18:33 1999 >++++ keybind.c Mon Dec 6 15:24:31 1999 >+@@ -90,9 +90,9 @@ >+ /* 8 9 : ; < = > ? */ >+ nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, >+ /* @ A B C D E F G */ >+- nulcmd, movU, movD, movR, movL, nulcmd, nulcmd, nulcmd, >++ nulcmd, movU, movD, movR, movL, nulcmd, goLineL,pgFore, >+ /* H I J K L M N O */ >+- nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, mouse, nulcmd, nulcmd, >++ goLineF,pgBack, nulcmd, nulcmd, nulcmd, mouse, nulcmd, nulcmd, >+ /* P Q R S T U V W */ >+ nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, nulcmd, >+ /* X Y Z [ \ ] ^ _ */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 15556
: 7051