From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/2454 Path: news.gmane.org!.POSTED!not-for-mail From: Jonathan de Boyne Pollard Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: nosh: User-space virtual terminal test and questions Date: Fri, 11 Jan 2019 05:19:56 +0000 Message-ID: References: <1539fe55-162b-ebd3-12c0-a15f5373d78b@NTLWorld.COM> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------008AC4856F4E2FCB7B1D6580" X-Trace: blaine.gmane.org 1547183874 6190 195.159.176.226 (11 Jan 2019 05:17:54 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 11 Jan 2019 05:17:54 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 To: Supervision Original-X-From: supervision-return-2044-gcsg-supervision=m.gmane.org@list.skarnet.org Fri Jan 11 06:17:49 2019 Return-path: Envelope-to: gcsg-supervision@m.gmane.org Original-Received: from alyss.skarnet.org ([95.142.172.232]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1ghpCX-0001T2-7r for gcsg-supervision@m.gmane.org; Fri, 11 Jan 2019 06:17:49 +0100 Original-Received: (qmail 5217 invoked by uid 89); 11 Jan 2019 05:20:25 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm Original-Sender: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 5210 invoked from network); 11 Jan 2019 05:20:24 -0000 X-Originating-IP: [86.10.101.211] X-Authenticated-User: J.deBoynePollard-newsgroups@NTLWorld.COM X-Spam: 0 X-Authority: v=2.3 cv=e/kot5h/ c=1 sm=1 tr=0 a=FQ5CjUvp3JFI4KFGyeqcZw==:117 a=FQ5CjUvp3JFI4KFGyeqcZw==:17 a=r77TgQKjGQsHNAKrUKIA:9 a=d_GAB5T1QR54HRF6cicA:9 a=QEXdDO2ut3YA:10 a=DtaJTlknKv8c40jW_7YA:9 a=CNMowtRhkAU6pO_n:21 a=_W_S_7VecoQA:10 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ntlworld.com; s=meg.feb2017; t=1547183997; bh=Z88e8QC6IbJYhW4OTcmf+8ioZ2TzOlLmleuM/9byWDo=; h=Subject:To:References:From:Date:In-Reply-To; b=Mg/wldgdmZHH4gAFYepoD78RFocco4RZ+f0oq2o+RDEzXKxUi1HNE8CnbR0Nl6krb uIS78uQu5XlOeaeuKmaBRfFiUgklRV24Z14XIGLYz8OZicKmGaBYAobnhkHyUqaGWL G5OrzQS2uIh8oJu6jHmbQ5CvmUx9TWDG4YQ5ScbRtkS84ZG4ctMmjrh2HqWvaEurD2 Q7CXopKC7d4JVeYrC5QsOpc0nvA/YIR1X/IMrQOpZn4rmjvAcq16+R0UZWnCAf8u5N TQPgaU5pBBVxF1o6HUVsUOKlOvIj3coejfK98gVv5UONLLBDA+dwOjErOfBxbWtVha FQ8vAPLQ5lpEw== In-Reply-To: X-CMAE-Envelope: MS4wfKpprHUpR0V0FlFR1PxqvE3bvYpy4FERcZ3DX0DE+RUYtRrt5g/iXT/n2t27tCmG7VRm2kN58j9Gd6Fn4LYT5bmej2mYjklDb9/Og4l+R7UjCmJG98OC elHFqxnv9MBJoPuiScbayh+8+q662pQ04UPHwyXqXMBK5JaQCbblMfDOPoiV1dNyc8WD1i23CJG3iQIIKXd7NYgopRN7PDlV/7g= Xref: news.gmane.org gmane.comp.sysutils.supervision.general:2454 Archived-At: --------------008AC4856F4E2FCB7B1D6580 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit The blue/green problem only manifested itself with certain terminal types, which I was not regularly using. Since you have 1.39 built, and as long as you built from today's snapshot, you can be the second person in the world to enjoy this: while true ; do printf '\f' ; top -b -n 1 | sed -e '1,6s/^/#/' ; sleep 1 ; done | console-flat-table-viewer --header-count 1 Substitute top -b all | sed -e '1,8s/^/#/' on FreeBSD, or indeed procstat -a Notice the |ascii| format, too. So what the world needs now is for M. Bercot to give us a Linux+BSD version of |s6-ps| that uses US and RS, or |vis()| encoding. (-: The FreeBSD people definitely need to give us a |procstat| that uses |strvis()|, given that the output of |procstat| is explicitly documented as being a table and |vis()| encoding is actually documented for this type of table in FreeBSD. (See the manual for |fstab|, for example.) --------------008AC4856F4E2FCB7B1D6580--