bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: improved console interface (was: Re: some console code checked in


From: Marcus Brinkmann
Subject: Re: improved console interface (was: Re: some console code checked in
Date: Tue, 23 Apr 2002 02:25:04 +0200
User-agent: Mutt/1.3.28i

On Tue, Apr 23, 2002 at 02:18:33AM +0200, Marcus Brinkmann wrote:
> There are probably more points that I forgot now,

Oh, yeah, the exact data format of the mmap'able area.

We need to store the character value and the attributes (bold, color etc).
We can settle on some common attributes, and leave it to the display driver to
deal with them, maybe the attributes even fit into a byte.  However, for the
character value, we should store the UCS-4, eg wide chars.

The basic questions here are:  Interleave the data (as we don't need 32 bits
for the attribute we face alignments issues) or keep it in seperate
"planes" (a bit evil when extending/truncating the scrollback buffer).
And what about endianess of the data?

Thanks,
Marcus

-- 
`Rhubarb is no Egyptian god.' Debian http://www.debian.org brinkmd@debian.org
Marcus Brinkmann              GNU    http://www.gnu.org    marcus@gnu.org
Marcus.Brinkmann@ruhr-uni-bochum.de
http://www.marcus-brinkmann.de



reply via email to

[Prev in Thread] Current Thread [Next in Thread]