diff --git a/debian/changelog b/debian/changelog index 18f394af..f63963f0 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,8 @@ byobu (2.72) unreleased; urgency=low * usr/bin/byobu: support nethack screen mode, LP: #568751 + * usr/share/man/man1/byobu.1: document a sample custom script using + custom colors, LP: #568967 -- Dustin Kirkland Thu, 22 Apr 2010 12:31:20 -0500 diff --git a/usr/share/man/man1/byobu.1 b/usr/share/man/man1/byobu.1 index 96f52070..dc7901a4 100644 --- a/usr/share/man/man1/byobu.1 +++ b/usr/share/man/man1/byobu.1 @@ -24,6 +24,9 @@ byobu \- wrapper script for seeding a user's byobu configuration and launching s \fBcpu_temp\fP \- the cpu temperature in Celsius (default) or Fahrenheit, configure TEMP=F or TEMP=C in \fI$HOME/.byobu/statusrc\fP; displayed in the lower bar toward the right in yellow text on a black background; you may override the detected cpu temperature device by setting MONITORED_TEMP=/proc/acpi/whatever in \fI$HOME/.byobu/statusrc\fP \fBcustom\fP \- user defined custom scripts; must be executable programs of any kind in \fI$HOME/.byobu/bin\fP; must be named N_NAME, where N is the frequency in seconds to refresh the status indicator, and NAME is the name of the script; N should not be less than 5 seconds; script should echo a small amount of text to standard out, standard error is discared; the indicator will be displayed in the lower panel, in inverted colors to your current background/foreground scheme, unless you manually specify the colors in your script's output; BEWARE, cpu-intensive custom scripts may impact your overall system performance and could upset your system administrator! + Example: \fI~/.byobu/bin/1000_uname\fP + #!/bin/sh + printf "\\005{= bw}%s\\005{-}" "$(uname -r)" \fBdate\fP \- the system date in YYYY-MM-DD formate; displayed in the lower on the far right in the default text color on the default background