Ok...I think you're learning first hand why fizze has such disdain for vi, heh
. Definitely not the easiest editor for someone just trying to learn it for the first time!
First of all...on your "ps -ef|grep"...it's not showing that Firefly is running, but that you still have a vi session running on the slug. We need to get rid of that first. If you can't still see the vi "screen" then kill it with...
Now try running vi on your mt-daapd.conf file again.
Some basic vi navigation keys:
j = down 1 line
k = up 1 line
l = right 1 character
h = left 1 character
w = right 1 word
b = back 1 word
G = jump to last line
1G = jump to first line
/ = search for a string (forward from current position)
? = search for a string (backward from current position)
:wq = write(save) and quit
:q! = quit without saving (use this if you make a mistake
Ok...now that all of that's out of the way, after you have your conf file opened with vi again, find the line that fizze wants you to modify using this command:
This should jump you right where you want to be.
Now use the "l" or "w" key to move the cursor to the first character where you want to start changing text (probably the first non-blank after the "=")
Next type c$ (for "change to end of line"). The remaining text on the line should disappear and you should see something like "--Insert--" at the bottom of the display. This means you are in "Insert" mode and can type new text.
Now type in the text you want for the remainder of this line (as fizze gave you before).
When you have the line the way that you want it, hit the Esc key to escape Insert mode.
Now :wq to "write" and "quit".
If you make a mistake or get stuck somewhere, just press Esc a couple of times and :q! to quit and start over.
Then try starting Firefly again.
[edit: btw, I see I had an error in my previous post...the normal location for mt-daapd.conf is /opt/etc/mt-daapd/mt-daapd.conf as fizze originally stated, not /etc/mt-daapd.conf as I indicated in my "cp" command example]