diff --git a/bin/logo b/bin/logo index 1758e384..1d38c857 100755 --- a/bin/logo +++ b/bin/logo @@ -81,8 +81,8 @@ print_logo() { $MARKUP && printf "\005{= Wr}$logo" || printf "$logo" ;; *) - logo=" 屏風 " - $MARKUP && printf "\005{= Wk}$logo" || printf " $logo " + logo="|B|" + $MARKUP && printf "\005{=b kW}$logo" || printf " $logo " ;; esac } @@ -112,4 +112,4 @@ if which lsb_release >/dev/null 2>&1; then fi # No idea! -printf " ? " +printf "|B|" diff --git a/bin/release b/bin/release index 0d1f25bd..1cffc415 100755 --- a/bin/release +++ b/bin/release @@ -17,7 +17,11 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -if which lsb_release >/dev/null 2>&1; then +PKG="byobu" + +if [ -r "$HOME/.$PKG/distro" ]; then + printf "\005{+b }%s\005{-} " `cat "$HOME/.$PKG/distro"` +elif which lsb_release >/dev/null 2>&1; then if [ "$1" = "--detail" ]; then lsb_release -a 2>/dev/null exit 0 @@ -42,5 +46,5 @@ elif [ -r "/etc/issue" ]; then # Otherwise, grab part of /etc/issue, ideally the distro and version printf "\005{+b }%s\005{-} " $(head -n1 /etc/issue | sed "s/ [^0-9]* / /" | awk '{print $1 " " $2}') else - echo "Unknown" + echo "Byobu" fi diff --git a/debian/changelog b/debian/changelog index 90eba7a3..be035316 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,9 +3,9 @@ byobu (2.25) unreleased; urgency=low * hostname, ip_address, mem_available: make sure statusrc exists before sourcing it, LP: #407478 * temp_f, temp_c: use degree character + * release, logo: default the logo and release to Byobu, if undetermined - - -- Dustin Kirkland Sun, 02 Aug 2009 21:45:56 -0400 + -- Dustin Kirkland Mon, 03 Aug 2009 03:51:06 +0100 byobu (2.24-0ubuntu1) karmic; urgency=low