tty_add(1M) tty_add(1M)NAME tty_add, tty_kill - modify the /etc/inittab file in terms of enabling serial ports for use as login terminals SYNOPSIS tty_add [-r] [-glabel] device-file-name... tty_kill ARGUMENTS device-file-name Specifies the communications line. The serial ports /dev/tty0 and /dev/tty1 are two possible values that can be used. -glabel Specifies the use of communications parameters associated with label as they are defined in the /etc/gettydefs file. The default value for label is 9600. -r Sets the inittab entry to respawn. If -r is not specified, the inittab entry is set to off. DESCRIPTION tty_add and tty_kill are programs designed to be run from a device-initialization routine from /etc/autoconfig. The tty_add program adds getty entries to /etc/inittab for the devices listed and can take two options. (See the ``Arguments'' section earlier in the manual page.) The tty_kill program removes from /etc/inittab any getty entry for which no corresponding entry in /dev exists. You usually run tty_kill after running dev_kill(1M). NOTES The functionality of tty_add has been superseded by setport(1M). Use of setport is recommended over tty_add. FILES /etc/gettydef File specifying the communications parameters associated with a variety of labels /etc/inittab File specifying startup processes for system modes /etc/tty_add Executable file /etc/tty_kill Executable file SEE ALSO autoconfig(1M), dev_kill(1M), getty(1M), setport(1M) January 1992 1