Skip to contentSkip to conversation

[Fwd: Re: Some questions]

Fwd: Re: Some questions Thomas Winischhofer 1 participant 1 message Mar 6, 2003 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

-------- Original Message --------
Subject: Re: [Linux-fbdev-devel] Some questions
Date: Thu, 06 Mar 2003 10:30:21 +0100
From: Thomas Winischhofer <[email protected]>
To: Geert Uytterhoeven <[email protected]>
References: <[email protected]>

Quoted 9 lines · Geert Uytterhoeven

What if fbcon implements a text console _on top of_ fbdev? I.e. it uses the current resolution?

If you use stty to change the number of cols/rows, or change the font, or use fbset, your text console may end up being smaller or larger than the real screen size, in which case margins are cleared, or columns/lines are lost. (Optionally, we can center the text console if
it's smaller than the real screen size.)

Quoted 8 lines

IMHO this is the most orthogonal approach. Fbcon takes care of the text console, fbdev takes care of the graphics hardware and the video mode. Both parts do (try to) not influence each other.

Optionally, fbset can call stty to change the number of cols/rows, if the user wants that.

What do you think?

I think that sounds like the best solution, and it also respects the fact that fbcon and fbdev are two different pairs of shoes.

Thomas

Signature · 11 lines
Thomas Winischhofer
Vienna/Austria
mailto:[email protected]            http://www.winischhofer.net/






-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com