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

Geert Uytterhoeven (Geert.Uytterhoeven@cs.kuleuven.ac.be)
Sun, 14 Dec 1997 15:48:04 +0100 (MET)


On 14 Dec 1997, H. Peter Anvin wrote:
> Followup to: <Pine.LNX.3.96.971213194834.90L-100000@jennifer-unix.dyn.ml.org>
> By author: James Mastros <root@jennifer-unix.dyn.ml.org>
> In newsgroup: linux.dev.kernel
> >
> > Didn't Linux have that back when having different # of lines in different
> > VTs? (In a more limited form, naturaly, since the modes on different VTs
> > were, well, less different).
>
> Linux has never had different number of lines on different VTs.

Are you sure? There used to be a comment about this in drivers/char/console.c.
It said the feature was removed because `it's messy to have all consoles of
potentially different sizes'.

In my tree it reads (since a very long time :-):

| /*
| * ++Geert: Change # of rows and columns for one specific console.
| * Of course it's not messy to have all consoles of potentially different
| * sizes, except on PCish hardware :-)
| */
| void vc_resize_con(unsigned long lines, unsigned long cols,
| unsigned int currcons)

Greetings,

Geert

--
Geert Uytterhoeven                     Geert.Uytterhoeven@cs.kuleuven.ac.be
Wavelets, Linux/{m68k~Amiga,PPC~CHRP}  http://www.cs.kuleuven.ac.be/~geert/
Department of Computer Science -- Katholieke Universiteit Leuven -- Belgium