Problem using VI in SSH



  • I've got a big issue when I connect via SSH (from my macbook). I can't write in VI (opening NANO result in an error: error opening terminal: xterm-256color) because the arrows key will print numbers instead of move the cursor, and there's no way to write, the keyboard report wrong characters.



  • switch to command mode to navigate through the file or create a

    You could have googled a little more as this is not a recalbox-specific issue ... Many ways around it, but the most suitable is echo "set nocompatible" > ~/.vimrc

    for nano, just set TERM=xterm


Log in to reply
 

Want to support us ?

228
Online

79.8k
Users

21.2k
Topics

155.0k
Posts