alias.bash: restore || echo 0 sequence after tput colors#201
alias.bash: restore || echo 0 sequence after tput colors#201jengelh wants to merge 1 commit intoopenSUSE:masterfrom
|| echo 0 sequence after tput colors#201Conversation
|
Umm .. this should be working with latest ncurses again ... means on all architectures ...at least the latest |
|
so this change is obsoleted ? |
|
Looks like Jürgen is still on vacation
|
|
tput does not always output -1. |
AFAICS in as well as in where |
|
A wrong set |
|
The special bash code: tcsh code: |
|
So, any progress? |
The current code works with latest ncurses and when a wrong TERM is set at all? |
It is possible for
test "$(tput colors)" -ge 8to throw a-bash: test: : integer expectedexception.In commit 983fd43,
tput colorswas always followed by|| echo 0, because tput does not output anything if there are no definitions for the current $TERM value. This got lost in commit 5486aad.