Re: Console handling (was: Re: Let's vote for PnP on 2.2)

Jes Degn Soerensen (jds@kom.auc.dk)
15 Dec 1997 11:56:56 +0100


>>>>> "hpa" == H Peter Anvin <hpa@transmeta.com> writes:

>> > Maybe so in the kernel level - I still remember switching between
>> 80x25 > "normal" console and 80x50 dosemu... that's just a font
>> change, no timing > changes... (nowadays using svgatextmode -
>> different modes for different > consoles would prolly be quite
>> complicated with something like that, right?;)
>>
>> It's not _that_ difficult. We did it.
>>
>> It's also nice for multi-head support, since you don't want to use
>> the same size of console on a 14" and a 17" monitor. Yes,
>> `Linux/m68k' does support this too!! ;-)

hpa> It's a pain to do on VGA hardware, however.

Why?

Its basically a question of having the console code check if the video
modes are identical when switching to a different VT and if they are
not twiddle the VGA registers. We do something similar already with
fbcon under Linux/m68k since a lot of our video hardware needs even
more fiddling to change the resolution than VGA does.

Jes