From owner-svn-src-head@freebsd.org Tue Apr 4 13:25:54 2017 Return-Path: Delivered-To: svn-src-head@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 A4BE4D2DCAE for ; Tue, 4 Apr 2017 13:25:54 +0000 (UTC) (envelope-from mailing-machine@vniz.net) Received: from mail-lf0-f68.google.com (mail-lf0-f68.google.com [209.85.215.68]) (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 429B6919 for ; Tue, 4 Apr 2017 13:25:54 +0000 (UTC) (envelope-from mailing-machine@vniz.net) Received: by mail-lf0-f68.google.com with SMTP id r36so15560994lfi.0 for ; Tue, 04 Apr 2017 06:25:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=8xjaCz12ykPgPOTsIVLgq2tH2knyRAecQARCjIlSmWE=; b=ek73XOZp2a4QXd1/It4qGY6up9Ds1g+cXLgdx0bvvuh+YCjvLT+NHVQexGRoonDnSo dof5pRhyZsqw5Jusy5fSfu/x5T3Vgrm709FgLQVJZace0hRpOS/GKmk5LzZHY6jkonU9 rqkg/7BbbkY/3LOiWD11BVKJeHh2qDpln+xOAmXos7YR6ENHu4FAChlgkazDMx3iXT6o M3wZKOoNaA24XHHiuynpWcD0ari/swd6S1U1wMSHPrwY3XQ1Gw3k3niFhPUA2EjCERTN dotYgS448qXcmTWIAgj50URnAV7RD+MuONT5mU5Y9cfydfoLhkw7vOAHTVsI3qsVYLdL P42A== X-Gm-Message-State: AFeK/H2bSOAcSpKWEWwoJD85feSwQFq4D6by0e161K8lavdX/w31/sN/1c+d9BXdrYnz6Q== X-Received: by 10.25.41.11 with SMTP id p11mr6960315lfp.154.1491312352382; Tue, 04 Apr 2017 06:25:52 -0700 (PDT) Received: from [192.168.1.2] ([89.169.173.68]) by smtp.gmail.com with ESMTPSA id 187sm3163680ljf.32.2017.04.04.06.25.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Apr 2017 06:25:51 -0700 (PDT) Subject: Re: svn commit: r316477 - head/usr.bin/grep To: Bruce Evans References: <201704032316.v33NGpbo037305@repo.freebsd.org> <4ceb1a18-3a72-c0e3-b2e2-f71d687cd153@freebsd.org> <20170404222532.X2274@besplex.bde.org> Cc: Ed Maste , src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org From: Andrey Chernov Message-ID: <7f84df5f-10ef-5522-1ac2-b8bec5b3bcaa@freebsd.org> Date: Tue, 4 Apr 2017 16:25:51 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <20170404222532.X2274@besplex.bde.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Apr 2017 13:25:54 -0000 On 04.04.2017 16:05, Bruce Evans wrote: > This might be to work around a bug in a terminal driver. I needed the > 0 (but just one) to reset the attributes in my attribute tests, on at > least 1 of the tested terminals (current sc, current vt, old sc, old > xterm, old cygwin xterm). CSI m seems to be working for sc now, and the > teken code looks OK. I never meet such one. Even most earlier specs tells about CSI m and it works in sc from its first day. You can check how often CSI m used by inspecting /etc/termcap changes, there is no 00 too.