Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Oct 1995 23:13:50 +0100 (MET)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        didier@aida.org (Didier Derny)
Cc:        freebsd-hackers@freebsd.org (FreeBSD hackers)
Subject:   Re: direct acces to the text screen memory
Message-ID:  <199510092213.XAA00728@uriah.heep.sax.de>
In-Reply-To: <Pine.BSF.3.91.951009205023.395A-100000@aida> from "Didier Derny" at Oct 9, 95 08:55:01 pm

next in thread | previous in thread | raw e-mail | index | archive | help
As Didier Derny wrote:
> 
> I dont know how to use mmap to map the screen text.

Simply mmap() a descriptor pointing to a vty device.  Anyway, this
advantage has not only several drawbacks, it does also require a bunch
of extra handling to cover all potential external influences (VT
switch requests, different VT sizes, hot-key or externally triggered
VT size switching, program suspend/continue by signal).

Honestly, stick with curses instead.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



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