Comment 20 for bug 525552

Revision history for this message
Matthew Hawkins (darthmdh) wrote :

My above findings are making more sense, byobu launches screen using the -c switch, which overrides both /etc/screenrc and ~/.screenrc loading /usr/local/share/byobu/profiles/byoburc instead. This sources ~/.screenrc (which was created by byobu-janitor and is blank) but not /etc/screenrc - /etc/screenrc sets deflogin on

Previously, using the pre-built byobu 2.82 I ran as "screen" from the command-line, which sources both /etc/screenrc and ~/.screenrc (the ~/.screenrc sourced the byobu profile) & everything works.

Now that I built byobu from source, byobu is run as "byobu" not "screen", using the cutom byobu profile which never sets deflogin on.

There's a few ways to fix this, either byobu-janitor creates a ~/.screenrc that sets deflogin on, or the default system byoburc does it, or the ~/.byobu/profile does it ...

I haven't noticed this issue at home, however I'm also running Ubuntu and use the zsh shell there. Don't have either privilege here at work :(