Hi, wizards. I know I can use ioctl to simulate keyboard input. But I don't know how to catch all output to my terminal (similar to script, but not using a pty. For instance, I must catch someone writing to my terminal by "write" or "talk"). Have an idea? Thanks.