Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!mimsy!oddjob!uwvax!husc6!sri-unix!sri-spam!ames!cit-vax!usc-oberon!sdcrdcf!trwrb!cadovax!kaz From: kaz@cadovax.UUCP (Kerry Zimmerman) Newsgroups: comp.sys.amiga Subject: CON: and RAW: windows Message-ID: <1421@cadovax.UUCP> Date: Mon, 9-Mar-87 15:10:31 EST Article-I.D.: cadovax.1421 Posted: Mon Mar 9 15:10:31 1987 Date-Received: Tue, 10-Mar-87 22:17:12 EST Reply-To: kaz@cadovax.UUCP (Kerry Zimmerman) Organization: Contel Business Systems, Torrance, CA Lines: 32 Keywords: CON: RAW: window Summary: obtaining window pointers from CON: References: [ OK line eater. Make my day! ] I'm having trouble using console and raw windows. By this I mean, if I open a console or raw window using amigados Open, how can I find the pointer to the opened window? What exactly does the file handle, returned by Open, point to for a CON: or RAW: file open request? Can I use the handle to find my window pointer? I know I could open a window myself and attach a console to it, but I like the ease with which I can open a window and have a console (or raw) device connected to it using amigados. If I could get the window pointer, then I could get the RastPort and be able to change the font, draw things, or whatever in the console's window. I obtained a copy of a program called "setfont2" which gets the window pointer by passing a packet request. I found that the window pointer returned is for the original CLI window only, not my console window. What is the difference between opening CON: vs opening RAW:? These are both using the console device, aren't they, or is RAW: a different device driver? The amigados documentation make it seem like the RAW: is a separate device, yet there is no mention of a separate raw device in the RKM. I assumed that RAW: was just a console window opened with raw events enabled. Did I assume correctly? Thanks in advance for any response. Kerry Zimmerman # {ucbvax,ihnp4,decvax}!trwrb!cadovax!kaz # cadovax!kaz@ucla-locus.arpa