diff --git a/agetty-on-s390-on-dev-3270-tty1-line.patch b/agetty-on-s390-on-dev-3270-tty1-line.patch index b6c2ca3..98997df 100644 --- a/agetty-on-s390-on-dev-3270-tty1-line.patch +++ b/agetty-on-s390-on-dev-3270-tty1-line.patch @@ -1,3 +1,11 @@ +Be aware that on s390 the 3270 terminal line is found at +/dev/3270/tty. 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 * diff --git a/tty3270-on-serial-line-of-s390.patch b/tty3270-on-serial-line-of-s390.patch index 57ae1b2..2dafaa6 100644 --- a/tty3270-on-serial-line-of-s390.patch +++ b/tty3270-on-serial-line-of-s390.patch @@ -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; diff --git a/util-linux.changes b/util-linux.changes index 94dec8f..18c7ea9 100644 --- a/util-linux.changes +++ b/util-linux.changes @@ -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