# \[PATCH v4.1 0/2\] console: Add persistent scrollback buffers for all VGA console

- From: Manuel Schölling \<hidden\>
- Date: 2016-11-16 20:31:27 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2016/11/4876837
- Thread: https://ratatoskr.run/linux-fbdev/2016/09/4838629/t.md

```text
Well, that's embarrassing: I changed the order of some local commits
in the last minute, so my patches included a compiler error.

Changes in v4.1:
  - Fix compiler error
Changes in v4:
  - Rename from VGACON_SOFT_SCROLLBACK_FOR_EACH_CONSOLE to
    VGACON_SOFT_SCROLLBACK_PERSISTENT
  - Split into two patches
  - Rework documentation
  - Remove cosmetic changes in comments (postponed)
Changes in v3:
  - Add config option for this feature
  - Fallback to old scrollback buffer if kcalloc() fails
  - Remove ioctl() call again and add documentation about existing
    escape sequence to flush the scrollback buffer
Changes in v2:
  - Add ioctl() call to flush scrollback buffer
  - (Patch v2 was not labeled as such, sorry)


Manuel SchÃ¶lling (2):
  console: Move scrollback data into its own struct
  console: Add persistent scrollback buffers for all VGA consoles

 drivers/video/console/Kconfig  |  23 +++++-
 drivers/video/console/vgacon.c | 158 ++++++++++++++++++++++++++++-------------
 2 files changed, 127 insertions(+), 54 deletions(-)

-- 
2.1.4

```
