]> git.ipfire.org Git - thirdparty/util-linux.git/commit
agetty: better support of the special system consoles on S390
authorWerner Fink <werner@suse.de>
Thu, 8 May 2014 10:09:24 +0000 (12:09 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 13 May 2014 08:39:40 +0000 (10:39 +0200)
commitf2bcda5183e22c8d7a477504a264669109da6c7e
tree69be665550bc4ed7bbdc232ea5c24b3b6f24406f
parent624b204d7bdebdc5cac17d17830c397722c6dfea
agetty: better support of the special system consoles on S390

That is that there are several consoles, the /dev/ttyS0 which
is type of ibm3215 and a dumb terminal, then there is the device
/dev/3270/tty1 which can handle ANSI color escape sequences and is
a ibm327x terminal, and the /dev/ttyS1 which is a vt220 terminal.

The macro is_speed() in agetty.c allows to distinguish between the
terminal line (/dev)3270/tty1 and the speed options on the command
line used in

/run/systemd/generator/getty.target.wants/serial-getty@3270-tty1.service

which is a symbolic link to /usr/lib/systemd/system/serial-getty@.service

Signed-off-by: Werner Fink <werner@suse.de>
login-utils/sulogin.c
term-utils/agetty.c