Yes it is. But that's the easy way, for both vgacon and fbcon:
- vgacon implements scrolling (and scrollback) by panning the VGA text screen
- fbcon implements scrolling (and scrollback) by panning the graphical screen
image
In both drivers, scrolling is accelerated by using panning (if possible), and
you get the scrollback buffer for free.
> I'd love to have (or be able to configure) scrollback to come from kernel
> memory instead. That way I could choose to have a 1MB scrollback buffer
> if I wanted... And it would be 1MB of actual *text*, even in the case of
> a graphical console.
That would be valuable unswappable kernel memory. Unused video memory is
available for free.
And your next question will be: why not implement scrollback for all VCs, not
only for the current VC? Because it will consume even more valuable unswappable
kernel memory.
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
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html