September 26th, 2003, 12:53 AM
Changing font size/color?
Is there a way to change the font size/color in a command line script?
September 26th, 2003, 01:00 AM
Not sure what you are asking. Are you at a DOS prompt and you want to change the look and feel? If you are using a shell in Linux, some shells provide support for colors. How to change that is, I believe, heavily OS and terminal emulator specific. Root around here, I recall seeing some traffic about it earlier.
September 26th, 2003, 08:21 AM
I would like to do this in both environments. I am doing some research about this... I will post if it is not in vein.
September 26th, 2003, 11:38 AM
ncurses will do the job for you in Linux, but only with text attributes like color and bold. It cannot do it for text size that I know of -- I would think that would require a GUI.
For the "DOS window", more properly called the "console", there's the Console API. Search for that in Microsoft's MSDN area at http://msdn.microsoft.com/ . The console functions are listed at http://msdn.microsoft.com/library/de..._functions.asp .
September 26th, 2003, 04:56 PM
Thanks! I will defiantly check that out.