🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: a2000.comp.software.os.linux
Article #34

Re: netscape4.7: mousewheel werkt niet meer?

#34
From: Jan Houtsma
Date: Tue, 02 Nov 1999 00:00
240 lines
10272 bytes
This is a multi-part message in MIME format.
--------------34230F4FF827205DC6D3C3B1
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Sipke Smeekes wrote:
> 
> Welke regels zijn dat want ik krijg mijn mousewheel helemaal niet aan
> het draaien !!
> 
> mZzl, Sipke
> 
> Willem Verhagen wrote:
> 
> > Jan Houtsma wrote:
> >
> > > Mijn mousewheel werkte in vorige netscape versies
> > > altijd met wat regels in de Xresources.
> > >
> > > Nu weet ik niet of het aan de upgrade ligt van
> > > RH6.0 naar RH6.1, of aan de upgrade naat netschaap 4.7,
> > > maar mijn wheel werkt niet meer om te scrollen.
> > >
> > > Zijn er meer die dit hebben? Eventuele oplossingen?
> > >
> > > Bedankt,
> > > jan
> >
> > Hallo Jan,
> >
> > Ik heb die "paar regels" in het file .Xdefaults staan.
> > Hierdoor werkt mijn mousewheel prima.
> >
> > Groeten,
> > Willem

Hierbij mijn Xresources. Er staat meer in dan je misschien nodig hebt.
Deze file staat bij mij in /etc/X11/xinit/.
Nogmaals de mousewheel in netscape werkte ooit dus wel. Nu echter plots
niet meer. Misschien bij jou wel...
laat het maar weten :-) 

jan

jan
--------------34230F4FF827205DC6D3C3B1
Content-Type: text/plain; charset=us-ascii;
 name="Xresources"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="Xresources"

!# Scrolling on wheel mouse: half a page normally, line per line with shift
XTerm.vt100.translations: #override\n\
 Shift<Btn4Down>,<Btn4Up>:scroll-back(1,line)\n\
 Shift<Btn5Down>,<Btn5Up>:scroll-forw(1,line)\n\
 Ctrl<Btn4Down>,<Btn4Up>:scroll-back(1,page)\n\
 Ctrl<Btn5Down>,<Btn5Up>:scroll-forw(1,page)\n\
 <Btn4Down>,<Btn4Up>:scroll-back(1,halfpage)\n\
 <Btn5Down>,<Btn5Up>:scroll-forw(1,halfpage)\n\

!# In the scrollbar we map buttons 5 & 4 to 1 and 2 otherwise, core dump
!# This will move proportionnaly to cursor position but we dont know how to
!# program the same exact behavior as in the text widget.
XTerm.vt100.Scrollbar.translations: #override\n\
     <Btn5Down>: StartScroll(Forward)\n\
     <Btn4Down>: StartScroll(Backward)\n\



!## NETSCAPE
Netscape*drawingArea.translations:  #replace    \
        <Btn1Down>:           ArmLink()   \n\
        <Btn2Down>:           ArmLink()   \n\
        ~Shift<Btn1Up>:       ActivateLink()  \n\
        ~Shift<Btn2Up>:       ActivateLink(new-window)  \
                                        DisarmLink()    \n\
        Shift<Btn1Up>:        ActivateLink(save-only)  \
                                        DisarmLink()    \n\
        Shift<Btn2Up>:        ActivateLink(save-only)  \
                                        DisarmLink()    \n\
        <Btn1Motion>:             DisarmLinkIfMoved()  \n\
        <Btn2Motion>:             DisarmLinkIfMoved()  \n\
        <Btn3Motion>:             DisarmLinkIfMoved()  \n\
        <Motion>:             DescribeLink()  \n\
        <Btn3Down>:           xfeDoPopup()    \n\
        <Btn3Up>:             ActivatePopup() \n\
        Ctrl<Btn4Down>: PageUp()\n\
        Ctrl<Btn5Down>: PageDown()\n\
        Shift<Btn4Down>: LineUp()\n\
        Shift<Btn5Down>: LineDown()\n\
         None<Btn4Down>: LineUp()LineUp()LineUp()LineUp()LineUp()LineUp()\n\
         None<Btn5Down>: LineDown()LineDown()LineDown()LineDown()LineDown()LineDown()\n\
        Alt<Btn4Down>: xfeDoCommand(forward)\n\
        Alt<Btn5Down>: xfeDoCommand(back)\n

Netscape*globalNonTextTranslations: #override\n\
 Shift<Btn4Down>: LineUp()\n\
 Shift<Btn5Down>: LineDown()\n\
 None<Btn4Down>:LineUp()LineUp()LineUp()LineUp()LineUp()LineUp()\n\
 None<Btn5Down>:LineDown()LineDown()LineDown()LineDown()LineDown()LineDown()\n\
 Alt<Btn4Down>: xfeDoCommand(forward)\n\
 Alt<Btn5Down>: xfeDoCommand(back)\n\
 <Key>KP_9: PageUp()\n\
 <Key>KP_3: PageDown()\n\
 <Key>KP_8: LineUp()\n\
 <Key>KP_2: LineDown()\n\
 <Key>KP_4: ColumnLeft()\n\
 <Key>KP_6: ColumnRight()\n

!## Athena text widgets
*Paned.Text.translations: #override\n\
 Shift<Btn4Down>,<Btn4Up>: scroll-one-line-down()\n\
 Shift<Btn5Down>,<Btn5Up>: scroll-one-line-up()\n\
 Ctrl<Btn4Down>,<Btn4Up>: previous-page()\n\
 Ctrl<Btn5Down>,<Btn5Up>: next-page()\n\
 None<Btn4Down>,<Btn4Up>:scroll-one-line-down()scroll-one-line-down()scroll-one-line-down()scroll-one-line-down()scroll-one-line-down()\n\
 None<Btn5Down>,<Btn5Up>:scroll-one-line-up()scroll-one-line-up()scroll-one-line-up()scroll-one-line-up()scroll-one-line-up()\n\

A very useful hack for xrn, xmh: adds scrolling to the specific "Table Of Contents" (TOC) widget 

!## Athena table of contents, for toc widgets of xrn & xmh
*toc.Translations: #override\n\
 Shift<Btn4Down>,<Btn4Up>: scroll-one-line-down()\n\
 Shift<Btn5Down>,<Btn5Up>: scroll-one-line-up()\n\
 Ctrl<Btn4Down>,<Btn4Up>: previous-page()\n\
 Ctrl<Btn5Down>,<Btn5Up>: next-page()\n\
 None<Btn4Down>,<Btn4Up>:scroll-one-line-down()scroll-one-line-down()scroll-one-line-down()scroll-one-line-down()scroll-one-line-down()\n\
 None<Btn5Down>,<Btn5Up>:scroll-one-line-up()scroll-one-line-up()scroll-one-line-up()scroll-one-line-up()scroll-one-line-up()\n\

! Parts (C) 1996 By Greg J. Badros <gjb@cs.duke.edu>
! You may use this file as specified under the GNU General Public License

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
! emacs, xemacs

emacs*Background: DarkSlateGray
emacs*Foreground: Wheat
emacs*pointerColor: Orchid
emacs*cursorColor: Orchid
emacs*bitmapIcon: on
emacs*font: fixed
emacs.geometry: 80x25

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
! xterm (and friends)

XTerm*loginShell: false
XTerm*background: bisque
XTerm*highlightSelection:  true
! Uncomment this to use color for the bold attribute
XTerm*VT100*colorBDMode:  on
XTerm*VT100*colorBD:  blue
! Uncomment this to use color for underline attribute
XTerm.VT100*colorULMode:  on
XTerm.VT100*underLine:  off
XTerm*VT100*colorUL:  magenta
! Uncomment this to display the scrollbar 
XTerm*scrollBar:  true

! This resource specifies whether or not to ignore the 'alternate screen'
! of applications such as vi.  When it is on, these applications will restore
! the contents of the screen when they are exited to what they were before
! they were started.  When it is off, the contents of vi will remain on the
! screen after the program is quit.
XTerm.vt100*titeInhibit: true

! Uncomment this to turn off color mode in your xterms
!XTerm.VT100*colorMode:  off
XTerm.VT100*dynamicColors:  on

! Number of lines of scrollback to save
XTerm*saveLines:	1500

Xterm*reverseWrap:	true


! Fix xterm's keybindings
*VT100*translations:    #override \
      <Key>BackSpace:    string(0x7F) \n\
      <Key>Insert:       string(0x1b) string("[2~")\n\
      <Key>Delete:       string(0x1b) string("[3~")\n\
      <Key>Home:         string(0x1b) string("[1~")\n\
      <Key>End:          string(0x1b) string("[4~")\n\
      <Key>Page_Up:      string(0x1b) string("[5~")\n\
      <Key>Page_Down:    string(0x1b) string("[6~")\n\
~@Num_Lock<Key>KP_Insert:    string(0x1b) string("[2~")\n\
~@Num_Lock<Key>KP_Delete:    string(0x1b) string("[3~")\n\
~@Num_Lock<Key>KP_Home:      string(0x1b) string("[1~")\n\
~@Num_Lock<Key>KP_End:       string(0x1b) string("[4~")\n\
~@Num_Lock<Key>KP_Page_Up:   string(0x1b) string("[5~")\n\
~@Num_Lock<Key>KP_Page_Down: string(0x1b) string("[6~")\n\
     a<Key>Tab: string(0x1b) string(0x09) \n\
     a<Key>Return: string(0x1b) string(0x0d) \n\
     a<Key>space: string(0x1b) string(" ")\n\
     a<Key>a: string(0x1b) string("a") \n\
     a<Key>b: string(0x1b) string("b") \n\
     a<Key>c: string(0x1b) string("c") \n\
     a<Key>d: string(0x1b) string("d") \n\
     a<Key>e: string(0x1b) string("e") \n\
     a<Key>f: string(0x1b) string("f") \n\
     a<Key>g: string(0x1b) string("g") \n\
     a<Key>h: string(0x1b) string("h") \n\
     a<Key>i: string(0x1b) string("i") \n\
     a<Key>j: string(0x1b) string("j") \n\
     a<Key>k: string(0x1b) string("k") \n\
     a<Key>l: string(0x1b) string("l") \n\
     a<Key>m: string(0x1b) string("m") \n\
     a<Key>n: string(0x1b) string("n") \n\
     a<Key>o: string(0x1b) string("o") \n\
     a<Key>p: string(0x1b) string("p") \n\
     a<Key>q: string(0x1b) string("q") \n\
     a<Key>r: string(0x1b) string("r") \n\
     a<Key>s: string(0x1b) string("s") \n\
     a<Key>t: string(0x1b) string("t") \n\
     a<Key>u: string(0x1b) string("u") \n\
     a<Key>v: string(0x1b) string("v") \n\
     a<Key>w: string(0x1b) string("w") \n\
     a<Key>x: string(0x1b) string("x") \n\
     a<Key>y: string(0x1b) string("y") \n\
     a<Key>z: string(0x1b) string("z") \n\
     s<Key>F1: string(0x1b) string("[23~") \n\
     s<Key>F2: string(0x1b) string("[24~") \n\
     s<Key>F3: string(0x1b) string("[25~") \n\
     s<Key>F4: string(0x1b) string("[26~") \n\
     s<Key>F5: string(0x1b) string("[28~") \n\
     s<Key>F6: string(0x1b) string("[29~") \n\
     s<Key>F7: string(0x1b) string("[31~") \n\
     s<Key>F8: string(0x1b) string("[32~") \n\
     s<Key>F9: string(0x1b) string("[33~") \n\
     s<Key>F10: string(0x1b) string("[34~") \n\
     c<Key>Tab: string(0x1b) string(0x09) \n\
     c<Key>Return: string(0x1b) string(0x0d) \n

*visualBell:		False
*scrollTtyOutput:	False
*scrollKey:		True
Scrollbar.JumpCursor:	True

--------------34230F4FF827205DC6D3C3B1--
Technical Details
Message-ID: <381F17E2.F6C7FF84@houtsma.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <381DFD32.D2D27B5E@houtsma.net> <381E2650.3140ADB8@cable.A2000.nl> <381E9496.2D9D2882@tm.tno.nl>

Show Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII-7-bit
X-Google-Thread: 1158e9,5d82d83df218b58c
X-Google-Attributes: gid1158e9,public
X-Google-Thread: fb7d6,5d82d83df218b58c
X-Google-Attributes: gidfb7d6,public
From: Jan Houtsma <jan@houtsma.net>
Subject: Re: netscape4.7: mousewheel werkt niet meer?
Date: 1999/11/02
Message-ID: <381F17E2.F6C7FF84@houtsma.net>
X-Deja-AN: 543572765
References: <381DFD32.D2D27B5E@houtsma.net> <381E2650.3140ADB8@cable.A2000.nl> <381E9496.2D9D2882@tm.tno.nl>
X-Accept-Language: en
Content-Type: multipart/mixed; boundary="------------34230F4FF827205DC6D3C3B1"
X-Complaints-To: abuse@a2000.nl
X-Trace: weber.a2000.nl 941561815 21972 62.108.6.75 (2 Nov 1999 16:56:55 GMT)
Organization: A2000 Kabeltelevisie en Telecommunicatie
Mime-Version: 1.0
NNTP-Posting-Date: 2 Nov 1999 16:56:55 GMT
Newsgroups: a2000.comp.software.os.linux,nl.comp.os.linux