From owner-cvs-all Fri May 18 7: 5:40 2001 Delivered-To: cvs-all@freebsd.org Received: from kalaid.f2f.com.ua (kalaid.f2f.com.ua [62.149.0.33]) by hub.freebsd.org (Postfix) with ESMTP id 7936537B423; Fri, 18 May 2001 07:05:20 -0700 (PDT) (envelope-from sobomax@mail-in.net) Received: from Mail-In.Net (borey.f2f.com.ua [62.149.0.24]) by kalaid.f2f.com.ua (8.11.3/8.11.1) with ESMTP id f4IE6KE14244; Fri, 18 May 2001 17:06:25 +0300 (EEST) (envelope-from sobomax@mail-in.net) Received: from vega.vega.com (das0-l105.uic-in.net [212.35.189.232]) by Mail-In.Net (8.11.3/8.H.Z) with ESMTP id f4IE5n031304; Fri, 18 May 2001 17:05:56 +0300 (EEST) Received: (from max@localhost) by vega.vega.com (8.11.3/8.11.3) id f4IE4pD00688; Fri, 18 May 2001 17:04:51 +0300 (EEST) (envelope-from sobomax@FreeBSD.org) From: Maxim Sobolev Message-Id: <200105181404.f4IE4pD00688@vega.vega.com> Subject: Re: cvs commit: src/usr.bin/scrshot Makefile scrshot.1 scrshot.c To: nik@FreeBSD.ORG (Nik Clayton) Date: Fri, 18 May 2001 17:04:20 +0300 (EEST) Cc: sobomax@FreeBSD.ORG (Maxim Sobolev), nik@FreeBSD.ORG (Nik Clayton), cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG In-Reply-To: <20010518135924.A10772@catkin.nothing-going-on.org> from "Nik Clayton" at May 18, 2001 01:59:24 PM X-Mailer: ELM [version 2.5 PL5] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > On Fri, May 18, 2001 at 12:31:58PM +0300, Maxim Sobolev wrote: > > > nik 2001/05/18 02:00:52 PDT > > >=20 > > > Added files: > > > usr.bin/scrshot Makefile scrshot.1 scrshot.c=20 > > > Log: > > > New scrshot utility, using the CONS_SCRSHOT ioctl. Usage is > > > =20 > > > scrshot /dev/ttyv0 > shot.scr > > > =20 > > > See the shot2{txt,png} utilities (soon to be) in the ports collection. > >=20 > > BTW, wouldn't it better to integrate this functionality into > > existing vidcontrol(8) utility instead of introducing yet another > > syscons-specific tool? > > I'm easy if someone wants to do the work, but I do have one comments. > vidcontrol is used to set options in syscons, scrshot pulls data from=20 > syscons. By analogy, vidcontrol is "poke", scrshot is "peek". Actually vidcontrol(8) has some features to pull data from syscons. For example: `vidcontrol -i mode' gets data from the driver about available video modes and prints them in human readable format. I'm ready to do the work, BTW. -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message