In flat image there's no TERM variable that causes an error 'Error opening terminal: vt220' on calling nano, mc, htop etc