summaryrefslogtreecommitdiffstats
path: root/drivers/s390/char/raw3270.h
diff options
context:
space:
mode:
authorSven Schnelle <svens@linux.ibm.com>2022-11-28 22:22:01 +0100
committerHeiko Carstens <hca@linux.ibm.com>2023-01-09 14:33:58 +0100
commit94dbb0a76ce21878867210d1cf0b21725023b452 (patch)
tree566a39f3128aa55cb46d67cf212b2731cb966bde /drivers/s390/char/raw3270.h
parents390/tty3270: add support for background color (diff)
downloadlinux-94dbb0a76ce21878867210d1cf0b21725023b452.tar.xz
linux-94dbb0a76ce21878867210d1cf0b21725023b452.zip
s390/tty3270: add support for graphic escape
Add support for ASCII S0/S1 to switch between character charset and graphic charset. 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>
Diffstat (limited to 'drivers/s390/char/raw3270.h')
-rw-r--r--drivers/s390/char/raw3270.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/s390/char/raw3270.h b/drivers/s390/char/raw3270.h
index 7aa043e16622..cdf03677118d 100644
--- a/drivers/s390/char/raw3270.h
+++ b/drivers/s390/char/raw3270.h
@@ -28,6 +28,7 @@
#define TC_WRITESF 0x11 /* Write structured field */
/* Buffer Control Orders */
+#define TO_GE 0x08 /* Graphics Escape */
#define TO_SF 0x1d /* Start field */
#define TO_SBA 0x11 /* Set buffer address */
#define TO_IC 0x13 /* Insert cursor */