Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!unix.cis.pitt.edu!dsinc!bagate!cbmvax!darren From: darren@cbmvax.commodore.com (Darren Greenwald) Newsgroups: comp.sys.amiga.programmer Subject: Re: What source would you want? Message-ID: <22776@cbmvax.commodore.com> Date: 28 Jun 91 14:16:32 GMT References: <10317@suns7.crosfield.co.uk> <43566@cup.portal.com> <1991Jun27.222155.416@Sugar.NeoSoft.com> Reply-To: darren@cbmvax.commodore.com (Darren Greenwald) Organization: Commodore, West Chester, PA Lines: 29 In article <1991Jun27.222155.416@Sugar.NeoSoft.com> peter@Sugar.NeoSoft.com (Peter da Silva) writes: >Me, I'd like the source to the 2.0 console.device, so I could add a scrollbar >and ANSI-style escape sequences to set up menus/title bar/etc. >-- >Peter da Silva. `-_-' . > 'U` "Have you hugged your wolf today?" You can do this now Peter, without the source. The window belongs to the application, not console.device, and the place to store an arbitrary number of lines of data is in the application. In other words, storing a history of an arbitrary number of lines can (and should) be done in the console-handler (p.s. - this is still a considerable amount of work, but its much easier to manage within the handler). re: Ansi-Style escape sequence for menus, title bars, etc ... While theoretically doable, once again it can (and should) be done within the handler (you already have a pointer to your window, and the window gadgets, borders, etc., are yours - the device only owns the rectangle within the window in which text is rendered). -------------------------------------------------------------- Darren M. Greenwald | Commodore-Amiga Software Engineering | USENET: uunet!cbmvax!darren -------------------------------------------------------------- Quote: "It would be impossible to discuss the subject without a common frame of reference." - Spock