From nobody Mon Jul 03 20:26:28 2023 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QvyBv4dr8z4lnSr for ; Mon, 3 Jul 2023 20:27:03 +0000 (UTC) (envelope-from hiroo@oikumene.net) Received: from barleycorn.oikumene.net (tk2-231-25124.vs.sakura.ne.jp [160.16.110.128]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4QvyBs59KZz4P71 for ; Mon, 3 Jul 2023 20:27:01 +0000 (UTC) (envelope-from hiroo@oikumene.net) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of hiroo@oikumene.net designates 160.16.110.128 as permitted sender) smtp.mailfrom=hiroo@oikumene.net; dmarc=none Received: from nowhere.oikumene.ukehi.net (KD059129091046.ppp-bb.dion.ne.jp [59.129.91.46]) by barleycorn.oikumene.net (Postfix) with ESMTPSA id 4251E61FC8 for ; Tue, 4 Jul 2023 05:26:58 +0900 (JST) Received: from localhost (nowhere.oikumene.ukehi.net [192.168.8.24]) by nowhere.oikumene.ukehi.net (8.17.2/8.17.1) with ESMTPS id 363KQwF2066303 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Tue, 4 Jul 2023 05:26:58 +0900 (JST) (envelope-from hiroo@oikumene.net) X-Authentication-Warning: nowhere.oikumene.ukehi.net: Host nowhere.oikumene.ukehi.net [192.168.8.24] claimed to be localhost From: Hiroo Ono To: Subject: Re: screenshot for vt(4) Date: Tue, 04 Jul 2023 05:26:28 +0900 List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 Message-ID: <5de73c09-86ac-4059-8f69-7fe5511e23e3@oikumene.net> In-Reply-To: References: User-Agent: Trojita/0.7; Qt/5.15.8; xcb; AnyBSD4.4FreeBSD; Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Spamd-Result: default: False [-3.11 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.987]; NEURAL_HAM_MEDIUM(-0.83)[-0.827]; R_SPF_ALLOW(-0.20)[+ip4:160.16.110.128:c]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org]; DMARC_NA(0.00)[oikumene.net]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:9370, ipnet:160.16.0.0/17, country:JP]; MIME_TRACE(0.00)[0:+]; TO_DN_NONE(0.00)[]; ARC_NA(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_ALL(0.00)[]; HAS_XAW(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4QvyBs59KZz4P71 X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N Hello, I missed one point. There is no fb image buffer for ttys not displayed, so vidcontrol -p raw=20 can only grab what you are seeing on the monitor, regardless of which tty=20 you specify. Also, vtraw2png have a bug that colors are not properly converted. On 2023=E5=B9=B47=E6=9C=884=E6=97=A5=E7=81=AB=E6=9B=9C=E6=97=A5 0=E6=99=8253=E5= =88=8659=E7=A7=92 JST, Hiroo Ono wrote: > Sorry, forgot to mention that there are examples here: > http://barleycorn.oikumene.net/ports-patch/ > > On 2023=E5=B9=B47=E6=9C=884=E6=97=A5=E7=81=AB=E6=9B=9C=E6=97=A5 0=E6=99=824= 4=E5=88=8637=E7=A7=92 JST, Hiroo Ono wrote: >> Hello, >>=20 >> I made a patch to enable screenshot with vt(4). The patch is here. >> https://reviews.freebsd.org/D40858 >>=20 >> I would like to hear comments and reviews if it can be merged to FreeBSD. >> When I mentioned it on mastodon, the patch lacked one file, sorry. ... > > > >