Resolution:
Your terminal type is undefined, so your operating system is unable to drive your terminal. Set up the necessary environment for your terminal.