Command string interpretter and line drawer