If you are just going to write text files, give eBay a shot. I've bought 3 laptops from there, all working fine and paid no more than $50 for each of them (shipping included). They are old (Pentium 100-200s) but would work just fine for that purpose. Just make sure to read the entire auction carefully and buy from a reputable looking seller since a lot of them are selling broken stuff.