Output routines for digital terminals