send text to tty

____ 8c2ce37aa9 [WIP] get ttys and associated processes 6 年之前
README.md 8c2ce37aa9 [WIP] get ttys and associated processes 6 年之前
echotty.c 8c2ce37aa9 [WIP] get ttys and associated processes 6 年之前
get_ttys.py 8c2ce37aa9 [WIP] get ttys and associated processes 6 年之前

README.md

Send commands to terminal from browser

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);