OSDN Git Service

s390/tty3270: resize terminal when the clear key is pressed
authorSven Schnelle <svens@linux.ibm.com>
Mon, 28 Nov 2022 18:53:04 +0000 (19:53 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Mon, 9 Jan 2023 13:33:59 +0000 (14:33 +0100)
commitcbb36313bdb696cfe0874406327b24b403c9e8e0
treea63bcdd4fce7fd92766374d44d5dcd452585641e
parent91621ba7d7b7274cd44e5ee4942a39a6aae977a0
s390/tty3270: resize terminal when the clear key is pressed

There's no easy way to figure out whether the user has re-connected
to the z/VM session. When the user re-connected with a different geometry
to z/VM, the screen layout is broken. Allow the user to force a resizing
by pressing the Clear Key.

Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Acked-by: Heiko Carstens <hca@linux.ibm.com>
Tested-by: Niklas Schnelle <schnelle@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
drivers/s390/char/con3270.c
drivers/s390/char/raw3270.c
drivers/s390/char/raw3270.h