opening a nested session from byobu to byobu should not ask, but rather should remind the user...

Bug #747649 reported by Clint Byrum
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
byobu (Ubuntu)
Fix Released
High
Dustin Kirkland 

Bug Description

Binary package hint: byobu

Right now in natty, if you are in byobu, and you ssh to another machine which has byobu enabled on login, you are presented with a question whether or not you want a nested session.

Its really not knowable, so a question is a valid way to determine this. However it interrupts the flow of work when one has to answer a question like this that one wasn't expecting.

Instead, I think we can take an opinionated stance and choose what is now the default answer for them, and then remind them of the other option. If a user logs in from byobu, to byobu, instead of asking the question, a simple message should be printed.

echo -n Your terminal suggests you are running inside byobu.
if [detect-active-byobu-session ] ; then
  echo ": there is an active session. Run 'byobu' to attach to it in a nested window."
else
  echo ": run 'byobu' to start a nested session"
fi

Related branches

Changed in byobu (Ubuntu):
status: New → Confirmed
importance: Undecided → High
Changed in byobu (Ubuntu):
status: Confirmed → In Progress
assignee: nobody → Dustin Kirkland (kirkland)
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package byobu - 3.30-0ubuntu1

---------------
byobu (3.30-0ubuntu1) natty; urgency=low

  [ Dustin Kirkland ]
  * usr/share/applications/byobu.desktop: fix description
  * usr/bin/byobu-status-detail: make a couple of minor modifications
    noticed while investigating the already-fixed LP: #750887
  * usr/lib/byobu/raid: fix grep that changed recently in Linux's
    md driver's printing to /proc/mdstat, LP: #760693
  * usr/share/byobu/profiles/common: preserve splits across detach/reattach,
    LP: #760696
  * usr/bin/byobu-launcher: don't disrupt work flow, but rather inform
    user about launching byobu in a nested screen session, LP: #747649
  * usr/bin/byobu-launch, usr/bin/byobu-launcher-install: fix handling
    of logout behavior, when dpkg-configured globally by the sysadmin,
    LP: #741281
  * usr/share/byobu/profiles/common: fix bold color intensity, LP: #727466
  * usr/bin/byobu-janitor, usr/bin/byobu-launch, usr/bin/byobu-launcher-
    install, usr/bin/byobu-launcher-uninstall,
    usr/share/byobu/keybindings/f-keys,
    usr/share/byobu/keybindings/screen-escape-keys,
    usr/share/man/man1/byobu.1:
    - add a more permanent fix for LP: #604931
    - update documentation
  * usr/share/byobu/keybindings/f-keys,
    usr/share/byobu/keybindings/screen-escape-keys:
    - fix ctrl-f5
  * debian/source/format, === removed directory debian/source: remove these
    until bzr builddeb bug gets fixed
  * usr/bin/byobu, usr/share/byobu/profiles/byoburc,
    usr/share/byobu/profiles/Makefile.am,
    usr/share/byobu/profiles/screenrc: support using ~/.byoburc, instead of
    ~/.screenrc, if present; some users seem to want to use byobu and screen
    separately, and keep their profiles separate, LP: #731529
  * usr/bin/byobu-janitor: use greadlink on Mac OSX, LP: #740370
  * usr/bin/byobu-select-session: fix broken path to screen, affects users
    who build/install byobu locally only, LP: #758177

  [ Chaskiel Grundman ]
  * debian/postinst: correctly fix old-school screen-profiles era diversions
    of /usr/bin/screen, LP: #727738
 -- Dustin Kirkland <email address hidden> Sun, 27 Feb 2011 10:29:53 -0600

Changed in byobu (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.