CONS_GETTERM
case CONS_GETTERM: /* get the current terminal emulator info */
if (ioctl(0, CONS_GETTERM, tip) == 0)