Lines Matching refs:VT
107 FatalError("xf86OpenConsole: Cannot find a free VT\n");
124 * the current VT device we're running on is not "console", we want
147 struct vt_mode VT;
149 if (ioctl(LinuxConsoleFd, VT_GETMODE, &VT) < 0)
161 VT.mode = mode;
162 VT.relsig = SIGUSR1;
163 VT.acqsig = SIGUSR1;
172 VT.mode = mode;
173 VT.relsig = 0;
174 VT.acqsig = 0;
176 if (ioctl(LinuxConsoleFd, VT_SETMODE, &VT) < 0)
266 * now get the VT
307 struct vt_mode VT;
314 if (ioctl(LinuxConsoleFd, VT_GETMODE, &VT) != -1)
316 VT.mode = VT_AUTO;
317 ioctl(LinuxConsoleFd, VT_SETMODE, &VT); /* set dflt vt handling */
324 * Find a legal VT to switch to, either the one we started from
338 * Perform a switch back to the active VT when we were started