From owner-freebsd-hackers Mon Sep 25 2: 2:25 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id 7077D37B422 for ; Mon, 25 Sep 2000 02:02:20 -0700 (PDT) Received: (from des@localhost) by flood.ping.uio.no (8.9.3/8.9.3) id LAA52122; Mon, 25 Sep 2000 11:02:09 +0200 (CEST) (envelope-from des@ofug.org) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Peter Pentchev Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: virtual console 'snapshot'? References: <20000923011753.A15311@ringwraith.office1.bg> From: Dag-Erling Smorgrav Date: 25 Sep 2000 11:02:09 +0200 In-Reply-To: Peter Pentchev's message of "Sat, 23 Sep 2000 01:17:53 +0300" Message-ID: Lines: 16 User-Agent: Gnus/5.0802 (Gnus v5.8.2) Emacs/20.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Peter Pentchev writes: > Is there anything like Linux's /dev/vcs* in FreeBSD? That is, some way > to obtain the complete view of a virtual console - characters, attributes, > everything? The snoop device gives deltas, but never the complete > picture, unless the program running on that console decides to redraw > the whole thing. It shouldn't be difficult to implement, unless you want the snapshot to be consistent per-session - in which case you need to store a copy of the vty buffer at the moment the device is opened, which I don't think is possible in FreeBSD. Apart from that, the only ugliness is the need to fondle syscons' privates. DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message