It works this way by default in mozilla.  You'll be able find online how to make it 
work with other things like emacs and netscape...for example, to get it working in 
emacs, edit your ~/.emacs file and add these lines:

<snip>

;; wheel mouse stuff
(defun up-slightly () (interactive) (scroll-up 5))
(defun down-slightly () (interactive) (scroll-down 5))
(global-set-key [mouse-4] 'down-slightly)
(global-set-key [mouse-5] 'up-slightly)

(defun up-one () (interactive) (scroll-up 1))
(defun down-one () (interactive) (scroll-down 1))
(global-set-key [S-mouse-4] 'down-one)
(global-set-key [S-mouse-5] 'up-one)


(defun up-a-lot () (interactive) (scroll-up))
(defun down-a-lot () (interactive) (scroll-down))
(global-set-key [C-mouse-4] 'down-a-lot)
(global-set-key [C-mouse-5] 'up-a-lot)

</snip>

I don't remember having to recompile the kernel or anything.

This is the page I had referred to regarding this subject:
http://koala.ilog.fr/colas/mouse-wheel-scroll/

Thanks
Emad
* David P. Giffen <[EMAIL PROTECTED]> [2002-08-19 07:05:56]:
> Emad, Does your wheel work this way as well, or whould I have to do 
> something differnt to get that to work as well?
> 
> Emad Fanous wrote:
> 
> > to use the intellipoint, try doing this:
> > edit /etc/X11/XF86Config and search for the mouse section...then set 
> > protocol like below and remove or comment out the "emulate 3 button" 
> > line if it exists...make sure to back up your original before making 
> > these changes, though.
> >
> > Section "Pointer"
> >     Protocol    "IMPS/2"
> >     Device      "/dev/mouse"
> >     ZAxisMapping 4 5
> >     ButtonNumber 5
> >     Vendor AutoDetected
> >     Name AutoDetected
> >     Buttons 5
> >
> > This works with my MS Intellimouse Optical 5 button.
> >
> > Emad
> >
> > Seth Brooks wrote:
> >
> >> I'm pretty sure that you can't get the Intellipoint mouse to work on 
> >> Red Hat, since it's Microsoft.  But I was just wanting to have 
> >> someone confirm this for sure.
> >>
> >> Also, what do I need to run PC games on Red Hat Linux?  Do I need 
> >> some sort of Windows emulator or something?
> >>
> >> Seth
> >>
> >>
> >> ------------------------------------------------------------------------
> >> *Do You Yahoo!?*
> >> HotJobs, a Yahoo! service 
> >> <http://rd.yahoo.com/careers/mailsig/new/*http://www.hotjobs.com> - 
> >> Search Thousands of New Jobs
> >
> >
> >
> >
> 
> 
> 
> 
> -- 
> redhat-list mailing list
> unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
> https://listman.redhat.com/mailman/listinfo/redhat-list



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to