Lines Matching refs:VT
424 FATAL0("kbdLinuxGetFreeVTNumber: Cannot find a free VT\n");
440 FATAL2("kbdLinuxOpenVT: Cannot open VT %d (%s)\n",
455 /** Currently unused hook called prior to an VT switch. */
460 /** Currently unused hook called after returning from a VT switch. */
466 * function is called with the \a switch_return_data when the VT is
467 * switched back to the pre-switch VT (i.e., the user returns to the DMX
505 struct vt_mode VT;
512 SYSCALL(result = ioctl(fd, VT_GETMODE, &VT));
514 VT.mode = VT_PROCESS;
515 VT.relsig = SIGUSR1;
516 VT.acqsig = SIGUSR1;
517 if (ioctl(fd, VT_SETMODE, &VT))
533 LOG2("kbdLinuxOpenConsole: current VT %d; using free VT %d\n",
543 struct vt_mode VT;
550 if (ioctl(priv->fd, VT_GETMODE, &VT) != -1) {
551 VT.mode = VT_AUTO;
552 ioctl(priv->fd, VT_SETMODE, &VT);
555 LOG1("kbdLinuxCloseConsole: switching to VT %d\n", priv->vtcurrent);