home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!sdd.hp.com!saimiri.primate.wisc.edu!usenet.coe.montana.edu!ogicse!das-news.harvard.edu!cantaloupe.srv.cs.cmu.edu!bam
- From: bam+@cs.cmu.edu (Brad Myers)
- Newsgroups: comp.windows.x
- Subject: Help with selection
- Message-ID: <C19J7z.I2v.2@cs.cmu.edu>
- Date: 22 Jan 93 16:02:22 GMT
- Article-I.D.: cs.C19J7z.I2v.2
- Sender: news@cs.cmu.edu (Usenet News System)
- Organization: School of Computer Science, Carnegie Mellon
- Lines: 29
- Nntp-Posting-Host: bam.garnet.cs.cmu.edu
-
- Can someone send me code that successfully handles the X/11 copy-paste
- selection. So far, we have just been setting the x cut buffer using
- (setf (xlib:cut-buffer display) str)
- (in Lisp) but this isn't good enough when some other application
- (like xterm) has the selection "grabbed" (reverse video). If no-one owns
- the selection, then this works fine, actually. No one in the
- Lisp community seems to have this problem solved, so I am asking a wider
- audience. I can't figure out what I need to do from the ICCCM, but maybe
- I can figure it out from a working C program. If you have (hopefully a
- small piece of) code that sets the current selection, turning off the
- reverse video in other windows, could you please send it to me?
-
- Also, is there any standard format for copying rich (formatted) text or
- graphics? For example, does anyone have code that will accept or
- place formatted text into the cut buffer for exchange with FrameMaker?
-
- Thanks,
-
- Brad A. Myers
- School of Computer Science
- Carnegie Mellon University
- 5000 Forbes Avenue
- Pittsburgh, PA 15213-3891
- (412) 268-5150
- FAX: (412) 681-5739
- bam@a.gp.cs.cmu.edu
-
-
-
-