Changes for TEXT mode operation.