Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord

    Problem using VI in SSH

    Recalbox General
    ssh
    2
    2
    1573
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • mc9625
      mc9625 last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • Substring
        Substring last edited by

        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

        Former dev - Please reply with @substring so that i am notified when you answer me
        Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

        1 Reply Last reply Reply Quote 0
        • First post
          Last post

        Want to support us ?

        78
        Online

        91.7k
        Users

        26.9k
        Topics

        183.5k
        Posts

        Copyright © 2021 recalbox.com