Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!nrl-cmf!ames!elroy!orion.cf.uci.edu!oberon!pollux.usc.edu!papa From: papa@pollux.usc.edu (Marco Papa) Newsgroups: comp.sys.amiga.tech Subject: Re: Supporting the clipboard (Re: Jerry declares the 2000 as 'the most improved computer') Message-ID: <16010@oberon.USC.EDU> Date: 21 Mar 89 20:28:14 GMT References: <8903011852.AA16426@jade.berkeley.edu> <6193@columbia.edu> <10901@well.UUCP> <794@zehntel.UUCP> <10923@well.UUCP> <6206@cbmvax.UUCP> <1989Mar19.023257.20564@ziebmef.uucp> <6357@cbmvax.UUCP> Sender: news@oberon.USC.EDU Reply-To: papa@pollux.usc.edu (Marco Papa) Organization: Felsina Software, Los Angeles, CA Lines: 31 In article <6357@cbmvax.UUCP> andy@cbmvax.UUCP (Andy Finkel) writes: >In article <1989Mar19.023257.20564@ziebmef.uucp> cks@ziebmef.UUCP (Chris Siebenmann) writes: >>[hah. finally got around to commenting on this topic.] >>sizes of all sub-things inside it) ... at the beginning of itself. And >>the clipboard.device doesn't appear to support random seeking around >>to write data (when writing to a file, the IFF routines seek back to >>the start of a hunk and write the size once they know it). > >You're kidding me, right ? The CMD_WRITE of the clipboard >device includes an io_Offset field, which you can change >so you can write bytes anywhere in the clip. You can even >extend the clip (padded with 0s) just by settng the io_Offset >beyond the current clip size. The docs on CMD_WRITE come >right out and say this, actually. [other details omitted] All true. I wonder how many people don't use the Clipboard just because of misinformation like the one Chris shows. >(I also did an example program for AmigaMail a long time ago.) I used the code in AmigaMail to add Clipboard support to A-Talk III. That code works like a champ. If the source is still around somewhere maybe it would be a good idea to post the clipboard source from AmigaMail on the net. --Marco Papa 'Doc' -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= uucp:...!pollux!papa BIX:papa ARPAnet:pollux!papa@oberon.usc.edu "There's Alpha, Beta, Gamma and Diga!" -- Leo Schwab [quoting Rick Unland] -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=