This is not nearly as complicated as a lot of people would have you believe. From a lot of the written descriptions you see out there, you'd imagine that (1) every interval on a piano was stretched by some fixed percentage, and also that (2) piano tuning has to proceed through a circle of fifths, tuning by ear using beats. More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.