write monospaced text to box