Is a virtual console running as a process and implemented based on pseudoterminal?
Linux has 7 virtual consoles, which correspond to 7 device files /dev/tty[n]
.
Linux has 7 virtual consoles, which correspond to 7 device files /dev/tty[n]
.
I am want to stream a linux terminal to my own program, and as far as I understand this is done by opening /dev/ptmx to start a new pts, I have tested this and this does indeed work (it creates a new file in /dev/pts). But I am not sure how I am supposed to … Read more