If you're having trouble using Nano as an alternative for vi, you can always use your main computer to create the file you need and then copy it to where you need it in your Edison's internal memory through an SD Card. However I encourage you to use the Edison's native vi, it's a lot more user friendly than the desktop version, actually you can use the arrow keys to move, why don't you give it a try? you can learn more about vi here: VI and VIM editor: Tutorial and advanced features
Thanks for the prompt response. I will give Vi and VIM a try. I don't think using Nano is a problem, it is just that when I quit it it seems to have a weird effect on the Apple Terminal App in that output from the Edison no longer appear line by line as they did before but all on the same line. I guess it is some sort of mismatch between the terminal mode Nano uses and the one that OS/X has. I am old enough to remember PDP/11s and VT100, VT52 problems back in the day when I programmed for money rather than for fun :-)
So far I am pretty impressed with the Edison (though Intel should have called it the Tesla, who was the most innovative of the two inventors). It is somewhat easier for me to work with than the RPi and Beaglebone black, both of which I have used.