=== modified file 'usr/bin/byobu' --- usr/bin/byobu 2010-04-22 17:31:21 +0000 +++ usr/bin/byobu 2010-04-23 00:16:13 +0000 @@ -53,7 +53,12 @@ # Now let's execute screen! if [ "$#" = "0" ]; then out=$(screen -wipe 2>/dev/null) || true - if echo "$out" | grep -qsi "^No Sockets found in "; then + if [ -r "$HOME/.nethackrc" ] || [ "$NETHACKOPTIONS" != "" ]; then + NO_SOCKETS="^This room is empty " + else + NO_SOCKETS="^No Sockets found in " + fi + if echo "$out" | grep -qsi "$NO_SOCKETS"; then # Start new session exec screen $SCREEN_TERM -c "/usr/share/$PKG/profiles/byoburc" -t shell $DEFAULT_WINDOW else