Newsgroups: ut.software.x-windows Path: utzoo!utgpu!jarvis.csri.toronto.edu!snow.white.toronto.edu!cks From: cks@white.toronto.edu (Chris Siebenmann) Subject: Today's hint for users of xterm and GNU Emacs Message-ID: <89May16.212229edt.30758@snow.white.toronto.edu> Organization: Ziebmef home away from home Distribution: ut Date: Tue, 16 May 89 21:22:23 EDT Assuming you're using J.F. Lamy's fix-x-mouse package, add the line *VT100.Translations: #override ~Meta :insert-selection(CUT_BUFFER0) to your resources file (usually called either .X11defaults or .X11defaults.). 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