From ae3acfa9bc6db680fcf16dbbb43f50ac014ba117 Mon Sep 17 00:00:00 2001 From: Dustin Kirkland Date: Tue, 22 Feb 2011 07:48:25 -0600 Subject: [PATCH] usr/lib/byobu/date, usr/share/man/man1/byobu.1: fix issues from Question #144881 --- debian/changelog | 2 ++ usr/lib/byobu/date | 2 +- usr/share/man/man1/byobu.1 | 5 ++++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index f748921d..1785a5e8 100644 --- a/debian/changelog +++ b/debian/changelog @@ -12,6 +12,8 @@ byobu (3.28) unreleased; urgency=low * usr/share/applications/byobu.desktop: change the "window manager" verbiage to "command line"; looks a little better on desktop applications menu where "window manager" sounds quite different + * usr/lib/byobu/date, usr/share/man/man1/byobu.1: fix issues from + Question #144881 [ James Hunt ] * usr/lib/byobu/time_binary: New UTF-8 notification showing time in binary diff --git a/usr/lib/byobu/date b/usr/lib/byobu/date index a7cc9742..d5129afd 100755 --- a/usr/lib/byobu/date +++ b/usr/lib/byobu/date @@ -25,7 +25,7 @@ case "$1" in date +%Y-%m-%d ;; *) - msg="$(echo SGFwcHkgQmlydGhkYXkgU2NyZWVuIC0tIGh0dHA6Ly9iaXQubHkvc2NyZWVuLWJkYXkK | base64 -d)" + msg="$(echo SGFwcHkgQmlydGhkYXkgU2NyZWVuIC0tIGh0dHA6Ly9iaXQubHkvc2NyZWVuLWJkYXkK | base64 -di)" [ "$(date +%d)" = "20" ] && [ "$(date +%m)" = "03" ] && screen -X -S "byobu" at "*" echo "[$msg]" printf "\005Y-\005m-\005d " ;; diff --git a/usr/share/man/man1/byobu.1 b/usr/share/man/man1/byobu.1 index cc32f088..4c066120 100644 --- a/usr/share/man/man1/byobu.1 +++ b/usr/share/man/man1/byobu.1 @@ -37,7 +37,7 @@ Note that DATA=\fI$HOME/.byobu\fP. \fBdisk\fP \- total disk space available and total used on / directory; displayed in the lower bar on the far right in white text on a light purple background; override the default directory by specifying an alternate mount point with MONITORED_DISK=/wherever in \fI$DATA/statusrc\fP -\fBdisk_io\fP \- instantaneous read/write througput in kB/s or MB/s over the last 3 seconds; displayed in the lower bar toward the right in white text on a light purple background with a leading '<' sign indicating 'read speed' and '>' sign indicating 'write speed'; override the default monitored disk by specifying an alternate device with MONITORED_disk=/dev/sdb in \fI$DATA/statusrc\fP +\fBdisk_io\fP \- instantaneous read/write througput in kB/s or MB/s over the last 3 seconds; displayed in the lower bar toward the right in white text on a light purple background with a leading '<' sign indicating 'read speed' and '>' sign indicating 'write speed'; override the default monitored disk by specifying an alternate device with MONITORED_DISK=/dev/sdb in \fI$DATA/statusrc\fP \fBec2_cost\fP \- an estimation of the cost of the current boot of the system in terms of the Amazon EC2 billing model; displayed in the lower bar toward the right in green text on a black background; there is a leading '~' to indicate that this is an estimation, and the monetary units are US Dollars '$' @@ -170,6 +170,9 @@ byobu keybindings can be user defined in /usr/share/byobu/keybindings/ (or withi .SH "BUGS" +For Byobu colors to work properly, older versions of GNU Screen require a 1-line patch to adjust MAX_WINMSG_REND in screen.c. The change is in GNU Screen's upstream source control system as of 2010-01-26, but GNU Screen has not released a new upstream version in several years. You can disable colors entirely by setting MONOCHROME=1 in \fI~/.byobu/statusrc\fP. For more information, see: + * http://savannah.gnu.org/bugs/?22146 + PuTTY users have reported that the F2, F3, and F4 shortcut keys are not working properly. PuTTY sends the same escape sequences as the linux console for F1-F4 by default. You can fix this problem in the PuTTY config, Terminal -> Keyboard -> Function keys: Xterm R6. See: \fIhttp://www.mail-archive.com/screen-users@gnu.org/msg01525.html\fP Mac OSX terminal users have reported 'flashing text'. You can fix this in the advanced settings of the terminal application, with 'Declare Terminal As: xterm-color'.