> I'm looking for a command to clear the screen. > > For mac and windows. I don't know about MAC, but on Windows the CLS command will clear the window it is run in. This command is internal to the command line shell, so it only applies to that window. There is no command to clear the whole screen in windows. Besides, clear to what? Do you mean erase all text, set to fixed color, or what? Your quenstion really makes no sense. If you are asking "what command is there to set the whole screen to black", there isn't one. An application could draw to the whole screen and set it to black, but the underneath windows would be restored when that application exits. Again, this whole notion of "clearing" the screen makes no sense. ******************************************************************** Olin Lathrop, embedded systems consultant in Littleton Massachusetts (978) 742-9014, olin@embedinc.com, http://www.embedinc.com -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu