WARNING: terminal is not fully functional

It's likely your TERM setting is incorrect. If you don't know what TERM should be set to, try TERM=ansi or TERM=xterm-color.