____ 8c2ce37aa9 [WIP] get ttys and associated processes | 6 gadi atpakaļ | |
---|---|---|
README.md | 6 gadi atpakaļ | |
echotty.c | 6 gadi atpakaļ | |
get_ttys.py | 6 gadi atpakaļ |
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);