On Tue, 29 Feb 2000, Derek Martin <[EMAIL PROTECTED]> wrote:
>
> Hey all,
>
> I just discovered a feature that XFree has, totally by accident. At
> least, it's configured this way on RedHat.
I believe it is default for xterm for most unixes (that usually have
Insert on keyboard). Look in /usr/.../app-defaults/XTerm especially
undert "translations".
> If you hit Shift-Insert, it will insert the primary selection buffer at
> the current cursor location. Cool! :) Now I don't have to struggle with
> a two-button mouse (if I'm ever stuck with one) any longer! Note that
> this may actually be an xterm key mapping, I haven't researched it AT ALL,
> so I don't know all the specific details.
I like it so much infact I have mapped "Insert" (no shift) and "Home" to
do it (for my laptop with not easily accessible "Insert" key).
Here is my mappings from ~/.Xdefaults if anyone is interested in
things to make xterm more comfy:
XTerm*VT100.Translations: #override \
Shift <Key> Prior : scroll-back(1,page)\n\
Shift <Key> Next : scroll-forw(1,page)\n\
Shift <Key> Down : scroll-forw(1,line)\n\
Shift <Key> Up : scroll-back(1,line)\n\
<Key> Insert : insert-selection(PRIMARY, CUT_BUFFER0)\n\
<Key> Home : insert-selection(PRIMARY, CUT_BUFFER0)\n\
Shift <Key> Home : insert-selection(PRIMARY, CUT_BUFFER0)\n\
Shift <Key> F8 : secure()
(formatted to fit in 80 cols, may not work as is).
This lets me use the arrow keys to scoll up/down lines or PageUp PageDown
to page screenfuls. Mice are nice, but it is often convenient to
keep ones hands on the keyboard.
Karl Runge
**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************