Package: byobu
Version: 2.80-1
Severity: normal

if SSHing to a machine with "byobu launches at login" enabled, I always get a 
list containing byobu sessions currently running, also if I only have one 
session.
Then I can choose between (1) my session, (2) an emtpy line and (3) launch a 
new session.

If I change the in "byobu-select-session" the line 

output = commands.getoutput('screen -ls | sed "s/\s\+/ /g" | grep "^\s"')

to 

output = commands.getoutput('screen -ls | sed "s/\s\+/ /g" | grep "^\s+"')

the empty line dissappears and everything works as expected.


-- System Information:
Debian Release: 6.0.2
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages byobu depends on:
ii  debconf [debconf-2.0]   1.5.36.1         Debian configuration management sy
ii  gettext-base            0.18.1.1-3       GNU Internationalization utilities
ii  python                  2.6.6-3+squeeze6 interactive high-level object-orie
ii  python-newt             0.52.11-1        A NEWT module for Python
ii  screen                  4.0.3-14         terminal multiplexor with VT100/AN

byobu recommends no packages.

Versions of packages byobu suggests:
pn  apport                  <none>           (no description available)
ii  lsb-release             3.2-23.2squeeze1 Linux Standard Base version report
ii  po-debconf              1.0.16+nmu1      tool for managing templates file t
pn  update-notifier-common  <none>           (no description available)
pn  vim                     <none>           (no description available)
ii  w3m                     0.5.2-9          WWW browsable pager with excellent

-- debconf information excluded



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to