svn commit: r203643 - user/dougb/portmaster

Doug Barton dougb at FreeBSD.org
Mon Feb 8 00:44:00 UTC 2010


Author: dougb
Date: Mon Feb  8 00:43:59 2010
New Revision: 203643
URL: http://svn.freebsd.org/changeset/base/203643

Log:
  If we are running on a cons25 terminal let term_printf() return
  instead of trying to printf the escapes which won't work and will
  annoy users.

Modified:
  user/dougb/portmaster/portmaster

Modified: user/dougb/portmaster/portmaster
==============================================================================
--- user/dougb/portmaster/portmaster	Mon Feb  8 00:36:37 2010	(r203642)
+++ user/dougb/portmaster/portmaster	Mon Feb  8 00:43:59 2010	(r203643)
@@ -1657,6 +1657,10 @@ check_fetch_only () {
 }
 
 term_printf () {
+	case "$TERM" in
+	cons25)	return ;;
+	esac
+
 	printf "\033]0;${0##*/}: ${PM_PARENT_PORT}${1}\007"
 }
 


More information about the svn-src-user mailing list