If dvtm dies, and you run `:|abduco -a session`, abduco will often exit
without giving you the exit code, and without removing the socket from
~/.abduco.
We resolve this by first sending the client either an EXIT or an empty
CONTENT packet.
Only after the client recieves it, we set the socket to non-blocking.
Fixes: https://github.com/martanne/abduco/issues/44
This should make it possible to connect with a 32bit client to a 64bit
server. This might also make it possible to forward the abduco socket
over SSH as described in #25. Different endianness are not supported at
this time.
This is a breaking protocol change. Make sure to use the same version
as client and server (anything else is unsupported anyway!).
This means it wont take control over the window size until
it is the last remaining one, unless another client connects
with the -l option set at a later time.
Instead of simply moving the cursor to the bottom of the screen
use the alternate screen buffer i.e. the smcup/rmcup capabilities.
This is currently hardcoded to the xterm originated \e[?1047{h,l}
sequence. I also patched dvtm to support these.