Re: Virtual Virtual TTYs.

Tigran Aivazian (
Mon, 4 May 1998 11:43:42 +0100 (BST)

On 1 May 1998, Dave Mielke wrote:
> Is there any way for software to be able to simulate being a second
> keyboard which is attached to a specifyable virtual tty? I would like
> to write some software which takes over, say, tty9, and becomes a
> virtual terminal. I know that /dev/vcs9 and/or /dev/vcsa9 can be used
> to gain knowledge of the screen content. The two things I do not know
> how to do are:

Are you sure you are not thinking of implementing in the kernel what has
already been done in the user space by ttysnoop(8)? It simply duplicates
whatever traffic is going over a pty onto a PF_UNIX socket if someone is
actually connected and reading from that socket...


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to