On Sun, 22 May 2016 13:23:36 +0200 Ansgar Burchardt <ans...@debian.org>
wrote:
> Control: merge 792799 820858
> 
> Axel Beckert writes:
> > Reasoning (and request) for the change from optional to standard can
> > be found at https://bugs.debian.org/783524.
> >
> > Quoting from there:
> >> screen is small and commonly required on a wide variety of systems
> >> where only the standard system utilities (and openssh-server) are
> >> installed, yet it needs to be installed separately each time.
> >> (Most frustrating with newly installed virtual machines around the
> >> time of a release when new images need testing.)
> >>
> >> Please seek a change of priority to standard.
> 
> Hmm, given there are two alternatives (screen, tmux) which both have
> quite comparable installation size, I'm wondering which one (if any)
> should be included in the default install.
> 
> Installation size (`apt install` in a unstable sbuild chroot):
>   screen: 583 kB of archives. 1004 kB of additional disk space
>   tmux:   420 kB of archives. 1022 kB of additional disk space
>           (Includes libevent-2.0-5 libutempter0)
> 
> Features:
>   screen: Can talk to serial console.
>   tmux:   Does work after switch users (to non-root)

I'm not a tmux user but I'm confused how this is a feature of tmux and
how that differs from just using sudo / su inside any particular shell
or inside screen or using support within screen to attach to a session
detached by another user.

> I admit I personally prefer tmux as it keeps working after switching
> to another user.

I frequently switch users inside screen (and screen maintains that
user as one of the screen windows). screen can also connect to someone
else's detached screen. From the manpage:

 -r sessionowner/[pid.tty.host] resumes a detached screen session.  No
other options (except  com‐ binations  with -d/-D) may be specified,
though an optional prefix of [pid.]tty.host may be needed to
distinguish between  multiple detached  screen  sessions.  The second
form is used to connect to another user's screen session which runs in
multiuser mode.  This indicates  that  screen should look for sessions
in another user's directory. This requires setuid-root.


-- 


Neil Williams
=============
http://www.linux.codehelp.co.uk/

Attachment: pgpqI_mZQyKgV.pgp
Description: OpenPGP digital signature

Reply via email to