screen-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Configure & Compile GNU Screen for Linux 64


From: William Pursell
Subject: Re: Configure & Compile GNU Screen for Linux 64
Date: Thu, 05 Feb 2009 23:01:13 +0000
User-agent: Thunderbird 2.0.0.19 (Macintosh/20081209)

Mr. Darwin G. (D G) Adams wrote:


> I was able to configure and install it to $HOME/screen4.1.  $HOME is my
> home directory.
> 
> So, as I install this as a non-root user, the "multiuser" ability goes
> away?

If you use the screen-4.1.0w tarball, you can add --disable-multiuser
as an argument to configure.  Alternatively, with the official
release tarball, you can edit config.h and undefine MULTIUSER.
In either case, you'll want to apply the following patch in
order to compile:


diff --git a/src/attacher.c b/src/attacher.c
index d85a2f8..00ddfff 100644
--- a/src/attacher.c
+++ b/src/attacher.c
@@ -325,6 +325,7 @@ int how;
        m.type = MSG_DETACH;
       /* If there is no password for the session, or the user enters the 
correct
        * password, then we get a SIGCONT. Otherwise we get a SIG_BYE */
+#ifdef MULTIUSER
       signal(SIGCONT, AttachSigCont);
       if (WriteMessage(lasts, &m))
        Panic(errno, "WriteMessage");
@@ -333,6 +334,7 @@ int how;
         pause();       /* wait for SIGCONT */
       signal(SIGCONT, SIG_DFL);
       ContinuePlease = 0;
+#endif
       if (how != MSG_ATTACH)
        return 0;       /* we detached it. jw. */
       sleep(1);        /* we dont want to overrun our poor backend. jw. */


-- 
William Pursell




reply via email to

[Prev in Thread] Current Thread [Next in Thread]