Merge lp:~jamesodhunt/byobu/ulevel-a11y-and-permissive-options into lp:byobu
Status: | Merged |
---|---|
Merged at revision: | 1301 |
Proposed branch: | lp:~jamesodhunt/byobu/ulevel-a11y-and-permissive-options |
Merge into: | lp:byobu |
Diff against target: |
267 lines (+76/-26) 3 files modified
debian/changelog (+6/-4) usr/bin/byobu-ugraph (+3/-2) usr/bin/byobu-ulevel (+67/-20) |
To merge this branch: | bzr merge lp:~jamesodhunt/byobu/ulevel-a11y-and-permissive-options |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Dustin Kirkland | Pending | ||
Review via email: mp+49935@code.launchpad.net |
Description of the change
* usr/bin/
- Added new options:
- '-p' (permissive mode): makes script tolerate
current value over max/under min (needed for byobu-ugraph for
example when specifying an arbitrary maximum for system load).
- '-a' (accessibility mode): Disabled UTF-8 output in favour of
ASCII. Also enabled if variable BYOBU_A11Y set.
- '-e': allows the specification of the number of decimal places.
(only appropriate when used with '-a').
- show_theme_entry(): Now calculates a proper percentage and passes
this to show_rating_
* usr/bin/
- usage(): Added missing '-m' value + comment to example.
- main: Added '-p' (permissive) option to byobu-ulevel call.
On Wed, Feb 16, 2011 at 3:39 AM, James Hunt <email address hidden> wrote:
> + # Note: we need to specify what we consider to be a "reasonable" maximum load
> + $script_name -m 3.0 -f \$file
Load is relative the number of cpus. Note that we have a status
script that counts CPUs ;-)