From owner-svn-src-all@freebsd.org Tue Apr 4 13:25:54 2017 Return-Path: Delivered-To: svn-src-all@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 CE9F5D2DCB0 for ; Tue, 4 Apr 2017 13:25:54 +0000 (UTC) (envelope-from mailing-machine@vniz.net) Received: from mail-lf0-f66.google.com (mail-lf0-f66.google.com [209.85.215.66]) (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 6A74091B for ; Tue, 4 Apr 2017 13:25:54 +0000 (UTC) (envelope-from mailing-machine@vniz.net) Received: by mail-lf0-f66.google.com with SMTP id n78so15508004lfi.3 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=fewpuO9/BbJqM27dLuNv8WOO2TDQD7wg4W1mzS1qnJD6Km6sgL55wAKOZ4/1BdkdWw j7n1LKuCNSmffMR1yhWOJwTW4UXWhQhh9W541LizxSdaBGIgP8nTHGmjXCM8CZn6llla thvX1186rDtuh1DtOBbZ6CKMEWP0GSKUcPr14lYeSn42fEMC0HRzKYzcFO+kaQMqyZRP OdmKbzpHK/KTj2+BBKEM4IlO6SL2rbmUsX5xp9pzjJriiVVqUymbWET5cffAK2yryS4W X180+pr4mfIFHlP+4+qsgV/MSEjjE/uQPki003JqA5ah9mml1F4m2S93RzlKVY/XVHZY qCmQ== X-Gm-Message-State: AFeK/H0CM6zxbzsYphEmkid/yGH2Pn+rb5j3d9J4nLniUAz/fz6Dd2V/vNKXdMCRQBeR9A== 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-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" 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.