home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / windows / openloo / 3443 < prev    next >
Encoding:
Internet Message Format  |  1992-08-13  |  1.7 KB

  1. Xref: sparky comp.windows.open-look:3443 comp.windows.x:15192
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!ames!sun-barr!west.West.Sun.COM!cronkite.Central.Sun.COM!rmtc.Central.Sun.COM!berliner
  3. From: berliner@rmtc.Central.Sun.COM (Brian Berliner)
  4. Newsgroups: comp.windows.open-look,comp.windows.x
  5. Subject: Re: xview paste from xterm SOLUTION
  6. Message-ID: <1992Aug13.151725.18771@rmtc.Central.Sun.COM>
  7. Date: 13 Aug 92 15:17:25 GMT
  8. References: <DVANDERR.92Aug12192901@hen3ry.oracle.com>
  9. Organization: Sun Microsystems, Inc.
  10. Lines: 24
  11.  
  12. In <DVANDERR.92Aug12192901@hen3ry.oracle.com> dvanderr@oracle.com (Danny Vanderryn) writes:
  13. >thanks to farrell mckay (fbm@ptcburp.oz.au) and his 'xcb' program, i
  14. >have been able to come up with an easy way to paste into xview apps
  15. >from an xterm, or other non-xview app.  (the other way already works
  16. >for me....)  i'm looking for people to beta test my changes before i
  17. >put them into xcb-2.0 for wide distribution.  
  18.  
  19. I have the following lines in my ~/.Xdefaults file:
  20.  
  21. XTerm*VT100.Translations:    #override \n\
  22.     <KeyPress>L6:    start-extend() select-end(PRIMARY, CLIPBOARD, CUT_BUFFER0) \n\
  23.     <Key>L8:    insert-selection(CLIPBOARD) \n\
  24.     <KeyPress>L10:    start-extend() select-end(PRIMARY, CLIPBOARD, CUT_BUFFER0)
  25.  
  26. These allow me to (basically) use the old, familiar, Copy/Paste/Cut that
  27. XView uses extensively (L6/L8/L10, respectively) in my "xterm" window.
  28. There are some problems, though.  You have to have your mouse pointer
  29. positioned at the end of the selection when you press Copy.  It's a bit
  30. tricky, but I've gotten used to it.  Then, just move into your XView
  31. application and push Paste, as you would normally do.
  32.  
  33. Good luck,
  34.  
  35.     -Brian
  36.