Skip site navigation (1)Skip section navigation (2)
Date:      25 Sep 2000 11:02:09 +0200
From:      Dag-Erling Smorgrav <des@ofug.org>
To:        Peter Pentchev <roam@orbitel.bg>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: virtual console 'snapshot'?
Message-ID:  <xzpr968zvxq.fsf@flood.ping.uio.no>
In-Reply-To: Peter Pentchev's message of "Sat, 23 Sep 2000 01:17:53 %2B0300"
References:  <20000923011753.A15311@ringwraith.office1.bg>

next in thread | previous in thread | raw e-mail | index | archive | help
Peter Pentchev <roam@orbitel.bg> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpr968zvxq.fsf>