I connected to my server:
$ ssh [email protected]
While in the server, I open a dtach session with vim:
$ dtach -c \tmp\my-dtach-session-pipe vim
Then my ssh session dies. I attempt to go back to my session:
$ ssh [email protected]
$ dtach -a \tmp\my-dtach-session-pipe
I do not get vim, but instead just a blinking cursor. I cannot do anything from there, not even ctrl+c, I can only detach the dtach with ctrl+\.
How can I get my dtach session back properly? Or am I missing the idea of how dtach is supposed to behave?
N.B. I am well aware of the tmux and screen utilities.