From owner-freebsd-current@freebsd.org Mon Nov 21 17:03:10 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 85158C4D1D0 for ; Mon, 21 Nov 2016 17:03:10 +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 62F12947 for ; Mon, 21 Nov 2016 17:03:10 +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 uALH357r013428 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Mon, 21 Nov 2016 09:03:09 -0800 (PST) (envelope-from julian@freebsd.org) Subject: Re: tput failing on 10 and 12 systems? To: Adrian Chadd References: <834855a9-adcd-71b3-2422-e9eb97258486@freebsd.org> Cc: freebsd-current From: Julian Elischer Message-ID: <1b096f08-a63b-7254-58ba-9ee1ceb2ff5a@freebsd.org> Date: Tue, 22 Nov 2016 01:03:00 +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 In-Reply-To: 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 17:03:10 -0000 On 22/11/2016 12:49 AM, Adrian Chadd wrote: > Hiya, > > Just to follow through - part of tput is to decode command args, but > it then just requests it from the ncurses tputs() call. > > So it could be tput, but it could also be the BSD ncurses work. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214709 > > > -adrian > > > On 21 November 2016 at 07:54, Julian Elischer wrote: >> 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. >> >> >> >> >> >> >> >> _______________________________________________ >> freebsd-current@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-current >> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"