forked from pool/util-linux
.
OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=214
This commit is contained in:
parent
8576e20bea
commit
a77ac4b42a
@ -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 *
|
||||
|
@ -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;
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user