Commit 833deb1f authored by Kean Johnston's avatar Kean Johnston
Browse files

[master] Use tput rather than hard-coded escape sequences

Rather than using terminal-specific hard-coded escape sequences that are
not guaranteed to work on all terminals, use the tput utility. Also use
the terminal defined standout mode rather than trying to set a specific
colour. The old way enabled bright yellow text which, while very visible
if your background is black, is all but invisible if your terminal
background is white.
parent 95fd27d6
......@@ -21,11 +21,11 @@ dist_doc_DATA = AUTHORS COPYING ChangeLog README
.PHONY: check-valgrind check-valgrind-suppress
-@echo -e "\033[1;33m" # switch to yellow color text
-@tput smso # Start standout mode
@echo "NOTE: BIND 10 does not automatically start DNS services when it is run"
@echo " in its default configuration. Please see the Guide for information"
@echo " on how to configure these services to be started automatically."
-@echo -e "\033[m" # switch back to normal
-@tput rmso # End standout mode
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment