mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 14:24:39 -07:00
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:
parent
f96b980d56
commit
3583c42082
2 changed files with 7 additions and 3 deletions
6
debian/changelog
vendored
6
debian/changelog
vendored
|
@ -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
|
||||
|
||||
|
|
|
@ -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"])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue