tags + patch
end

  The patch below fixes this for me, at the expense of new session
 creation at times.

  YMMV.

[EMAIL PROTECTED]:/tmp/user/1000$ screen -ls
There are screens on:
        24419.abc       (Detached)
        24395.abcd      (Detached)
2 Sockets in /var/run/screen/S-skx.


  screen -R abc | screen -R abcd => Now works.
  screen -R ab                   => Creates the new screen 'ab'.  Hmmm.

  
Steve
--
#  Kink-Friendly Dating
http://ctrl-alt-date.com/

--- screen-4.0.3.orig/socket.c  2003-09-08 15:26:50.000000000 +0100
+++ screen-4.0.3/socket.c       2007-10-24 19:53:04.000000000 +0100
@@ -171,7 +171,10 @@
          /* the tty prefix is optional */
          if (strncmp(match, "tty", 3) && strncmp(n, "tty", 3) == 0)
            n += 3;
-         if (strncmp(match, n, matchlen))
+
+          /* skx: simple hack */
+         if ((strncmp(match, n, matchlen)) ||
+              (matchlen != strlen(n)))
            continue;
          debug1("  -> matched %s\n", match);
        }




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to