ttys man page on BSDOS

Man page or keyword search:  
man Server   6284 pages
apropos Keyword Search (all sections)
Output format
BSDOS logo
[printable version]

TTYS(5)			    BSD Programmer's Manual		       TTYS(5)

NAME
     ttys - terminal initialization information

DESCRIPTION
     The file ttys contains information that is used by various routines to
     initialize and control the use of terminal special files.	There is one
     line in the ttys file per special device file.  Fields are separated by
     tabs and/or spaces.  Fields composed of more than one word should be en-
     closed in double quotes (``"'').  Blank lines and comments may appear
     anywhere in the file; comments are delimited by hash marks (``#'') and
     new lines.

     The first field is always the name of the terminal special file as it is
     found in /dev. The following fields are normally taken as tags to entries
     in the /etc/ttys.conf.local and /etc/ttys.conf files. (See ttys.conf(5))
     If the field is of the form name=value then it is the same as specifying
     the name of a tag in the ttys.conf files which contain just :name=value:.
     By convention there is a field for the type of line (e.g., "com"), the
     type of modem (e.g., "Generic144"), and one or more fields describing the
     status of the line.  Some of the standard fields describing status are:

     bidir	This line is managed by gettyd(8) and is available for both
		incoming calls and outgoing requests.

     in		This line is managed by gettyd(8) and is available for incom-
		ing calls.

     init	This line is managed by init(8) and available for incoming
		calls.	(Identical to "on")

     network	This line is accessed via the network (i.e, ptys).

     off	This line is not available for use.

     on		This line is managed by init(8) and available for incoming
		calls.	(Identical to "init")

     out	This line is managed by gettyd(8) and is available for outgo-
		ing requests.

     secure	Allow root logins on this line.

     For backwards compatibility, if the second field starts with a `/' it is
     presumed to be the path name to the command to execute, typically
     getty(8). This is the same as specifying  command=command-path.

     The third field, in backwards compatibility mode, is taken as the type of
     terminal usually connected to the line, normally the one found in the
     termcap(5) data base file.	 This is the same as specifying term=terminal-
     type.

     The string ``auth='' may be followed by an authentication type to use for
     this line.	 (See login.conf(5) for additional information.)

EXAMPLES
     # root login on ibm pc console, using init
     console "/usr/libexec/getty pccons"     bsdos-pc  on secure
     # Mike's terminal: hp2621
     ttyh0   std.9600 term=hp2621-nl on	     # 457 Evans
     # John's terminal: vt100
     ttyh1   std.9600 term=vt100 on	     # 459 Evans
     ttyA0   digi Generic288 out	     # dialout only line
     ttyA1   digi Generic288 in		     # dialin only line
     ttyA2   digi Generic288 bidir	     # bi-directional line
     # Network pseudo ttys
     ttyp0   network

FILES
     /etc/ttys
     /etc/ttys.conf
     /etc/ttys.conf.local

SEE ALSO
     getttyent(3),  ttyslot(3),	 dialer.conf(5),  gettytab(5),	login.conf(5),
      termcap(5),  getty(8),  gettyd(8),  init(8),  login(8)

HISTORY
     A ttys file appeared in Version 6 AT&T UNIX.

BSDI BSD/OS			  Aug 1, 1995				     2
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server BSDOS

List of man pages available for BSDOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net