Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!pt.cs.cmu.edu!dsl.pitt.edu!pitt!willett!ForthNet From: ForthNet@willett.pgh.pa.us (ForthNet articles from GEnie) Newsgroups: comp.lang.forth Subject: PYGMY Forth Message-ID: <1951.UUL1.3#5129@willett.pgh.pa.us> Date: 4 Nov 90 00:27:06 GMT Organization: String, Scotch tape, and Paperclips. (in Pgh, PA) Lines: 29 Category 1, Topic 45 Message 54 Sat Nov 03, 1990 F.SERGEANT [Frank] at 14:28 CST Screen Attributes in Pygmy I'll explain how to change the foreground and background colors. It is all controlled by the variable ATTR (which stands for "attribute"). The most significant nibble controls the background color and the next-to-most significant nibble controls the foreground color. The 2 least significant nibbles (the least significant byte) should be set to zero. Do HEX ATTR @ U. to see what colors are currently set. On my color system I get 7100 where the 7 is a light background and the 1 is a blue foreground. For the monochrome system, I believe the attribute would be hex 700 where the (unseen) leading zero is the background and the 7 is the foreground. The next step is to try different values until you get ones you like, for example HEX 1700 ATTR ! 5400 ATTR ! 3200 ATTR ! when you find the combination you like best, you can either type it in each time you bring up Pygmy, or you can SAVE NEWPYGMY.COM after making the change once, or you can search across screens in the editor for ATTR to see where it is initialized to either $7100 or $0700 and change it to your values and regen (meta-compile) Pygmy. -- Frank ----- This message came from GEnie via willett through a semi-automated process. Report problems to: dwp@willett.pgh.pa.us or uunet!willett!dwp