]> git.baikalelectronics.ru Git - kernel.git/commit
Staging: speakup: fix read scrolled-back VT
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Mon, 25 Jan 2016 00:32:08 +0000 (01:32 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 29 Jan 2016 06:55:40 +0000 (22:55 -0800)
commitf57d2095cfbb9d9e0ebad929ae8a4f7a9d7c1e4b
treefb27b916e4ffd00f5cdafd690982d5fbeb7670f2
parenta57def56128c6d869c8eb41604a6d3ed0d8d0aff
Staging: speakup: fix read scrolled-back VT

Previously, speakup would always read the non-scrolled part of the VT,
even when the VT is scrolled back with shift-page.  This patch makes
vt.c export screen_pos so that speakup can use it to properly access
the content of the scrolled-back VT.

This was tested with both vgacon and fbcon.

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Reviewed-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/speakup/main.c
drivers/tty/vt/vt.c