home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.windows.open-look:3443 comp.windows.x:15192
- 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
- From: berliner@rmtc.Central.Sun.COM (Brian Berliner)
- Newsgroups: comp.windows.open-look,comp.windows.x
- Subject: Re: xview paste from xterm SOLUTION
- Message-ID: <1992Aug13.151725.18771@rmtc.Central.Sun.COM>
- Date: 13 Aug 92 15:17:25 GMT
- References: <DVANDERR.92Aug12192901@hen3ry.oracle.com>
- Organization: Sun Microsystems, Inc.
- Lines: 24
-
- In <DVANDERR.92Aug12192901@hen3ry.oracle.com> dvanderr@oracle.com (Danny Vanderryn) writes:
- >thanks to farrell mckay (fbm@ptcburp.oz.au) and his 'xcb' program, i
- >have been able to come up with an easy way to paste into xview apps
- >from an xterm, or other non-xview app. (the other way already works
- >for me....) i'm looking for people to beta test my changes before i
- >put them into xcb-2.0 for wide distribution.
-
- I have the following lines in my ~/.Xdefaults file:
-
- XTerm*VT100.Translations: #override \n\
- <KeyPress>L6: start-extend() select-end(PRIMARY, CLIPBOARD, CUT_BUFFER0) \n\
- <Key>L8: insert-selection(CLIPBOARD) \n\
- <KeyPress>L10: start-extend() select-end(PRIMARY, CLIPBOARD, CUT_BUFFER0)
-
- These allow me to (basically) use the old, familiar, Copy/Paste/Cut that
- XView uses extensively (L6/L8/L10, respectively) in my "xterm" window.
- There are some problems, though. You have to have your mouse pointer
- positioned at the end of the selection when you press Copy. It's a bit
- tricky, but I've gotten used to it. Then, just move into your XView
- application and push Paste, as you would normally do.
-
- Good luck,
-
- -Brian
-