issue #3541 : Add TextConsole.

Add TextConsole.