michael@stb.UUCP (Michael) (06/26/87)
In article <8706200021.AA20205@cogsci.berkeley.edu> bryce@COGSCI.BERKELEY.EDU (Bryce Nesbitt) writes: ><esc>[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. 2. If you change the forground color, then it puts a blank line of the background color on the line before anything is printed. Anyone at commodore care to comment why? (I'm just curious) Michael -- : Michael Gersten seismo!scgvaxd!stb!michael : Monsters from outta space -- 3-11-2
andy@cbmvax.UUCP (Andy Finkel) (06/29/87)
In article <1609@stb.UUCP> michael@stb.UUCP (Michael) writes: >In article <8706200021.AA20205@cogsci.berkeley.edu> bryce@COGSCI.BERKELEY.EDU (Bryce Nesbitt) writes: >><esc>[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.