Design of text input systems