Ilya Zakharevich on Wed, 20 Sep 2000 19:31:59 -0400


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Problems with colors on CVS


Updated from CVS several hours ago (the problem I was investigating
disappeared, thanks!).  I'm trying colors.

a) Specifying a color for a prompt colors the command line too;


   ? default(colors,"no, no, 6, no")
      colors = "no, no, 6, no, no, no, no"
   ? quit

b) Color 0 is not working

   ? default(colors,"0")
      colors = "[0,0,0], no, no, no, no, no, no"

   As you see, 0 is interpreted as [0,0,0].  The problem is with
   singleton colors being inverted via

	color = -color;

   instead of 

	color = -1-color;

   so 0 is coded the same as [0,0,0].

Ilya