Vasile Popescu
6d477487d9
Add several TTY_SHARE_* session environment variables
...
Set these variables in the started child shell process:
- TTY_SHARE=1 to signal running inside a tty-share session
- TTY_SHARE_LOCAL_URL - contains the URL of the public session
- TTY_SHARE_PUBLIC_URL - contains the URL of the local session
4 years ago
Vasile Popescu
9573987434
Improve the error handling when starting a session
...
If the command cannot be started, or the proxy server can't be reached,
exit early and a bit nicer.
4 years ago
Vasile Popescu
e1f4cdd06d
Improve the terminal restoring from RAW format
...
Use a defer mechanism to restore the terminal from its RAW state. This
way it's resilient to panic calls
4 years ago
Vasile Popescu
6c0171e9d9
Log improvements - fixup in the other one
4 years ago
Vasile Popescu
584cba56c9
Add support for local network terminal sharing
...
Moved the server inside the tty-share binary, and serve it locally
4 years ago
Vasile Popescu
6fc776b924
Exit is stdin is not a tty
5 years ago
Vasile Popescu
a27cd48730
Separate the tty-share tool from the server side
5 years ago