util-linux/term-utils
Lubomir Rintel 8b58ffddf4 agetty: don't put the VC into canonical mode
The wait_for_term_input()'s select() needs to be tripped when the user
starts typing. Otherwise the reloads can abort an already in-progress login.

Coupled with \4 and \6 expansions that happen to be there on Fedora Server,
this means reload on every netlink event. With a couple of IPv6 routers
announcing their networks and temporary addresses in use can make it
sometimes virtually impossible to log in.

Seems like zero lflags do the job just fine on a Linux VT. Reset it to
canonical mode before running login.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Signed-off-by: Stanislav Brabec <sbrabec@suse.cz>
Signed-off-by: Karel Zak <kzak@redhat.com>
2018-10-22 11:03:47 +02:00
..
Makemodule.am reset: remove script from the package 2017-07-15 22:02:53 +01:00
agetty.8 agetty.8: Avoid a warning about an unbreakable line 2018-08-06 08:58:57 +02:00
agetty.c agetty: don't put the VC into canonical mode 2018-10-22 11:03:47 +02:00
mesg.1 mesg: do not print 'ttyname failed' message unless --verbose requested 2018-08-03 12:27:02 +02:00
mesg.c mesg: do not print 'ttyname failed' message unless --verbose requested 2018-08-03 12:27:02 +02:00
script.1 script: record exit code 2018-05-14 13:51:01 +02:00
script.c script: be sensitive to another SIGCHLD ssi_codes 2018-09-05 11:55:21 +02:00
scriptreplay.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
scriptreplay.c misc: consolidate macro style USAGE_HELP_OPTIONS 2017-06-29 16:54:33 +02:00
setterm.1 man: Change the only argument to two for the two-fonts macros 2018-05-23 10:43:27 +02:00
setterm.c setterm: fix compiler warnings [-Wcast-qual] 2018-07-23 11:45:15 +02:00
ttymsg.c misc: safer (and uniform) handling of return value 2016-03-07 15:11:06 +01:00
ttymsg.h ttymsg: fix compiler warnings and use EXIT_ 2011-04-12 11:19:15 +02:00
wall.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
wall.c wall: make sure line is zero terminated 2018-10-03 17:06:12 +02:00
write.1 docs: replace FTP by HTTPS in kernel.org URLs 2016-12-19 11:22:26 +01:00
write.c misc: consolidate macro style USAGE_HELP_OPTIONS 2017-06-29 16:54:33 +02:00