home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!gossip.pyramid.com!pyramid!infmx!cortesi
- From: cortesi@informix.com (David Cortesi)
- Newsgroups: comp.text.frame
- Subject: copy n paste with x-apps?
- Summary: how do it
- Keywords: X cut copy paste
- Message-ID: <1992Dec29.190718.12787@informix.com>
- Date: 29 Dec 92 19:07:18 GMT
- Sender: news@informix.com (Usenet News)
- Followup-To: comp.text.frame
- Organization: Informix Software, Inc.
- Lines: 65
-
- We find a lot of restrictions/contradictions with copying text between
- applications on a Sun platform. I would really appreciate any advice
- and hints on how to make this work more predictably or regularly.
-
- Here's the setup:
- system: Sparcs running SunOS 4.1.2.
- Frame: 3.1X
- GUI: motif window manager
- other apps: Sun's cmdtool/mailtool/textedit
- X11R5 xman, xterm, xcb
-
- The latter, "xcb," is a freeware program that supplies 8 cut buffers
- from/to which you can cut/copy text from other X apps.
-
- What works:
-
- "Hilite Copy":
- if you hilite ascii text in the window of ANY application,
- you can paste a copy of the hilited text into the window
- of an X-app or Frame, using middle-click. This lets you
- bring ascii text into Frame.
-
- Sun tools treat middle-click as "extend selection" and do
- not paste. Thus you can copy *from* a sun app this way, but
- cannot copy *to* one.
-
- "Clipboard Copy":
- if you copy text to Frame's clipboard with Edit:copy
- (or key equivalent), and provided that you have NO text
- hilited in ANY window, you can paste the clipboard text
- into an X-app using middle-click. Only the text is pasted,
- no formatting. Sun tools ignore this text also.
-
- What does not work:
-
- "Formatted Copy":
- we can't find a way to copy text out of Frame and then back,
- preserving its formatting. Only the raw ascii is copied.
- The hex values of at least some special symbols are preserved,
- though unprintable in other apps, and can be copied back.
-
- "Sun Apps Copy":
- we can't make the Sun apps based on the Open Windows text
- widget communicate well. You can copy *from* one into Frame
- using Hilite Copy, but you can't copy *to* one in any way.
- Thus you cannot copy a Frame paragraph and paste it into
- a letter you are composing with MailTool.
-
- "Sun Cut/Copy/Paste":
-
- The Sun apps seem to have their own private clipboard. You
- can use the Cut/Copy/Paste function keys to pass data
- between Sun apps, but this text has no relation to
- the Frame clipboard or the X selection.
-
- You can make the Cut/Copy/Paste keys work as macro triggers
- and thus make them perform Frame cut/copy/paste logical
- functions, but this has no relation to the Sun app functions.
-
- This makes rather a zoo of inconsistent rules when introducing
- new users to the Sun/Frame platform. Any suggestions on how to
- improve the situation are very welcome.
-
- Thanks,
- Dave Cortesi
-