Subject: Re: X for tga
To: mschaecsn <schaecsn@gmx.de>
From: None <cpg@aladdin.de>
List: port-alpha
Date: 03/31/2001 01:51:52
>> (2) The text console doesn't occupy all the space on the monitor but
>> just a small percentage. My 21" monitor looks now like a 14" monitor. Is
>> there a way to enlarge the viewable area?
>
>In src/sys/dev/pci/tga.c is a line, at about line 350, that reads:
>
>        rasops_init(rip, 34, 80);
>
>You could change the 34 and 80 to something larger. I chose those
>values because text mode performance was poor (since the kernel
>has to draw or blit every pixel of the text) and a faster standard-width
>screen seemed like a more useful setup than a larger big screen.

I  prefer the following:

        rasops_init(rip, dc->dc_ht / rip->ri_font->fontheight,
                    dc->dc_wid / rip->ri_font->fontwidth);

This uses the maximum space available

regards,
chris