home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / text / frame / 3794 < prev    next >
Encoding:
Internet Message Format  |  1992-12-29  |  2.7 KB

  1. Path: sparky!uunet!olivea!gossip.pyramid.com!pyramid!infmx!cortesi
  2. From: cortesi@informix.com (David Cortesi)
  3. Newsgroups: comp.text.frame
  4. Subject: copy n paste with x-apps?
  5. Summary: how do it
  6. Keywords: X cut copy paste
  7. Message-ID: <1992Dec29.190718.12787@informix.com>
  8. Date: 29 Dec 92 19:07:18 GMT
  9. Sender: news@informix.com (Usenet News)
  10. Followup-To: comp.text.frame
  11. Organization: Informix Software, Inc.
  12. Lines: 65
  13.  
  14. We find a lot of restrictions/contradictions with copying text between
  15. applications on a Sun platform. I would really appreciate any advice
  16. and hints on how to make this work more predictably or regularly.
  17.  
  18. Here's the setup: 
  19.     system: Sparcs running SunOS 4.1.2.
  20.     Frame: 3.1X
  21.     GUI: motif window manager
  22.     other apps: Sun's cmdtool/mailtool/textedit
  23.             X11R5 xman, xterm, xcb
  24.  
  25. The latter, "xcb," is a freeware program that supplies 8 cut buffers
  26. from/to which you can cut/copy text from other X apps.
  27.  
  28. What works:
  29.  
  30. "Hilite Copy":
  31.     if you hilite ascii text in the window of ANY application,
  32.     you can paste a copy of the hilited text into the window
  33.     of an X-app or Frame, using middle-click.  This lets you
  34.     bring ascii text into Frame.
  35.  
  36.     Sun tools treat middle-click as "extend selection" and do
  37.     not paste. Thus you can copy *from* a sun app this way, but
  38.     cannot copy *to* one.
  39.  
  40. "Clipboard Copy":
  41.     if you copy text to Frame's clipboard with Edit:copy
  42.     (or key equivalent), and provided that you have NO text
  43.     hilited in ANY window, you can paste the clipboard text
  44.     into an X-app using middle-click.  Only the text is pasted,
  45.     no formatting.  Sun tools ignore this text also.
  46.  
  47. What does not work:
  48.  
  49. "Formatted Copy":
  50.     we can't find a way to copy text out of Frame and then back,
  51.     preserving its formatting. Only the raw ascii is copied.
  52.     The hex values of at least some special symbols are preserved,
  53.     though unprintable in other apps, and can be copied back.
  54.  
  55. "Sun Apps Copy":
  56.     we can't make the Sun apps based on the Open Windows text
  57.     widget communicate well.  You can copy *from* one into Frame
  58.     using Hilite Copy, but you can't copy *to* one in any way.
  59.     Thus you cannot copy a Frame paragraph and paste it into
  60.     a letter you are composing with MailTool.
  61.  
  62. "Sun Cut/Copy/Paste":
  63.  
  64.     The Sun apps seem to have their own private clipboard. You
  65.     can use the Cut/Copy/Paste function keys to pass data
  66.     between Sun apps, but this text has no relation to
  67.     the Frame clipboard or the X selection.
  68.  
  69.     You can make the Cut/Copy/Paste keys work as macro triggers
  70.     and thus make them perform Frame cut/copy/paste logical
  71.     functions, but this has no relation to the Sun app functions.
  72.  
  73. This makes rather a zoo of inconsistent rules when introducing
  74. new users to the Sun/Frame platform.  Any suggestions on how to
  75. improve the situation are very welcome.
  76.  
  77. Thanks,
  78.   Dave Cortesi
  79.