____ 8c2ce37aa9 [WIP] get ttys and associated processes | 6 anos atrás | |
---|---|---|
README.md | 6 anos atrás | |
echotty.c | 6 anos atrás | |
get_ttys.py | 6 anos atrás |
Basing on this answer https://askubuntu.com/a/194304/199557 http://www.humbug.in/2010/utility-to-send-commands-or-data-to-other-terminals-ttypts/
browser extension -- context menu -- select text -- send to backend -- daemon -- send to selected tty; ls /dev/pts/* ps -t pts/8 ps aux | ag 6996 fcntl.ioctl(fd, request, arg=0, mutate_flag=True) ioctl (fd, TIOCSTI, nl);