3
0
forked from pool/util-linux
Dr. Werner Fink 2014-02-04 10:24:57 +00:00 committed by Git OBS Bridge
parent 8576e20bea
commit a77ac4b42a
3 changed files with 16 additions and 1 deletions

View File

@ -1,3 +1,11 @@
Be aware that on s390 the 3270 terminal line is found at
/dev/3270/tty<X>. That is that the baud speed rate numbers
have to be identified in a unique way.
---
agetty.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
--- term-utils/agetty.c
+++ term-utils/agetty.c 2014-02-04 09:33:13.162735763 +0000
@@ -568,6 +568,8 @@ static void login_options_to_argv(char *

View File

@ -32,7 +32,7 @@ is compatible with VT220.
+ * higher. Whereas the second serial line on a S/390(x) is
+ * a real character terminal which is compatible with VT220.
+ */
+ if (strcmp(op->tty, "ttyS0") == 0)
+ if (strcmp(op->tty, "ttyS0") == 0 || strncmp(op->tty, "3270/tty", 8)
+ op->term = DEFAULT_TTYS0;
+ else if (strcmp(op->tty, "ttyS1") == 0)
+ op->term = DEFAULT_TTYS1;

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Feb 4 10:24:02 UTC 2014 - werner@suse.de
- Modify patch agetty-on-s390-on-dev--3270-tty1-line.patch and
patch tty3270-on-serial-line-of-s390.patch to handle 3270
terminals
-------------------------------------------------------------------
Mon Feb 3 16:16:36 UTC 2014 - werner@suse.de