Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!cbmvax!andy From: andy@cbmvax.UUCP (Andy Finkel) Newsgroups: comp.sys.amiga Subject: Re: Color changing Message-ID: <2055@cbmvax.UUCP> Date: Mon, 29-Jun-87 11:27:01 EDT Article-I.D.: cbmvax.2055 Posted: Mon Jun 29 11:27:01 1987 Date-Received: Tue, 30-Jun-87 06:43:00 EDT References: <8706200021.AA20205@cogsci.berkeley.edu> <1609@stb.UUCP> Reply-To: andy@cbmvax.UUCP (Andy Finkel) Organization: Commodore Technology, West Chester, PA Lines: 33 In article <1609@stb.UUCP> michael@stb.UUCP (Michael) writes: >In article <8706200021.AA20205@cogsci.berkeley.edu> bryce@COGSCI.BERKELEY.EDU (Bryce Nesbitt) writes: >>[43m >> >>40-47 sets the background color (numbers 44-47 wrap back to the same 4 colors) >>30-37 sets the character color. > >I tried this, and discovered some things... > >1. If you only set the background color, it only changes the background where >characters are displayed. True, by design the console.device only writes where you tell it to :-) Easiest way to put the screen into the new color is to clear it. (control-L will do it) It brings up new lines of background color when it scrolls so this works well. >2. If you change the forground color, then it puts a blank line of the >background color on the line before anything is printed. I don't see this...if I change the foreground color it seems to take effect immediately. > >Anyone at commodore care to comment why? (I'm just curious) > Michael -- andy finkel {ihnp4|seismo|allegra}!cbmvax!andy Commodore-Amiga, Inc. "The goal of Computer Science is to build something that will last at least until we've finished building it." Any expressed opinions are mine; but feel free to share. I disclaim all responsibilities, all shapes, all sizes, all colors.