Autzoo.360 hacknews utzoo!henry Tue Apr 7 00:08:15 1981 ttys stuff finally in The new ttys format is in, as are a number of related changes to init, getty, and login. Terminal speeds are now right. TTY, TERM, and MAIL are now set to terminal pathname, terminal type, and mailbox name respectively. Init now writes a wtmp record on multiuser startup. /etc/rc now gets /dev/console as its standard descriptors from init, without having to open them itself. Getty now takes arguments giving the terminal type (a la termcap) and speed, uses termcap for terminal initialization, and prints the system id. Both getty and login now use BS/CTLU instead of #/@ as the erase/kill characters. Login now checks terminal restrictions (although it does not have the kludgey maximum-users check) and prints long messages in the event of failures. The library ttyslot routine had to be changed to match all of this. A number of programs have been recompiled. Any user programs containing getlogin or ttyslot will need recompiling. /etc/ttys and /etc/rc have been updated appropriately. The information from /usr/pub/ports on V6 has been merged into /etc/ttys.