Automatically select last session

Asked by Dan Sherman

I have byobu installed on a debian system. Whenever I detach and then login again I am presented with a screen to select the correct session. #1 is the session I want, #2 is blank, and #3 is create a new session. I only have one session in my SockDir.

How can I tell byobu to select the last session?

Question information

Language:
English Edit question
Status:
Solved
For:
byobu Edit question
Assignee:
No assignee Edit question
Solved by:
Dan Sherman
Solved:
Last query:
Last reply:
Revision history for this message
Dustin Kirkland  (kirkland) said :
#1

What version of byobu are you running? byobu -v

Revision history for this message
Dan Sherman (dan-dksherman) said :
#2

byobu version 2.80
Screen version 4.00.03jw4 (FAU) 2-May-06

Revision history for this message
Dustin Kirkland  (kirkland) said :
#3

And when this happens, what is the output of "screen -ls"?

Revision history for this message
Dustin Kirkland  (kirkland) said :
#4

Byobu should behave exactly as you request, if there is only one session, that one should be selected. If it's not doing that, then there's probably a bug.

Could you try running the latest byobu release and tell me if you still have the problem there?

Revision history for this message
Dan Sherman (dan-dksherman) said :
#5

Output of screen -ls:

There is a screen on:
        1444.pts-0.dkserver (10/26/2010 05:32:43 PM) (Attached)
1 Socket in /var/run/screen/S-dan.

I'll upgrade and see if that fixes it.

Revision history for this message
Dan Sherman (dan-dksherman) said :
#6

Updating to the latest version solved it, thanks.