Messages in this thread | | | Date | Tue, 16 Feb 1999 13:57:46 +0100 (CET) | From | Ingo Molnar <> | Subject | Re: Changing the active console |
| |
On Tue, 16 Feb 1999, Roberto Fasciolo wrote:
> I'd like to know if it's possible changing the active console (the same > thing that pressing CTRL+ALT+Fx) with a system call, and, if it's > possible, how can I do that.
see the 'chvt' command:
open("/dev/tty", O_RDONLY) = 3 ioctl(3, KDGKBTYPE, 0xbffffcd3) = 0 ioctl(3, VT_ACTIVATE, 0x1) = 0 ioctl(3, VT_WAITACTIVE, 0x1) = 0
-- mingo
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |