What operating system are you using? If your command-line interface supports Unicode characters (the Windows XP command prompt does, I belive), you can use those to draw the lines: there are non-breaking line characters in the Unicode character set.
As for making text coloured:
Windows;
Everything Else.