cks@white.toronto.edu (Chris Siebenmann) (05/17/89)
Assuming you're using J.F. Lamy's fix-x-mouse package, add the line
*VT100.Translations: #override ~Meta <Btn2Up>:insert-selection(CUT_BUFFER0)
to your resources file (usually called either .X11defaults or
.X11defaults.<displaytype>). This will let you paste into xterm
windows things selected with the mouse in GNU Emacs; one handy thing
you can now do is cut-and-paste multi-line commands between xterm
windows by copying the command's lines into a GNU Emacs, merging all
the lines into one, selecting it, and then pasting into the other
window. Other uses abound, such as putting text you're editing into a
talk session.
If you're not using the fix-x-mouse package, add
;; X key settings (tested only under X11)
; from J.F. Lamy
(if (eq window-system 'x)
(progn
(setq term-setup-hook 'my-term-setup)
(defun my-term-setup () ; hook to run after terminal is initialized
(load "/local/share/emacs/local/fix-x-mouse")
(message " "))))
to your .emacs file (if /local/share/emacs/local isn't where local
Emacs enhancements are found, consult a local Emacs guru; if you don't
have a copy of fix-x-mouse and want one, send me email).
--
"I shall clasp my hands together and bow to the corners of the world."
Number Ten Ox, "Bridge of Birds"
Chris Siebenmann ...!utgpu!{ncrcan,ontmoh!moore}!ziebmef!cks
cks@white.toronto.edu or ...!utgpu!{,csri!}cks