Article View: comp.emacs
Article #8174Re: GNU emacs with suntools
From: Tim A. Grunwald
Date: Wed, 21 Dec 1988 14:54
Date: Wed, 21 Dec 1988 14:54
35 lines
1833 bytes
1833 bytes
In article <942@hudson.acc.virginia.edu>, gsh7w@astsun1 (Greg Hennessy) writes: > >I am trying to use a `cut and paste' from one window to an GNU emacs >running under emacstool. I can so what I want when cutting from a >shelltool, but not from a command tool. The ``stuff selection'' [I >think] seems to be mentioned in the man of shelltool for backwards >compatibility. Can any kind soul help me, point out the place in the >manual where it is probably spelled out? > >Sincerely; >-Greg Hennessy, University of Virginia > USPS Mail: Astronomy Department, Charlottesville, VA 22903-2475 USA Unfortunately, GNU Emacs does not support cut and paste between a Sun commandtool window and emacstool. Someone will have to write that in a future release (requires selection-service programming). I have written an easy kludge to cut from a commandtool window into emacstool. Assign the following emacs lisp function to a function key (I use shift-L8 -- shift-GET), then just highlight what you want to paste into emacs and press the function key. (defun get-sunview-selection () "Get text highlighted in a sunview window and stuff at point" (interactive) (call-process "get_selection" nil t) ) Tim Grunwald Federal Reserve Board, Washington, DC, 20551 uucp: uunet!fed!m1tag00 internet: m1tag00@fed.frb.gov
Technical Details
Message-ID:
<339@mqws2.fed.FRB.GOV>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!fed!m1tag00@fed.frb.govReferences:
<942@hudson.acc.virginia.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!fed!m1tag00@fed.frb.gov From: m1tag00@fed.frb.gov (Tim A. Grunwald) Newsgroups: comp.emacs Subject: Re: GNU emacs with suntools Message-ID: <339@mqws2.fed.FRB.GOV> Date: 21 Dec 88 14:54:52 GMT References: <942@hudson.acc.virginia.edu> Sender: news@fed.FRB.GOV Reply-To: m1tag00@fed.frb.gov (Tim A. Grunwald) Distribution: na Organization: Federal Reserve Board Lines: 35 In-reply-to: gsh7w@astsun1.acc.virginia.edu (Greg Hennessy)