From owner-freebsd-current@freebsd.org Mon Nov 21 16:11:41 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E8AB2C4CC27 for ; Mon, 21 Nov 2016 16:11:41 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vps1.elischer.org", Issuer "CA Cert Signing Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id AF6C71EB7 for ; Mon, 21 Nov 2016 16:11:41 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from Julian-MBP3.local (ppp121-45-226-236.lns20.per1.internode.on.net [121.45.226.236]) (authenticated bits=0) by vps1.elischer.org (8.15.2/8.15.2) with ESMTPSA id uALFsG9s013159 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Mon, 21 Nov 2016 07:54:19 -0800 (PST) (envelope-from julian@freebsd.org) To: freebsd-current From: Julian Elischer Subject: tput failing on 10 and 12 systems? Message-ID: <834855a9-adcd-71b3-2422-e9eb97258486@freebsd.org> Date: Mon, 21 Nov 2016 23:54:10 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Nov 2016 16:11:42 -0000 example on freefall (FreeBSD 12.0-CURRENT #0 r306376) julian@freefall:tput setaf 4|od -c 0000000 033 [ m 0000003 so nothing happens, and tput returns 1. but on a FreeBSD 8 system: [jelischer@alpha ~]$ tput setaf 4|od -c 0000000 033 [ 3 4 m 0000005 which make the text change color. similarly all the related tput color commands I can think of fail on 10,11,12 but programs such as vim can use color just fine. So I suspect tput itself. anyone have experience with this? seems easy to reproduce.