BIND 10 master, updated. 833deb1fced98bc568ab238a8e4f6f876ca97283 [master] Use tput rather than hard-coded escape sequences

BIND 10 source code commits bind10-changes at lists.isc.org
Mon Dec 9 06:42:58 UTC 2013


The branch, master has been updated
       via  833deb1fced98bc568ab238a8e4f6f876ca97283 (commit)
      from  95fd27d60daef2d8ca272ce3fde3911787b1d127 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 833deb1fced98bc568ab238a8e4f6f876ca97283
Author: Kean Johnston <kean at isc.org>
Date:   Mon Dec 9 08:40:34 2013 +0200

    [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.

-----------------------------------------------------------------------

Summary of changes:
 Makefile.am |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-----------------------------------------------------------------------
diff --git a/Makefile.am b/Makefile.am
index 2b7d149..6fd0200 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:
-	- at echo -e "\033[1;33m" # switch to yellow color text
+	- at 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."
-	- at echo -e "\033[m" # switch back to normal
+	- at tput rmso  # End standout mode
 
 check-valgrind:
 if HAVE_VALGRIND



More information about the bind10-changes mailing list