From 9b8eb634313b7fe1f121677ce8908ed34d138569 Mon Sep 17 00:00:00 2001 From: Wes Peters Date: Tue, 9 Feb 1999 23:55:13 +0000 Subject: [PATCH] Reviewed by: jkh Submitted by: wes Added commentary to ttys to clarify the meaning of the columns. Added commentary to ttys to clarify the meaning of the columns. --- etc/etc.amd64/ttys | 24 +++++++++++++++++++++++- etc/etc.i386/ttys | 24 +++++++++++++++++++++++- 2 files changed, 46 insertions(+), 2 deletions(-) diff --git a/etc/etc.amd64/ttys b/etc/etc.amd64/ttys index 41a243ea9629..d8f8e6388552 100644 --- a/etc/etc.amd64/ttys +++ b/etc/etc.amd64/ttys @@ -1,7 +1,29 @@ # -# $Id:$ +# $Id: ttys,v 1.2 1998/09/02 01:34:57 brian Exp $ # @(#)ttys 5.1 (Berkeley) 4/17/89 # +# This file specifies various information about terminals on the system. +# It is used by several different programs. Common entries for the +# various columns includes: +# +# name The name of the terminal device. +# +# getty The program to start running on the terminal. Typically a +# getty program, as the name implies. Other common entries +# include none, when no getty is needed, and xdm to start the +# X Window System. +# +# type The initial terminal type for this port. For hardwired +# terminal lines, this will contain the type of terminal used. +# For virtual consoles, the correct type is cons25. Other +# common values include network for network connections on +# pseudo-terminals, dialup for incoming modem ports, and unknown +# when the terminal type cannot be predetermined. +# +# status Must be on or off. If on, init will run the getty program on +# the specified port. If the word "secure" appears, this tty +# allows root login. +# # name getty type status comments # # This entry needed for asking password when init goes to single-user mode diff --git a/etc/etc.i386/ttys b/etc/etc.i386/ttys index 41a243ea9629..d8f8e6388552 100644 --- a/etc/etc.i386/ttys +++ b/etc/etc.i386/ttys @@ -1,7 +1,29 @@ # -# $Id:$ +# $Id: ttys,v 1.2 1998/09/02 01:34:57 brian Exp $ # @(#)ttys 5.1 (Berkeley) 4/17/89 # +# This file specifies various information about terminals on the system. +# It is used by several different programs. Common entries for the +# various columns includes: +# +# name The name of the terminal device. +# +# getty The program to start running on the terminal. Typically a +# getty program, as the name implies. Other common entries +# include none, when no getty is needed, and xdm to start the +# X Window System. +# +# type The initial terminal type for this port. For hardwired +# terminal lines, this will contain the type of terminal used. +# For virtual consoles, the correct type is cons25. Other +# common values include network for network connections on +# pseudo-terminals, dialup for incoming modem ports, and unknown +# when the terminal type cannot be predetermined. +# +# status Must be on or off. If on, init will run the getty program on +# the specified port. If the word "secure" appears, this tty +# allows root login. +# # name getty type status comments # # This entry needed for asking password when init goes to single-user mode