What is ttycopy?
This is a simple tool that can scan terminals of other users through tty or pts. Get the pid of tty and pts you want to scan, It is realized by issuing the same read system call as the referenced terminal to my terminal by strace. inspired by ttylog.
GitHub