2020-10-24 rocky <rockygnu.org>
* .gitignore, Makefile, README.rst, __pkginfo__.py,
admin-tools/check-versions.sh, admin-tools/git2cl,
admin-tools/make-dist.sh, admin-tools/pyenv-versions, setup.py,
term_background/.gitignore, term_background.py =>
term_background/__init__.py, term_background/version.py,
test/.gitignore, test/test_term_background.py: Turn this into a
Python package. Add a test too!
2020-05-28 rocky <rockygnu.org>
* README.md: Revise README.md to reflect more-recent changes.
2020-04-11 R. Bernstein <rockyusers.noreply.github.com>
* : Merge pull request 8 from egberts/master Incorporate Rocky's request, and some forced integer operation, and
`linux` TERM
2020-04-11 steve <stevearca.leo>
* term-background.bash: - store is_sourced() BASH_SOURCE[0] back to unquoted. - Force it to integer mode for integer comparison because string
comparison failed when leading zero appears during new pre-analysis
for non-COLORFGBG/older VTE library. - Added `linux` TERM to the same logic as `xterm*`, `gnome`, and
`rxvt*` TERMs.
2020-04-11 rocky <rockygnu.org>
* README.md, term-background.bash, term-background.ksh,
term-background.zsh: Sync up ksh and zsh scripts with bash
2020-04-11 rocky <rockygnu.org>
* term-background.bash: Small tweaks
2020-04-11 R. Bernstein <rockyusers.noreply.github.com>
* : Merge pull request 7 from egberts/master Better background detector
2020-04-10 steve <stevearca.leo>
* term-background.bash: Oops, Need to actually see the BASH_SOURCE
variable after double-quoting it, so add that $ next to the variable
name so we can see its content.
2020-04-10 steve <stevearca.leo>
* term-background.bash: Use JetBrain PyCharm's bash syntax formatter
to ensure that the default 2-space indentation are being done as
well as proper spacing between various components of the bash
programming lexicals.
2020-04-10 steve <stevearca.leo>
* term-background.bash: Use the sum the 3 elements of RGB of each
the foreground and the background so that a more accurate
determination can be made as to what constitute a light background
or dark background.
2020-04-10 steve <stevearca.leo>
* term-background.bash: Remove 'junk' variable as it appears to be
unused.
2020-04-10 steve <stevearca.leo>
* term-background.bash: Wrap return value with double quote to
prevent globbing and word-splitting.
2020-04-10 steve <stevearca.leo>
* term-background.bash: Wrap BASH_SOURCE environment variable with
double quotes to ensure protection against GLOB'ing.
2020-03-12 R. Bernstein <rockyusers.noreply.github.com>
* README.md: Update README.md
2020-03-12 R. Bernstein <rockyusers.noreply.github.com>
* README.md: Update README.md
2019-12-06 rocky <rockygnu.org>
* term-background.bash, term-background.ksh, term-background.zsh,
term_background.py: DARK_BG -> LC_DARK_BG However DARK_BG is not gone yet, just deprecated. Fixes 4
2019-11-11 rocky <rockygnu.org>
* term_background.py: Add Python equivalent
2019-11-10 R. Bernstein <rockyusers.noreply.github.com>
* README.md: Update README.md
2019-11-09 rocky <rockygnu.org>
* term-background.sh => term-background.bash, kterm-background.sh
=> term-background.ksh, zterm-background.sh => term-background.zsh:
Squelch stty errors and ... is more POSIX shell agnostic in shell script naming.
2019-11-04 rocky <rockygnu.org>
* kterm-background.sh, term-background.sh, zterm-background.sh:
Address ksh lint warnings... Note though that some things that can be done in ksh don't work in
bash or zsh, notably (( 16r + 16g ))
2019-10-31 rocky <rockygnu.org>
* README.md, kterm-background.sh: Add ksh version of term-background
2019-09-10 rocky <rockygnu.org>
* README.md: Mention zsh script
2019-09-10 rocky <rockygnu.org>
* zterm-background.sh: Add zsh version
2019-09-01 rocky <rockygnu.org>
* .gitignore, COPYING, term-background.sh: Add GPL 2+ license
2019-06-28 rocky <rbdustyfeet.com>
* term-background.sh: Respect COLORTERMFGBG and ... Had setting backwards.
2019-05-09 rocky <rockygnu.org>
* term-background.sh: Add OSX osascript method suggested by duthen
2019-04-26 rocky <rockygnu.org>
* term-background.sh: Use /usr/bin/env bash rather than /bin/bash This works better on OSX where /bin/bash is brain dead. Also might
be better on csh-centric OS's. FreeBSD/NetBSD?
2019-04-23 R. Bernstein <rockyusers.noreply.github.com>
* README.md: Update README.md
2019-04-23 R. Bernstein <rockyusers.noreply.github.com>
* README.md: Update README.md
2019-04-23 R. Bernstein <rockyusers.noreply.github.com>
* README.md: Update README.md
2019-04-23 rocky <rockygnu.org>
* README.md: Note TERMINAL_COLOR_MIDPOINT.
2019-04-17 R. Bernstein <rockyusers.noreply.github.com>
* : Merge pull request 3 from rocky/TERMINAL_COLOR_MIDPOINT Terminal color midpoint
2019-04-16 rocky <rbdustyfeet.com>
* term-background.sh: Try user-settable TERMINAL_COLOR_MIDPOINT var
2018-03-25 rocky <rockygnu.org>
* term-background.sh: get->set
2018-03-10 rocky <rbdustyfeet.com>
* term-background.sh: Fix erroneous early exiting
2017-05-24 R. Bernstein <rockyusers.noreply.github.com>
* README.md: Update README.md
2016-06-25 rocky <rockygnu.org>
* term-background.sh: Handle source'ing better
2015-12-24 R. Bernstein <rockyusers.noreply.github.com>
* term-background.sh: doc typosb
2015-12-24 R. Bernstein <rockyusers.noreply.github.com>
* README.md: Update README.md
2015-12-24 R. Bernstein <rockyusers.noreply.github.com>
* README.md: Markdown format
2015-12-24 R. Bernstein <rockyusers.noreply.github.com>
* README.md: typos
2015-12-24 rocky <rockygnu.org>
* First cut at trying to figure out if terminal has a light or dark
background