home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / gnu / epoch / misc / 1145 < prev    next >
Encoding:
Text File  |  1992-11-20  |  1.7 KB  |  36 lines

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