Commit Graph

17 Commits (6d477487d93fc18c5077cdf1341ac5b44c4a0fa3)

Author SHA1 Message Date
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
3 years ago
Vasile Popescu 4e3dae80e2 Improve handling binding and other connection errors 4 years ago
Vasile Popescu 3230cee786 Fix some misleading log messages 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 e8c6caac80 Update the server side when the client window changes 4 years ago
Vasile Popescu 14266a7f24 Add support for detaching shortcut in client mode
When joining a session from command line, the user can exit now by
pressing a predefined key sequence that can be specified from command
line.
4 years ago
Vasile Popescu 6c0171e9d9 Log improvements - fixup in the other one 4 years ago
Vasile Popescu 2100e4ab90 Add TLS connection support for tty-proxy connections 4 years ago
Vasile Popescu 2d481a5a98 Several usage/help and logging improvements 4 years ago
Vasile Popescu afc909a358 Add support for joining a session from command line 4 years ago
Vasile Popescu 46e1bdaab2 Add support for public sharing with the new method 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 4 years ago
Vasile Popescu b395112857 Add --version command line flag 4 years ago
Vasile Popescu ca450682c0 Use the $SHELL value as the default value for the command param 4 years ago
Vasile Popescu a27cd48730 Separate the tty-share tool from the server side 4 years ago