Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!munnari.oz.au!metro!cluster!john From: john@cluster.cs.su.oz.au (John Mackin) Newsgroups: comp.windows.x Subject: resource lookup problem Message-ID: <1239@cluster.cs.su.oz.au> Date: 2 Oct 90 20:29:15 GMT Organization: Dept. of Comp. Science, Uni of Sydney, Australia Lines: 35 We are running X11R3 on some machines and X11R4 (at fix-12) on others. I have the following resource loaded into my RESOURCE_MANAGER: *Scrollbar.Translations: : StartScroll(Backward) \n\ : StartScroll(Continuous) MoveThumb() NotifyThumb() \n\ : StartScroll(Forward) \n\ : MoveThumb() NotifyThumb() \n\ : NotifyScroll(Proportional) EndScroll() (I want to reverse the functions of button 1 and button 3.) This works perfectly under the X11R3 and X11R4 xterms; however, I recently started trying to use the X11R4 xman, and found that the scrollbars worked in reverse to what I wanted. I eventually found that I could work around it by specifying the names of the scrollbars instead of the class: xman*scrollbar.Translations: : StartScroll(Backward) \n\ : StartScroll(Continuous) MoveThumb() NotifyThumb() \n\ : StartScroll(Forward) \n\ : MoveThumb() NotifyThumb() \n\ : NotifyScroll(Proportional) EndScroll() xman*vertical.Translations: : StartScroll(Backward) \n\ : StartScroll(Continuous) MoveThumb() NotifyThumb() \n\ : StartScroll(Forward) \n\ : MoveThumb() NotifyThumb() \n\ : NotifyScroll(Proportional) EndScroll() But surely this should not be necessary. Can anyone tell me what I am doing wrong? Thanks in advance. -- John Mackin, Basser Department of Computer Science, University of Sydney, Sydney, Australia; ``Reading your standard output doesn't sound like a very good idea to me.''