* usr/bin/byobu-select-session:

- need to use the screen binary, LP: #800496
This commit is contained in:
Dustin Kirkland 2011-06-29 02:11:16 +00:00
commit 5fe40d9634
2 changed files with 4 additions and 1 deletions

2
debian/changelog vendored
View file

@ -50,6 +50,8 @@ byobu (4.17-0ubuntu1) oneiric; urgency=low
- LP: #553105, #780081: support XDG user dirs - LP: #553105, #780081: support XDG user dirs
* usr/lib/byobu/.shutil: * usr/lib/byobu/.shutil:
- quiet printing of metadata service test - quiet printing of metadata service test
* usr/bin/byobu-select-session:
- need to use the screen binary, LP: #800496
-- Dustin Kirkland <kirkland@ubuntu.com> Mon, 27 Jun 2011 14:14:17 +0000 -- Dustin Kirkland <kirkland@ubuntu.com> Mon, 27 Jun 2011 14:14:17 +0000

View file

@ -74,7 +74,8 @@ if len(sessions) > 1:
choice = "" choice = ""
sys.stderr.write("\nERROR: Invalid input\n"); sys.stderr.write("\nERROR: Invalid input\n");
elif len(sessions) == 1: elif len(sessions) == 1:
os.execvp("byobu", ["", "-AOxRR"]) # Attach to the chosen session; must use the 'screen' binary
os.execvp("screen", ["", "-AOxRR"])
if choice: if choice:
if sessions[choice-1] == "NEW": if sessions[choice-1] == "NEW":