Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!husc6!think!ames!ucbcad!ucbvax!CORY.BERKELEY.EDU!dillon From: dillon@CORY.BERKELEY.EDU (Matt Dillon) Newsgroups: comp.sys.amiga Subject: Re: MCC pipes Message-ID: <8706240726.AA06112@cory.Berkeley.EDU> Date: Wed, 24-Jun-87 03:26:46 EDT Article-I.D.: cory.8706240726.AA06112 Posted: Wed Jun 24 03:26:46 1987 Date-Received: Fri, 26-Jun-87 04:14:53 EDT Sender: daemon@ucbvax.BERKELEY.EDU Lines: 52 >I don't know what version I'm talking about. Did you write the PIPE: device >in the MCC toolkit, as well as the one whose source is floating around (that >is, are they the same program)? It may well be a very early version that I'm >using here. Let me check: Slight misunderstanding... you were talking about the MCC PIPE:, and I was talking about my PIPE: (I did not write the MCC pipe... I'm not connected with them in any way). >> VD0: is quite a bit more than the measily 2.5Meg I've got. I can use >> an infinite buffer size for the second PIPE: because Restore can >> read data much faster than the decompressor can decompress it. > >But because of this, the pipe will always be almost empty, so you might as well >give it a 4K buffer size as well. It might be noted here that the UNIX pipes >have a 4K buffer size. If the program writing to the pipe has a large buffer size (8K is not uncommon), then it will block every time it does a write until the reader is ready. Thus, to completely ensure the program does not block (assuming the reader can read it faster), the pipe would have to be a bit larger... say 16K. >Now, a question and a request: > >Does your new PIPE: support the packets Examine and ExNext use? If so, then you >could just "dir pipe:" to get a list of active pipes, right? I've been trying... and trying... and trying... I can't figure out why it is crashing.... Can somebody post a *working* device driver which uses Examine/ExNext???? >The request: I want to use your PIPE: device as the skeleton for an improved >console device. May I? How would I use it with Aztec (compatibility mode for >sure, right)? Can I call Intuition from a device (opening windows, etc) or do >I have to handcraft windows from the lower level primitives? I assume the >former, but I've visited the Guru enough to know how often my assumptions are >unwarranted. Anybody who wishes is certainly welcome to strip my source and use it as a skeleton. Since it is copyright, I have to give my permission: You have my permission (reasonable approximation of my signature: Matthew Dillon). Poof, done. Anybody who needs the source can also mail me directly and I'll send it to him/her. Devices are processes. Thus, you can call any library you wish. However, you have to be careful not to make a library call that will result in DOS trying to talk to your process. You can even open-up a CON: window and write to it... though that is *very* precarious. -Matt