Text this: Quantum confinement of the Dirac surface states in topological-insulator nanowires