Comments (9)
I tried to revive 118210c but it doesn't work well in many cases. Basically, this is very hard to do without a deep integration with a terminal emulator. I could pass some escape sequence letting the terminal emulator know that there is a disconnect, but they would have to render something and handle removing it after we reconnect.
from eternalterminal.
Actually maybe I can change the title of the window. Let me look into that
from eternalterminal.
Actually it's non-trivial to change the window title. I tried setting PROMPT_COMMAND but that doesn't seem to be portable :-/
from eternalterminal.
Perhaps you could do it for users of tmux at least, by manipulating the status bar(s)? In the event control mode allows for setting stuff like that, you could probably flash a colour or similar? Seems there's a fair bit of customisation available:
https://leanpub.com/the-tao-of-tmux/read#status-bar
As long as you can retrieve current settings, you could change it, then change it back after a delay. You could even have a place holder for an indicator (such as "%%ETDCNT") that could contain the number of disconnections etc.
I am not sure how feasible all this is, just a thought.
from eternalterminal.
@krayon This is a great idea but I don't have time at the moment. Would this be something that you would be interested in submitting a PR for? If you made a standalone C++ class with a connect() disconnect() API I can write the logic to call it.
from eternalterminal.
Any further plans here? This would be really helpful, especially when trying to differentiate cases of disconnection vs frozen programs at a glance. (The tmux approach proposed would work for me)
from eternalterminal.
@ddickstein Care to submit a PR? :-)
I'm a tmux -CC user so this isn't high pri for me TBQH but happy to review a PR for it.
from eternalterminal.
What changes do you think are necessary to get it to work? I haven't spent much time working in C++ and I don't know the codebase here. Do you have a rough sense of how much work it is and what the steps would be?
from eternalterminal.
@MisterTea I absolutely would but unfortunately I don't have the time and I don't actually use EternalTCP myself. I was just evaluating it for someone and had that idea. I'm sorry I can't offer a PR for this :(
from eternalterminal.
Related Issues (20)
- Dependency/Readme clean up HOT 1
- Reverse tunnel listen interface HOT 9
- 100% CPU Usage 😢 HOT 8
- Using a different ssh port HOT 1
- Building et on AL2 HOT 11
- "Error handling new client: Failed a call to readAll" HOT 4
- Starting multiple sessions for the same host in parallel leads to crash HOT 3
- Why does 6.2.8 install header and cmake files? HOT 6
- `--ssh-option=ControlPath=...` does not create any filesystem objects
- `et -t` does not accept IP address HOT 3
- APT-KEY is deprecated, update instructions for install HOT 3
- Segfault starting etserver on raspberry pi zero HOT 3
- package for pkgx HOT 1
- GCP IAP proxy HOT 3
- Ubuntu mantic et package (et_6.2.8-mantic1_amd64.deb) broken (bad dep on libtinfo5) HOT 9
- Need a good way to kill off ET sessions HOT 5
- A way to prevent sourcing the shell's configs twice HOT 1
- et needs ssh's -t option to support running tmux with et HOT 2
- Overrided CTRL+C -> CTRL+B not working
- DynamicForward -D option doesn't work HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eternalterminal.