Welcome to Contribs.org

Try using pico instead -- it's more like Notepad or Edit.com.
To open a file:
pico myfile.txt
To save a file:
CTRL+O
To quit:
CTRL+Z
FYI, if you were to create a file on Windows, you would need to use the dos2unix command to convert it for use with SME Server.