How did it come to be that a fair number of currencies use letters with lines through them, when did they first appear, and why is the dollar represented by an S?

by JuJitsuGiraffe

The title pretty much covers my question. Apologies if this has been asked or discussed before.

chilari

As a follow up question, if anyone can explain why the sign for GBP is £ I'd be interested to know.