Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site puff.UUCP Path: utzoo!watmath!clyde!burl!ulysses!bellcore!decvax!genrad!panda!talcott!harvard!uwvax!puff!avery From: avery@puff.UUCP (Slippery Jim) Newsgroups: net.micro.amiga Subject: Serial Driver Message-ID: <663@puff.UUCP> Date: Mon, 3-Mar-86 11:16:49 EST Article-I.D.: puff.663 Posted: Mon Mar 3 11:16:49 1986 Date-Received: Wed, 5-Mar-86 04:15:31 EST Organization: Deathworld. Yech! Lines: 27 Well, after much prodding and plodding through manuals, examining my cable, and some trial and error, I managed to get my printer working to my (almost) satisfaction. The xon/xoff flow control seems to function properly now, so now my amiga waits patiently for my printer. I was, however, wondering why, since they put all sorts of Data Set Ready polling into the serial driver, they didn't allow one to select DSR flow control for external hardware. I've always found xon/xoff sooo inelegant... Also, I have been playing with a program which opens a screen and no windows. When I wanted to add a close gadget to the screen, I did everything I was told to in the manuals. I set up the gadget's Gadget structure, and put a pointer to it in my NewScreen structure, and I am all set, right? Wrong. Now I have to figure out how to get messages from this gadget. I don't want to open a window to do so, and even if I did, my manuals still don't say anything more about screen gadgets! This may be covered in the 1.1 Rom Kernel manual or the erratas for the others, but I doubt it. What I'd like to know, is how do I set up a port for messages from Intuition about my gadget and have Intuition send the appropriate messages to that port so that I can tell when the user has hit the mouse button within a 10 by 10 square so that I can reclaim the memory used by the screen! (Boy, all this fuss for just that Martha?) Any help would be greatly appreciated. I think this is the right approach to the problem, where opening up a 10 by 10 borderless backdrop window on top of the screen's title bar just to find out when to exit is a touch inelegant, and is merely unnecessary code. Aaron Avery ({seismo,ihnp4,allegra}!uwvax!puff!avery) (avery@puff.wisc.edu)