usr/bin/byobu-select-session: default to -UDR, the "author's favorite"

according to the screen(1) manpage; slightly more secure as it logs out
other sessions; special handling is needed if the user wants to share
sessions, LP: #578373; also, droping the -x should fix some resize
problems, LP: #553085
This commit is contained in:
Dustin Kirkland 2010-05-21 09:16:08 -05:00
commit 3583c42082
2 changed files with 7 additions and 3 deletions

6
debian/changelog vendored
View file

@ -1,6 +1,10 @@
byobu (2.76) unreleased; urgency=low
* UNRELEASED
* usr/bin/byobu-select-session: default to -UDR, the "author's favorite"
according to the screen(1) manpage; slightly more secure as it logs out
other sessions; special handling is needed if the user wants to share
sessions, LP: #578373; also, droping the -x should fix some resize
problems, LP: #553085
-- Dustin Kirkland <kirkland@ubuntu.com> Sat, 15 May 2010 16:52:04 -0400

View file

@ -60,7 +60,7 @@ if choice:
os.execv("/usr/bin/byobu", ["", SHELL])
else:
# Attach to the chosen session
os.execv("/usr/bin/byobu", ["", "-x", sessions[choice]])
os.execv("/usr/bin/byobu", ["", "-UDR", sessions[choice]])
else:
# No valid selection, default to the youngest session
os.execv("/usr/bin/byobu", ["", "-xRR"])
os.execv("/usr/bin/byobu", ["", "-UDR"])