Re: Some questions
flat view
From: Thomas Winischhofer <thomas@winischhofer.net>
Date: 2003-03-09 03:46:35
Antonino,
Your example - 1024x768, yres_virtual = 1152, font = 8x16 2 cases: 1. full screeen console vc->vc_rows = 48 p->vrows = 72 - (768/16 - 48) p->vrows = 72 - 0 p->vrows = 72
You're right. I made a mistake in my calculation.
Granted, the patch I submitted was a quickwrite, never meant to be applied but serves only to illustrate. This is a more proper patch, applied against James latest fbdev.diff. It simplifies the equation, remove the unnecessary 'if' conditional. Apply it, don't apply it, I don't care.
That's not up to me to decide. For me, the only thing that counts is that the console can deal with text areas that are smaller than the screen resolution. Besides, your last sentence was certainly not neccessary. You among friends here. Thomas -- Thomas Winischhofer Vienna/Austria mailto:thomas@winischhofer.net *** 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