byobu doesn't source .screenrc when given command line arguments
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
byobu (Ubuntu) |
Fix Released
|
Medium
|
Dustin Kirkland |
Bug Description
Binary package hint: byobu
I noticed after upgrading to 10.04 that the default behavior for 'byobu' with no command line arguments is to try and attach to an already existing session instead of creating a new session. I personally think it should remain the other way around, mostly because there are a couple options (-r -R -x ) to reconnect to an existing screen session, but the only way to force creation of a new session is to create a named session with -S <name> (there's no simple -n for new session).
Anyway, this new behavior lead to me notice that .screenrc was being sourced when byobu is launched with no command line arguments, but is ignored when command line arguments (like -S name) are passed.
Looking at the byobu script at /usr/bin/byobu, it seems if no arguments are given, a new session is created with the config file /usr/share/
If any command line arguments are given, screen is called with the config file ~/.byobu/profile, which doesn't source ~/.screenrc
I don't know if there's a reason that these are different, but two workarounds I can think of is to use /usr/share/
I don't know enough about byobu to know which (if either) would be acceptable.
To reproduce:
byobu -S test
4) what i expect to happen:
start a new screen/byobu session that sources ~/.screenrc
5) what happens:
starts a new screen/byobu session that ignores ~/.screenrc
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: byobu 2.68-0ubuntu1
Uname: Linux 2.6.32-
NonfreeKernelMo
Architecture: amd64
Date: Fri May 14 16:19:33 2010
EcryptfsInUse: Yes
PackageArchitec
ProcEnviron:
PATH=(custom, user)
LANG=en_US.utf8
SHELL=/bin/bash
SourcePackage: byobu
Changed in byobu (Ubuntu): | |
status: | New → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → Dustin Kirkland (kirkland) |
status: | In Progress → Fix Committed |
This bug was fixed in the package byobu - 2.75-0ubuntu1
---------------
byobu (2.75-0ubuntu1) maverick; urgency=low
* usr/bin/byobu: ensure that .screenrc gets sourced if byobu is run uninstall: create the directory, in case this script is byobu-launcher: allow user to add custom screen arguments to
with arguments, LP: #580760
* ec2_cost, ip_address, network, rcs_cost: fix bug when calling ifconfig
without setting lang to english, LP: #578792
* byobu-launcher-
executed before byobu actually runs, LP: #580384
* usr/bin/
byobu-launcher (useful in .profile for adding an option like -UDR),
LP: #578373
-- Dustin Kirkland <email address hidden> Sat, 15 May 2010 15:32:30 -0400