Only in FOO/rxvt-2.7.5: ChangeLog
Only in FOO/rxvt-2.7.5: INSTALL
Only in FOO/rxvt-2.7.5: Makefile
Only in FOO/rxvt-2.7.5: Makefile.in
Only in FOO/rxvt-2.7.5: README.configure
Only in FOO/rxvt-2.7.5/autoconf: Make.common.in
Only in FOO/rxvt-2.7.5/autoconf: acconfig.h
Only in FOO/rxvt-2.7.5/autoconf: aclocal.m4
Only in FOO/rxvt-2.7.5/autoconf: config.guess
diff -u -B -b -r FOO/rxvt-2.7.5/autoconf/config.h.in modified/autoconf/config.h.in
--- FOO/rxvt-2.7.5/autoconf/config.h.in	Tue Sep 19 01:57:07 2000
+++ modified/autoconf/config.h.in	Sun Feb 11 18:22:00 2001
@@ -98,6 +98,14 @@
  */
 #undef NO_MOUSE_WHEEL
 
+
+/*
+ * When CTRL is pressed, wheel events accelerate scrolling. Unpress CTRL
+ * to reset the velocity of scrolling to zero.
+ */
+#define SLIP_WHEELING
+
+
 /* Define if you don't want handling for rarely used features */
 #undef NO_FRILLS
 
Only in FOO/rxvt-2.7.5/autoconf: config.sub
diff -u -B -b -r FOO/rxvt-2.7.5/autoconf/configure.in modified/autoconf/configure.in
--- FOO/rxvt-2.7.5/autoconf/configure.in	Wed Sep 13 02:00:44 2000
+++ modified/autoconf/configure.in	Sun Feb 11 18:21:44 2001
@@ -1,6 +1,6 @@
 dnl# -*- sh -*-
 dnl#
-dnl# $Id: configure.in,v 1.97 2000/09/13 06:57:38 gcw Exp $
+dnl# $Id: configure.in 1.2 Fri, 09 Feb 2001 00:40:06 -0500 rahimi $
 dnl#
 dnl# Process this file with autoconf to produce a configure script.
 dnl#
@@ -58,6 +58,7 @@
     support_lastlog=yes
     support_menubar=yes
     support_mousewheel=yes
+    support_slipwheeling=yes
     support_oldselection=yes
     support_utmp=yes
     support_wtmp=yes
@@ -81,6 +82,7 @@
     support_lastlog=yes
     support_menubar=yes
     support_mousewheel=yes
+    support_slipwheeling=yes
     support_oldselection=yes
     support_utmp=yes
     support_wtmp=yes
@@ -244,6 +246,13 @@
     support_mousewheel=$enableval
   fi])
 
+AC_ARG_ENABLE(slipwheeling,
+  [  --enable-slipwheeling   enable accelrating scrolling with ctrl+wheel  *],
+  [if test x$enableval = xyes -o x$enableval = xno; then
+    support_slipwheel=$enableval
+    OBJSLIPWHEELING="slipwheel.o"
+  fi])
+
 AC_ARG_ENABLE(old-selection,
   [  --enable-old-selection  enable v2.20 (& prior) mouse selection style support*],
   [if test x$enableval = xyes -o x$enableval = xno; then
@@ -1097,7 +1106,7 @@
 else
     AC_DEFINE(NO_STRINGS)
 fi
-OBJLIST="command.o init.o $OBJGRAPHICS $OBJGRKELOT $OBJLOGGING main.o $OBJMENUBAR misc.o netdisp.o screen.o scrollbar.o $OBJSCROLLBAR $OBJSTRINGS xdefaults.o $OBJXPM"
+OBJLIST="command.o init.o $OBJGRAPHICS $OBJGRKELOT $OBJLOGGING main.o $OBJMENUBAR misc.o netdisp.o screen.o scrollbar.o $OBJSCROLLBAR $OBJSTRINGS $OBJSLIPWHEELING xdefaults.o $OBJXPM"
 AC_SUBST(OBJLIST)
 LIBOBJLIST=`echo $OBJLIST | sed 's/\.o/.lo/g'`
 AC_SUBST(LIBOBJLIST)
@@ -1159,6 +1168,8 @@
 echo "  scrollbar-next.o:           "$HASIT
 if test x$support_scroll_xterm = xyes; then HASIT="yes"; else HASIT="no"; fi
 echo "  scrollbar-xterm.o:          "$HASIT
+if test x$support_slipwheeling = xyes; then HASIT="yes"; else HASIT="no"; fi
+echo "  slipwheel.o:                "$HASIT
 if test x$OBJSTRINGS != x; then HASIT="yes"; else HASIT="no"; fi
 echo "  strings.o:                  "$HASIT
 if test x$OBJXPM != x; then HASIT="yes"; else HASIT="no"; fi
Only in FOO/rxvt-2.7.5/autoconf: install-sh
Only in FOO/rxvt-2.7.5/autoconf: libtool.m4
Only in FOO/rxvt-2.7.5/autoconf: ltconfig
Only in FOO/rxvt-2.7.5/autoconf: ltmain.sh
Only in FOO/rxvt-2.7.5/autoconf: mkinstalldirs
Only in FOO/rxvt-2.7.5/autoconf: xpm.m4
Only in FOO/rxvt-2.7.5: configure
Only in FOO/rxvt-2.7.5: doc
Only in FOO/rxvt-2.7.5: rclock
Only in FOO/rxvt-2.7.5: rxvt-2.7.5.lsm
Only in FOO/rxvt-2.7.5/src: .indent.pro
diff -u -B -b -r FOO/rxvt-2.7.5/src/Makefile.in modified/src/Makefile.in
--- FOO/rxvt-2.7.5/src/Makefile.in	Tue Sep 19 00:40:46 2000
+++ modified/src/Makefile.in	Sun Feb 11 18:21:25 2001
@@ -1,4 +1,4 @@
-# $Id: Makefile.in,v 1.43 2000/09/19 05:40:46 gcw Exp $
+# $Id: Makefile.in 1.2 Fri, 09 Feb 2001 00:40:06 -0500 rahimi $
 @MCOMMON@
 
 srcdir =	@srcdir@
@@ -21,7 +21,8 @@
 
 LIBSRCS = command.c graphics.c grkelot.c init.c logging.c main.c menubar.c \
 	misc.c netdisp.c screen.c scrollbar.c scrollbar-rxvt.c \
-	scrollbar-next.c scrollbar-xterm.c strings.c xdefaults.c xpm.c
+	scrollbar-next.c scrollbar-xterm.c strings.c xdefaults.c xpm.c \
+        slipwheel.c
 
 SRCS =  rxvt.c $(LIBSRCS)
 
@@ -36,13 +37,13 @@
 	logging.extpro main.extpro menubar.extpro misc.extpro netdisp.extpro \
 	screen.extpro scrollbar.extpro scrollbar-rxvt.extpro \
 	scrollbar-next.extpro scrollbar-xterm.extpro strings.extpro \
-	xdefaults.extpro xpm.extpro
+	xdefaults.extpro xpm.extpro slipwheel.extpro
 
 INTPROS = command.intpro graphics.intpro grkelot.intpro init.intpro \
 	logging.intpro main.intpro menubar.intpro misc.intpro netdisp.intpro \
 	screen.intpro scrollbar.intpro scrollbar-rxvt.intpro \
 	scrollbar-next.intpro scrollbar-xterm.intpro strings.intpro \
-	xdefaults.intpro xpm.intpro
+	xdefaults.intpro xpm.intpro slipwheel.intpro
 
 DEPS =  rxvt.h ${basedir}/config.h feature.h rsizes.h $(EXTPROS)
 
@@ -144,6 +145,7 @@
 scrollbar-rxvt.o:   scrollbar-rxvt.c  $(DEPS) scrollbar-rxvt.intpro
 scrollbar-next.o:   scrollbar-next.c  $(DEPS) scrollbar-next.intpro
 scrollbar-xterm.o:  scrollbar-xterm.c $(DEPS) scrollbar-xterm.intpro
+silpwheel.o:        slipwheel.c $(DEPS) slipwheel.intpro
 strings.o:          strings.c   $(DEPS) strings.intpro
 xdefaults.o:        xdefaults.c $(DEPS) xdefaults.intpro	  version.h
 xpm.o:              xpm.c       $(DEPS) xpm.intpro
@@ -166,3 +168,4 @@
 strings.lo:         strings.c   $(DEPS) strings.intpro
 xdefaults.lo:       xdefaults.c $(DEPS) xdefaults.intpro	  version.h
 xpm.lo:       xpm.c       $(DEPS) xpm.intpro
+slipwheel.lo:       slipwheel.c       $(DEPS) slipwheel.intpro
diff -u -B -b -r FOO/rxvt-2.7.5/src/command.c modified/src/command.c
--- FOO/rxvt-2.7.5/src/command.c	Tue Sep 19 00:38:45 2000
+++ modified/src/command.c	Sun Feb 11 18:21:16 2001
@@ -1,7 +1,7 @@
 /*--------------------------------*-C-*---------------------------------*
  * File:	command.c
  *----------------------------------------------------------------------*
- * $Id: command.c,v 1.181 2000/09/19 05:38:21 gcw Exp $
+ * $Id: command.c 1.2 Fri, 09 Feb 2001 00:40:06 -0500 rahimi $
  *
  * All portions of code are copyright by their respective author/s.
  * Copyright (C) 1992      John Bovey, University of Kent at Canterbury <jdb@ukc.ac.uk>
@@ -46,6 +46,7 @@
 #include "rxvt.h"		/* NECESSARY */
 #include "version.h"
 #include "command.h"
+#include "slipwheel.h"
 
 /*----------------------------------------------------------------------*/
 
@@ -107,6 +109,17 @@
     }
 #endif				/* USE_XIM */
 
+
+#ifdef SLIP_WHEELING
+    if(ev->xkey.type == KeyRelease) {
+      int kk_sym = XKeycodeToKeysym(r->Xdisplay,ev->xkey.keycode,0);
+      if((XK_Control_L==kk_sym) || (XK_Control_R==kk_sym))
+	slip_wheeling_accel(r,0);
+      return;
+    }
+#endif
+
+
 #ifdef USE_XIM
     if (valid_keysym)
 #endif
@@ -267,6 +280,14 @@
 		case XK_Down:	/* "\033[B" */
 		case XK_Right:	/* "\033[C" */
 		case XK_Left:	/* "\033[D" */
+#ifdef SLIP_WHEELING
+		  if(ctrl && ((keysym==XK_Up)||(keysym==XK_Down))) {
+		    fprintf(stderr, "Slipping keysym %x\n", keysym);
+		    slip_wheeling_accel(r, keysym==XK_Up?1:
+					(keysym==XK_Down?-1:0));
+		    break;
+		  }
+#endif /* SLIP_WHEELING */
 		    STRCPY(r->h->kbuf, "\033[Z");
 		    r->h->kbuf[2] = ("DACB"[keysym - XK_Left]);
 		/* do Shift first */
@@ -642,6 +663,11 @@
 		return (*r->h->cmdbuf_ptr++);
 	}
 
+
+#ifdef SLIP_WHEELING
+	slip_wheeling_idle(r);
+#endif /* SLIP_WHEELING */
+
 #ifndef NO_SCROLLBAR_BUTTON_CONTINUAL_SCROLLING
 	if (scrollbar_isUp()) {
 	    if (!r->h->scroll_arrow_delay-- && rxvt_scr_page(r, UP, 1)) {
@@ -674,6 +700,8 @@
 	    quick_timeout |= r->h->want_full_refresh;
 #endif
 	}
+	/*	fprintf(stderr, "using quckto %d, want ref %d\n",
+		quick_timeout, r->h->want_full_refresh);*/
 	retval = select(r->num_fds, &readfds, NULL, NULL,
 			(quick_timeout ? &value : NULL));
 
@@ -829,6 +857,9 @@
     case KeyPress:
 	rxvt_lookup_key(r, ev);
 	break;
+    case KeyRelease:
+        rxvt_lookup_key(r,ev);
+	break;
 
     case ClientMessage:
 	if (ev->xclient.format == 32 && ev->xclient.data.l[0] == r->h->wmDeleteWindow)
@@ -1256,6 +1287,7 @@
 		case Button5:
 		    {
 			int             i, v;
+			int slip_wheel;
 
 			i = (ev->xbutton.state & ShiftMask) ? 1 : 5;
 			v = (ev->xbutton.button == Button4) ? UP : DN;
@@ -1270,6 +1302,12 @@
 			    rxvt_scrollbar_show(r, 1);
 			}
 # endif
+# ifdef SLIP_WHEELING
+			if(ev->xbutton.state&ControlMask) {
+			    int slip_accel = v==UP?1:-1;
+			    slip_wheeling_accel(r,slip_accel);
+			}
+# endif /* SLIP_WHEELING */
 		    }
 		    break;
 #endif
Only in FOO/rxvt-2.7.5/src: command.extpro
Only in FOO/rxvt-2.7.5/src: command.h
Only in FOO/rxvt-2.7.5/src: command.intpro
Only in FOO/rxvt-2.7.5/src: feature.h
Only in FOO/rxvt-2.7.5/src: gcc-Wall
Only in FOO/rxvt-2.7.5/src: graphics
Only in FOO/rxvt-2.7.5/src: graphics.c
Only in FOO/rxvt-2.7.5/src: graphics.extpro
Only in FOO/rxvt-2.7.5/src: graphics.intpro
Only in FOO/rxvt-2.7.5/src: grkelot.c
Only in FOO/rxvt-2.7.5/src: grkelot.extpro
Only in FOO/rxvt-2.7.5/src: grkelot.h
Only in FOO/rxvt-2.7.5/src: grkelot.intpro
diff -u -B -b -r FOO/rxvt-2.7.5/src/init.c modified/src/init.c
--- FOO/rxvt-2.7.5/src/init.c	Tue Sep 19 01:31:43 2000
+++ modified/src/init.c	Sun Feb 11 18:21:11 2001
@@ -1,7 +1,7 @@
 /*--------------------------------*-C-*---------------------------------*
  * File:	init.c
  *----------------------------------------------------------------------*
- * $Id: init.c,v 1.44 2000/09/19 06:31:17 gcw Exp $
+ * $Id: init.c 1.2 Fri, 09 Feb 2001 00:40:06 -0500 rahimi $
  *
  * All portions of code are copyright by their respective author/s.
  * Copyright (C) 1992      John Bovey, University of Kent at Canterbury <jdb@ukc.ac.uk>
@@ -163,6 +163,7 @@
     r->TermWin.ext_bwidth = EXTERNALBORDERWIDTH;
     r->TermWin.saveLines = SAVELINES;
     r->numPixColors = TOTAL_COLORS;
+    r->TermWin.velocity = 0;
 #ifndef NO_NEW_SELECTION
     r->selection_style = NEW_SELECT;
 #else
@@ -906,7 +907,7 @@
 		     (char **)argv, argc, &r->szHint, &wmHint, &classHint);
 
     XSelectInput(r->Xdisplay, r->TermWin.parent[0],
-		 (KeyPressMask | FocusChangeMask
+		 (KeyPressMask | KeyReleaseMask | FocusChangeMask
 		  | VisibilityChangeMask | StructureNotifyMask));
 
 /* vt cursor: Black-on-White is standard, but this is more popular */
Only in FOO/rxvt-2.7.5/src: init.extpro
Only in FOO/rxvt-2.7.5/src: init.h
Only in FOO/rxvt-2.7.5/src: init.intpro
Only in FOO/rxvt-2.7.5/src: logging.c
Only in FOO/rxvt-2.7.5/src: logging.extpro
Only in FOO/rxvt-2.7.5/src: logging.h
Only in FOO/rxvt-2.7.5/src: logging.intpro
Only in FOO/rxvt-2.7.5/src: main.c
Only in FOO/rxvt-2.7.5/src: main.extpro
Only in FOO/rxvt-2.7.5/src: main.intpro
Only in FOO/rxvt-2.7.5/src: makeextprotos-awk
Only in FOO/rxvt-2.7.5/src: makeintprotos-awk
Only in FOO/rxvt-2.7.5/src: menubar.c
Only in FOO/rxvt-2.7.5/src: menubar.extpro
Only in FOO/rxvt-2.7.5/src: menubar.h
Only in FOO/rxvt-2.7.5/src: menubar.intpro
Only in FOO/rxvt-2.7.5/src: misc.c
Only in FOO/rxvt-2.7.5/src: misc.extpro
Only in FOO/rxvt-2.7.5/src: misc.intpro
Only in FOO/rxvt-2.7.5/src: netdisp.c
Only in FOO/rxvt-2.7.5/src: netdisp.extpro
Only in FOO/rxvt-2.7.5/src: netdisp.h
Only in FOO/rxvt-2.7.5/src: netdisp.intpro
Only in FOO/rxvt-2.7.5/src: protos.h
Only in FOO/rxvt-2.7.5/src: rsizes.h.in
Only in FOO/rxvt-2.7.5/src: rxvt.c
diff -u -B -b -r FOO/rxvt-2.7.5/src/rxvt.h modified/src/rxvt.h
--- FOO/rxvt-2.7.5/src/rxvt.h	Sun Sep 17 00:41:57 2000
+++ modified/src/rxvt.h	Sun Feb 11 18:20:47 2001
@@ -1,5 +1,5 @@
 /*
- * $Id: rxvt.h,v 1.109 2000/09/16 06:25:39 gcw Exp $
+ * $Id: rxvt.h 1.2 Fri, 09 Feb 2001 00:40:06 -0500 rahimi $
  */
 
 #ifndef _RXVT_H_		/* include once only */
@@ -187,6 +187,9 @@
 		    saveLines;	/* number of lines that fit in scrollback   */
     u_int16_t       nscrolled,	/* number of line actually scrolled         */
                     view_start;	/* scrollback view starts here              */
+#ifdef SLIP_WHEELING
+    int             velocity;   /* slip wheel velocity.                     */
+#endif /* SLIP_WHEEL */
     Window          parent[KNOW_PARENTS],	/* parent[0] is our window  */
                     vt;		/* vt100 window                             */
     GC              gc;		/* GC for drawing text                      */
@@ -830,6 +833,10 @@
 #define rxvt_Gr_ButtonPress(x,y)	rxvt_Gr_ButtonReport (r, 'P',(x),(y))
 #define rxvt_Gr_ButtonRelease(x,y)	rxvt_Gr_ButtonReport (r, 'R',(x),(y))
 
+#ifdef HAVE_STRUCT_UTMPX
+#define RXVT_UTMP_AS_UTMPX
+#endif
+
 #ifdef UTMP_SUPPORT
 # undef UTMP
 # ifdef RXVT_UTMP_AS_UTMPX
@@ -947,6 +954,9 @@
 #ifndef NO_SCROLLBAR_BUTTON_CONTINUAL_SCROLLING
                     scroll_arrow_delay,
 #endif
+#ifdef SLIP_WHEELING
+                    slip_wheeling_delay,
+#endif /*SLIP_WHEELING*/
                     refresh_count,
 		    refresh_limit,
                     fnum,	/* logical font number                       */
Only in FOO/rxvt-2.7.5/src: rxvtgrx.h
diff -u -B -b -r FOO/rxvt-2.7.5/src/screen.c modified/src/screen.c
--- FOO/rxvt-2.7.5/src/screen.c	Mon Sep 18 21:34:36 2000
+++ modified/src/screen.c	Sun Feb 11 18:20:30 2001
@@ -1922,9 +1922,17 @@
 	n = r->TermWin.view_start + nlines;
 	r->TermWin.view_start = n < r->TermWin.nscrolled ? n
 							 : r->TermWin.nscrolled;
+#ifdef SLIP_WHEELING
+	if(r->TermWin.view_start == r->TermWin.nscrolled)
+	    slip_wheeling_accel(r,0);
+#endif SLIP_WHEELING
     } else {
 	n = r->TermWin.view_start - nlines;
 	r->TermWin.view_start = n > 0 ? n : 0;
+#ifdef SLIP_WHEELING
+	if(r->TermWin.view_start == 0)
+	    slip_wheeling_accel(r,0);
+#endif SLIP_WHEELING
     }
 
     if (rxvt_Gr_Displayed(r))
Only in FOO/rxvt-2.7.5/src: screen.extpro
Only in FOO/rxvt-2.7.5/src: screen.h
Only in FOO/rxvt-2.7.5/src: screen.intpro
Only in FOO/rxvt-2.7.5/src: scrollbar-next.c
Only in FOO/rxvt-2.7.5/src: scrollbar-next.extpro
Only in FOO/rxvt-2.7.5/src: scrollbar-next.intpro
Only in FOO/rxvt-2.7.5/src: scrollbar-rxvt.c
Only in FOO/rxvt-2.7.5/src: scrollbar-rxvt.extpro
Only in FOO/rxvt-2.7.5/src: scrollbar-rxvt.intpro
Only in FOO/rxvt-2.7.5/src: scrollbar-xterm.c
Only in FOO/rxvt-2.7.5/src: scrollbar-xterm.extpro
Only in FOO/rxvt-2.7.5/src: scrollbar-xterm.intpro
Only in FOO/rxvt-2.7.5/src: scrollbar.c
Only in FOO/rxvt-2.7.5/src: scrollbar.extpro
Only in FOO/rxvt-2.7.5/src: scrollbar.intpro
Only in modified/src: slipwheel.c
Only in modified/src: slipwheel.h
Only in FOO/rxvt-2.7.5/src: strings.c
Only in FOO/rxvt-2.7.5/src: strings.extpro
Only in FOO/rxvt-2.7.5/src: strings.intpro
Only in FOO/rxvt-2.7.5/src: test
Only in FOO/rxvt-2.7.5/src: version.h
Only in FOO/rxvt-2.7.5/src: xdefaults.c
Only in FOO/rxvt-2.7.5/src: xdefaults.extpro
Only in FOO/rxvt-2.7.5/src: xdefaults.intpro
Only in FOO/rxvt-2.7.5/src: xpm.c
Only in FOO/rxvt-2.7.5/src: xpm.extpro
Only in FOO/rxvt-2.7.5/src: xpm.intpro
