From owner-freebsd-hackers Wed Jan 17 11:57:28 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA02695 for hackers-outgoing; Wed, 17 Jan 1996 11:57:28 -0800 (PST) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id LAA02690 for ; Wed, 17 Jan 1996 11:57:24 -0800 (PST) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id MAA03148; Wed, 17 Jan 1996 12:50:04 -0700 From: Terry Lambert Message-Id: <199601171950.MAA03148@phaeton.artisoft.com> Subject: Re: screen snaps for syscons & pcvt To: mpp@mpp.minn.net (Mike Pritchard) Date: Wed, 17 Jan 1996 12:50:04 -0700 (MST) Cc: freebsd-hackers@FreeBSD.ORG In-Reply-To: <199601170906.DAA02495@mpp.minn.net> from "Mike Pritchard" at Jan 17, 96 03:06:00 am X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.ORG Precedence: bulk > I just got my changes working with -current again, and the way > things basically work is this: > > A program called "prntscreend" sits out there doing a select > on /dev/screen (new device) waiting for a wakeup that is done > anytime the print screen function is activatived via the > keyboard. By default it is shift+print_screen. This can be > changed with the keyboard maps. When the daemon wakes up, it > issues a read on /dev/screen to obtain the contents of the > current console screen. This will work even if you are scrolled > back in the console window. The contents are then piped out > to lpr (command & arguments selectable via /etc/sysconfig, or > totally disabled via /etc/sysconfig). The kernel parts of > the /dev/screen interface are basically slightly modified versions > of the /dev/log interface. > > Comments? How well does it work with X? (ducks and runs). Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.