-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suggestion: Have an option that lists all the current sockets #2
Comments
Perhaps also having an option from |
dtach does not keep centralized list of sockets all dtach processes uses -- adding such a feature would On linux one can do lsof -U | grep dtach to find all dtach sockets. |
Ah cool. That solves one problem then. Is there also a way to tell which session I'm currently in too? Then I can do the next best thing and create an alias for each. |
perhaps this & some scripting; compare these:
The first socket is the "server socket" dtach is listening. second is the accepted socket Now, one can look e.g. more than one same pid on output listing -- or easier might be |
I'd like to add, besides |
I have a workaround to all the suggestions you have made
|
As a user, I'm likely to forget what I called my socket when I created it. I'm also likely to forget that I created one, too.
An option to list the currently opened sockets, as well as highlighting the current session, would be really handy. Then I could look up the name of my socket if I forgot its name, and I could check to see if I was connected to a socket currently too.
Here's what I would imagine the output would look like:
The format I chose above was
socketname - command[ (connectedusernames)
. The asterisk (*
) in the above example denotes the current session. Perhaps the current session could be made bold, too?The text was updated successfully, but these errors were encountered: