Can't set $TERM via /storage/.profile

  • I want to use nano while in ssh. I'm on LE12 generic nightly.

    Code
    # nano
    Error opening terminal: xterm-256color

    I followed this but TERM remains unchanged. Also tried TERM=screen but same.

    in .profile this line :

    Code
    export TERM=screen