<div dir="ltr">Remove STDIN_FILENO and use FLAG().<br><br>Use xsetspeed() rather than have a duplicate table.<br><br>Inline getty's print_prompt().<br><br>There's still a lot of cleanup needed here, in particular use of toybuf<br>and removal of the inappropriately-named HOSTNAME_SIZE (and ideally<br>sharing that logic with login(1) which already contains a better<br>implementation of it).<br>---<br> toys/pending/getty.c  | 160 +++++++++++++-----------------------------<br> toys/pending/telnet.c |   8 +--<br> toys/pending/tftpd.c  |  10 +--<br> 3 files changed, 58 insertions(+), 120 deletions(-)<br></div>