Urg, try two, without the patch (so I don't hit the message size
limits).  The patch has been made available at:
  http://www.best.com/~popiel/scrollbar.patch

Hello.  I'm new here, so I don't know if I'm stepping on anybody's
toes, covering old ground, or anything like that.  If I am, please
tell me, and I'll desist. :-)

The last three times I've installed rxvt, I've gotten grumpy, because
I prefer the athena (aka xterm) scrollbar semantics, instead of the
normal rxvt semantics.  While this is a simple compile-time option,
it's a pain to use, since most installs these days are done with
precompiled binaries.  (I've heard that there's similar grumpiness
among people who prefer the NeXT look-and-feel.)  Instead of just
whining about it today, though, I followed a friend's advice, and
hacked in runtime options for this stuff.

There are three new runtime options included in my changes:
  -ss style   scrollbar style; style = rxvt | xterm / athena | next
  -sw width   scrollbar width
  -sa align   scrollbar thumb click alignment; align = center | top | bottom

These can also be used as resources scrollBar_style, scrollBar_width,
and scrollBar_align.  The style option replaces XTERM_SCROLLBAR and
NEXT_SCROLLBAR.  (The styles xterm and athena mean the same thing.)
The width option replaces SB_WIDTH and can be used with either the rxvt
style or the athena / xterm style.  (The NeXT style is still fixed at
19 pixels wide.)  The align option replaces FUNKY_SCROLL_BEHAVIOUR...
just 'cause I could, really (and align==top more closely emulates
classic athena scrollbars).

The one thing that I didn't fix was the variant SCROLLBAR_INITIAL_DELAY
for NeXT style vs. rxvt style.

The patch is not pretty.  I didn't reindent the source or directly fix
all references to SB_WIDTH, to keep the patch size reasonable.  I made
my patch against the Debian version of rxvt-2.6.4.  This may complicate
matters; I didn't check.

Enjoy.

- Alex

Reply via email to