linux/drivers/video/console
Manuel Schölling aabd31c421 console: Add persistent scrollback buffers for all VGA consoles
Add a scrollback buffers for each VGA console. The benefit is that
the scrollback history is not flushed when switching between consoles
but is persistent.
The buffers are allocated on demand when a new console is opened.

This breaks tools like clear_console that rely on flushing the
scrollback history by switching back and forth between consoles
which is why this feature is disabled by default.
Use the escape sequence \e[3J instead for flushing the buffer.

Signed-off-by: Manuel Schölling <manuel.schoelling@gmx.de>
Reviewed-by: Andrey Utkin <andrey_utkin@fastmail.com>
Tested-by: Andrey Utkin <andrey_utkin@fastmail.com>
Tested-by: Adam Borowski <kilobyte@angband.pl>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-01-25 11:54:02 +01:00
..
bitblit.c framebuffer: fix border color 2014-09-30 13:39:16 +03:00
dummycon.c tty: vt, remove consw->con_bmove 2016-06-25 09:04:48 -07:00
fbcon_ccw.c framebuffer: fix border color 2014-09-30 13:39:16 +03:00
fbcon_cw.c framebuffer: fix border color 2014-09-30 13:39:16 +03:00
fbcon_rotate.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
fbcon_rotate.h
fbcon_ud.c framebuffer: fix border color 2014-09-30 13:39:16 +03:00
fbcon.c tty: vt, cleanup and document con_scroll 2016-10-27 16:37:43 +02:00
fbcon.h fbcon: use the cursor blink interval provided by vt 2015-05-10 19:15:52 +02:00
Kconfig console: Add persistent scrollback buffers for all VGA consoles 2017-01-25 11:54:02 +01:00
Makefile lib: Move fonts from drivers/video/console/ to lib/fonts/ 2013-06-28 10:28:22 +02:00
mdacon.c tty: vt, cleanup and document con_scroll 2016-10-27 16:37:43 +02:00
newport_con.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
softcursor.c drivers/video/console/softcursor.c: remove redundant NULL check before kfree() 2012-12-10 11:33:53 +02:00
sticon.c tty: vt, cleanup and document con_scroll 2016-10-27 16:37:43 +02:00
sticore.c video: move fbdev to drivers/video/fbdev 2014-04-17 08:10:19 +03:00
tileblit.c fbcon: Bugfix soft cursor detection in Tile Blitting 2011-03-22 16:41:08 +09:00
vgacon.c console: Add persistent scrollback buffers for all VGA consoles 2017-01-25 11:54:02 +01:00