Several driver functions consolidated, for all drivers.  The width and color commands are now part of a more general "state" command.  The text and graph commands used for switching between modes is now handled by the escape function (very few drivers require it).  The color initialization was modified to work better with the TK driver, and the function to detect grayscale displays made external for use from tk.c.
Several driver functions consolidated, for all drivers.  The width and color
commands are now part of a more general "state" command.  The text and
graph commands used for switching between modes is now handled by the
escape function (very few drivers require it).  The color initialization
was modified to work better with the TK driver, and the function to detect
grayscale displays made external for use from tk.c.

svn path=/trunk/; revision=325

FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot