[UFO Chicago] stupid xterm tricks

Sean Neakums sneakums@ufo.chicago.il.us
Sat, 29 Dec 2001 22:25:34 +0000


I don't know about you, but I'm a big fan of xterm.  Maybe it's the
lack of stupid graphical gar, or just that it's older than X itself.
But one thing that irks me is when I want to spam #tron with some
funny mail I received: I can snarf in Gnus with the keyboard, but I
can't barf it into xterm with the keyboard... until now!

Simply add the following to ~/.Xdefaults:

*VT100.Translations: #override \
	Mod4 <KeyPress> space: insert-selection(PRIMARY,CUT_BUFFER0)

adjusting the key combination to suit.

Then:

    1. Restart xterm
    2. ...
    3. Profit!!!

-- 
Sean Neakums - <sneakums@ufo.chicago.il.us> --- --- -- -
Director of International Operations, UFO Chicago - -- -
http://ufo.chicago.il.us/ --- ------ ----- ---- --- -- -