Comment 3 for bug 375309

Revision history for this message
Rocco (rocco) wrote :

sh -x /usr/bin/screen true 2>/tmp/out

+ OLDPKG=screen-profiles
+ PKG=byobu
+ [ -d /root/. -a ! -e /root/.byobu ]
+ [ -d /root/.byobu ]
+ [ -n -a -r ]
+ SCREENRC=/root/.screenrc
+ [ -r /root/.screenrc -a ! -e /root/.byobu/profile -a ! -h /root/.byobu/profile ]
+ DEFAULT_PROFILE=light
+ profile=/root/.byobu/profile
+ [ -h /root/.byobu/profile ]
+ [ -h /root/.byobu/profile -a ! -r /root/.byobu/profile ]
+ [ ! -r /root/.byobu/profile ]
+ [ -s /root/.byobu/keybindings ]
+ sed -i s/screen-profiles/byobu/g /root/.byobu/keybindings
+ [ -r /root/.byobu/windows ]
+ [ -r /root/.screenrc ]
+ [ 1 = 0 ]
+ exec /usr/bin/screen.real -c /root/.byobu/profile true

sh -x /usr/bin/screen 2>/tmp/out

+ OLDPKG=screen-profiles
+ PKG=byobu
+ [ -d /root/. -a ! -e /root/.byobu ]
+ [ -d /root/.byobu ]
+ [ -n -a -r ]
+ SCREENRC=/root/.screenrc
+ [ -r /root/.screenrc -a ! -e /root/.byobu/profile -a ! -h /root/.byobu/profile ]
+ DEFAULT_PROFILE=light
+ profile=/root/.byobu/profile
+ [ -h /root/.byobu/profile ]
+ [ -h /root/.byobu/profile -a ! -r /root/.byobu/profile ]
+ [ ! -r /root/.byobu/profile ]
+ [ -s /root/.byobu/keybindings ]
+ sed -i s/screen-profiles/byobu/g /root/.byobu/keybindings
+ [ -r /root/.byobu/windows ]
+ [ -r /root/.screenrc ]
+ [ 0 = 0 ]
+ mktemp -t byobu-XXXXXXXX
+ temp=/tmp/byobu-CwC19723
+ cat /root/.byobu/profile /root/.byobu/windows
+ [ -n /bin/bash -a -x /bin/bash ]
+ exec /usr/bin/screen.real -c /tmp/byobu-CwC19723 /bin/bash /usr/bin/motd+shell /tmp/byobu-CwC19723