* usr/bin/byobu-silent, usr/bin/Makefile.am: add a total silence

mode for Byobu
* usr/share/man/man1/byobu-quiet.1, usr/share/man/man1/byobu-silent.1:
  - add a manpage for byobu-silent.1, and update byobu-silent.1
This commit is contained in:
Dustin Kirkland 2011-05-21 19:22:14 +02:00
commit 8a07e88810
5 changed files with 66 additions and 2 deletions

4
debian/changelog vendored
View file

@ -10,6 +10,10 @@ byobu (4.2) unreleased; urgency=low
- turn on battery, disk_io, users, wifi, as nothing is displayed
if we have none
* usr/lib/byobu/disk: add trailing whitespace
* usr/bin/byobu-silent, usr/bin/Makefile.am: add a total silence
mode for Byobu
* usr/share/man/man1/byobu-quiet.1, usr/share/man/man1/byobu-silent.1:
- add a manpage for byobu-silent.1, and update byobu-silent.1
[ Scott Moser ]
* usr/bin/byobu, usr/bin/byobu-reconnect-sockets,

View file

@ -1,2 +1,2 @@
bin_SCRIPTS = byobu byobu-config byobu-ctrl-a byobu-disable byobu-enable byobu-export byobu-janitor byobu-launch byobu-launcher byobu-launcher-install byobu-launcher-uninstall byobu-quiet byobu-reconnect-sockets byobu-select-profile byobu-select-session byobu-status byobu-status-detail shell
bin_SCRIPTS = byobu byobu-config byobu-ctrl-a byobu-disable byobu-enable byobu-export byobu-janitor byobu-launch byobu-launcher byobu-launcher-install byobu-launcher-uninstall byobu-quiet byobu-reconnect-sockets byobu-select-profile byobu-select-session byobu-silent byobu-status byobu-status-detail shell

32
usr/bin/byobu-silent Executable file
View file

@ -0,0 +1,32 @@
#!/bin/sh
#
# byobu-silence - disable the hardstatus, all indicators, and the window list
# Copyright (C) 2011 Canonical Ltd.
#
# Authors: Dustin Kirkland <kirkland@ubuntu.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, version 3 of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
PKG="byobu"
FLAG="$HOME/.$PKG/status.disable"
# Clean up environment
sed -i "/caption/d" "$HOME/.$PKG/keybindings" || true
if [ "$1" = "--undo" ]; then
rm -f "$FLAG"
else
touch "$FLAG"
echo "caption splitonly ''" >> "$HOME/.$PKG/keybindings"
fi
exec byobu-quiet "$@"

View file

@ -8,7 +8,10 @@ byobu\-quiet [--undo]
.SH DESCRIPTION
\fBbyobu\-quiet\fP will disable ALL of Byobu's status indicators and eliminate the hardstatus line.
Some administrators, in some environments, at some times may prefer a very minimal, quiet Byobu, without the potentially distracting status indicators and eye candy. However, the window menu is preserved, as well as all of Byobu's keybindings and helper utilities.
Some administrators, in some environments, at some times may prefer a very minimal, quiet Byobu, without the potentially distracting status indicators and eye candy. However, the window menu is preserved, as well as all of Byobu's keybindings and helper utilities. To elminate the window list, use \fBbyobu-silent\fP(1).
.SH SEE ALSO
\fBbyobu-silent\fP(1)
.TP
\fIhttp://launchpad.net/byobu\fP

View file

@ -0,0 +1,25 @@
.TH byobu-silent 1 "21 May 2011" byobu "byobu"
.SH NAME
byobu\-silent\- Silence all of Byobu's status indicators, eliminate the hardstatus line, and the window list
.SH USAGE
byobu\-silent [--undo]
.SH DESCRIPTION
\fBbyobu\-silent\fP will disable ALL of Byobu's status indicators, eliminate the hardstatus line, and the window list.
Some administrators, in some environments, at some times may prefer a very minimal, quiet Byobu, without the potentially distracting status indicators and eye candy.
\fBbyobu-silent\fP implies \fBbyobu-quiet\fP.
.SH SEE ALSO
\fBbyobu-quiet\fP(1)
.TP
\fIhttp://launchpad.net/byobu\fP
.PD
.SH AUTHOR
This manpage and the utility were written by Dustin Kirkland <kirkland@canonical.com> for Ubuntu systems (but may be used by others). Permission is granted to copy, distribute and/or modify this document and the utility under the terms of the GNU General Public License, Version 3 published by the Free Software Foundation.
The complete text of the GNU General Public License can be found in \fI/usr/share/common-licenses/GPL\fP on Debian/Ubuntu systems, or in \fI/usr/share/doc/fedora-release-*/GPL\fP on Fedora systems, or on the web at \fIhttp://www.gnu.org/licenses/gpl.txt\fP.