Introduction: Using Nano Instead of Vi on Your Arduino Yun
Step 1: Update the Package Manager
Type opkg update at the command prompt:
root@TheYun:~# opkg update
Step 2: Install Nano
Type opkg install nano at the command prompt:
root@TheYun:~# opkg install nano
Step 3: Use Nano
If you would now run nano as is in your OSX Terminal, it will most probably result in an error:
Error opening terminal: xterm-256color.
So enter this command first:
Now nano can be your friendly neighbourhood default editor again! Yay! For instance, to edit the crontab using nano, you would type:
root@TheYun:~# EDITOR=nano crontab -e
We have a be nice policy.
Please be positive and constructive.