From owner-freebsd-current@freebsd.org Mon Nov 21 16:49:11 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 D7432C4DCA1 for ; Mon, 21 Nov 2016 16:49:11 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-it0-x229.google.com (mail-it0-x229.google.com [IPv6:2607:f8b0:4001:c0b::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A32FA1B8F; Mon, 21 Nov 2016 16:49:11 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-it0-x229.google.com with SMTP id c20so90514784itb.0; Mon, 21 Nov 2016 08:49:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=XSOPOkk545l6imQuaNNrPTcsmL/uvPT5F/CgxwTKqow=; b=IVB4ou6pLRcBOZrLxoXSd4w7hIuTfFNaJZ3YE0eY+/lIyMCYp5n+ZcDDN0yf5fEg22 1V6uFv961UpE6pN/jcAgGY9wZzJX38Yg/SpxwJbZsD/cqz5BhGAM10b7fqh8TMAAKgZs J+euVs1Kd4ti6qVLgceN1vAf4ihShs6eY71alEP2CiDOFLm5QzwTLAZvnbXovVFlJHeb SAGlK/ksri2AQ9yOIIaFV3ePii9iXaNCKZmMOGKzL39IdVUonZpdRdW3iDjXFjVrgamf BO+/zovuUF1yc2YEFDIP0/oNRDL0RAJKro6xm1ZjfraPWlikgLL31Zj3eU2pzCxu4jMU S4xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=XSOPOkk545l6imQuaNNrPTcsmL/uvPT5F/CgxwTKqow=; b=PqiYZkTITbA+xWE1O3NfIZg6KvBx+WQvOG3vUF37GMA/6HFi0ehX07bP7kZKbSHS6n BHfRsYxW5j8z9YOFXHV1QKxhznmzlN/WN3NQtwDdRRxZsdvbOR3AEZ+IN1SiF0/jl+5K fPB9UkV9rlmJ+0uUWsqEs9t/Ed7EnJ/o7uks/Fp21oLqQ+XxXJa9hh/d33TxDKsYv+w0 zbkOybTeFDcMS7XmctBauz4sptwaZDcz3XtcEHK70buOQm9ObDy4udVToBqLlCfY9dRf CfczpNEYw03wV4/duUCJZFiJ7KELogSAgbkeZ/ZopJae9ogA9smEpX1DmycJBlqQ+/oN HdzA== X-Gm-Message-State: AKaTC02vK9J3QRaDORbLrLaXWgbSrFl7MK0AxqxinkBaKfIozs+iSOld1UBYaQnbAFTTvHhnpJXSo4DsCMWwvA== X-Received: by 10.36.91.134 with SMTP id g128mr7651835itb.78.1479746950858; Mon, 21 Nov 2016 08:49:10 -0800 (PST) MIME-Version: 1.0 Received: by 10.36.39.134 with HTTP; Mon, 21 Nov 2016 08:49:10 -0800 (PST) In-Reply-To: <834855a9-adcd-71b3-2422-e9eb97258486@freebsd.org> References: <834855a9-adcd-71b3-2422-e9eb97258486@freebsd.org> From: Adrian Chadd Date: Mon, 21 Nov 2016 08:49:10 -0800 Message-ID: Subject: Re: tput failing on 10 and 12 systems? To: Julian Elischer Cc: freebsd-current Content-Type: text/plain; charset=UTF-8 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:49:11 -0000 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. -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"