Typing in Tamil in contemporary and ancient scripts