diff options
author | Kean Johnston <kean@isc.org> | 2013-12-09 07:40:34 +0100 |
---|---|---|
committer | Kean Johnston <kean@isc.org> | 2013-12-09 07:40:34 +0100 |
commit | 833deb1fced98bc568ab238a8e4f6f876ca97283 (patch) | |
tree | e9755022d0f1acef7be276f2f607c63b98a4f903 /Makefile.am | |
parent | [2103] Merge branch 'trac2103' (diff) | |
download | kea-833deb1fced98bc568ab238a8e4f6f876ca97283.tar.xz kea-833deb1fced98bc568ab238a8e4f6f876ca97283.zip |
[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.
Diffstat (limited to '')
-rw-r--r-- | Makefile.am | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am index 2b7d149531..6fd0200c5e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -21,11 +21,11 @@ dist_doc_DATA = AUTHORS COPYING ChangeLog README .PHONY: check-valgrind check-valgrind-suppress install-exec-hook: - -@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 check-valgrind: if HAVE_VALGRIND |