home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.epoch.misc
- Path: sparky!uunet!cis.ohio-state.edu!cam.sri.com!smith
- From: smith@cam.sri.com (Arnold Smith)
- Subject: Epoch and interaction with Openwindows
- Message-ID: <9211200929.AA00302@gwydir.cam.sri.com>
- Sender: daemon@cis.ohio-state.edu
- Organization: GNUs Not Usenet
- References: <Bxzp1t.7oD@cantua.canterbury.ac.nz>
- Distribution: gnu
- Date: Fri, 20 Nov 1992 09:29:13 GMT
- Lines: 23
-
- > Has anybody managet to get cut and paste between epoch and openwindows
- > working correctly? ...
- Yes it works easily enough, it's just a little awkward in terms of the
- operations required. Here's the relevant excerpt from my epoch-tailoring
- file (I use a Sun SPARCstation IPX running SunOS 4.1.2 and OW):
-
- ;; Allow cut and paste selections to come from OpenLook windows, by using
- ;; CLIPBOARD rather than the default PRIMARY. From the epoch 4.0 manual...
-
- (setq mouse::selection-atom (intern-atom "CLIPBOARD"))
- ;; Install handler for selection-clear on this selection
- (push-selection mouse::selection-atom 'mouse-clear)
-
- ;; The above still doesn't make things entirely simple. To get text from
- ;; an epoch window into a cmdtool or shelltool window, select it by wiping
- ;; the cursor across the source selection while holding down the left
- ;; mouse key. Then move the cursor into the destination window and press
- ;; the "Paste" key on the left-hand side of the keyboard. To copy text in
- ;; the other direction, select it similarly in the cmdtool window, press
- ;; the "Copy" key, move the cursor to the epoch window, and press the
- ;; middle mouse button where you want the text to appear. (Sometimes I
- ;; have to actually hold the middle mouse button down for a fraction of a
- ;; second---a light click doesn't always seem to register).
-