Following up on a discussion with Amadeusz this is the commit for screen v4 to add support for both fifos and sockets. The compatibility is only limited by the version of the message protocol that is currently in use by the various sessions but this is applicable to {fifo,socket}-only screen sessions in general. The code uses kernel-style and it seems this is what screen master is also aiming at.
Christian Brauner (1): add compat layer to handle both fifos and sockets src/acconfig.h | 5 - src/attacher.c | 30 +- src/configure.ac | 26 -- src/extern.h | 9 +- src/osdef.h.in | 3 - src/osdef.sh | 2 - src/screen.c | 34 +- src/socket.c | 925 ++++++++++++++++++++++++++++--------------------------- 8 files changed, 499 insertions(+), 535 deletions(-) -- 2.11.0