Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jan 1997 10:04:01 +0100 (MET)
From:      Joachim Isaksson <ic@ocean.campus.luth.se>
To:        benedict@echonyc.com (Snob Art Genre)
Cc:        terry@lambert.org, gilham@csl.sri.com, freebsd-hackers@FreeBSD.org
Subject:   Re: A cool xterm?
Message-ID:  <199701120904.KAA07861@ocean.campus.luth.se>
In-Reply-To: <Pine.SOL.3.91.970112000612.11957C-100000@echonyc.com> from Snob Art Genre at "Jan 12, 97 00:08:27 am"

next in thread | previous in thread | raw e-mail | index | archive | help

<SNIP>

> It would also be very nice if I could use a key or combination of keys to
> turn scrollbar mode on, use the arrows to scroll up and down, and hit
> another key to go back to the active window.  Does anyone know if this is
> currently possible, or if not, how I can set it up? 
> 
> Signed, one who hates switching from keyboard to mouse and back.
> 
> (P.S. Keyboard-based cut and paste would be a real win too.)

<SNIP>

>  Ben

How about this Xresource? (not quite what you wanted but similar);

xterm*VT100.Translations:    #override \
        <Key>Print:     string("eval `/usr/X11R6/bin/resize`") string(0x0d) \n\
        Shift<Key>Up:   scroll-back(1,line) \n\
        Shift<Key>Down: scroll-forw(1,line) \n\
        <Key>Prior:     scroll-back(1,page) \n\
        <Key>Next:      scroll-forw(1,page) \n\
        <Key>Home:      scroll-back(1000,page) \n\
        <Key>End:       scroll-forw(1000,page)

Page up/down for screen up/down, shift arrow up/down for line up/down,
Home/End for start/end of scrollback and PrtSc to get resize evaluated.

							/Joachim



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199701120904.KAA07861>