gettydefs man page on Tru64

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

gettydefs(4)							  gettydefs(4)

NAME
       gettydefs - Terminal attributes

SYNOPSIS
       /etc/gettydefs

DESCRIPTION
       The  gettydefs  file  supplies the getty command with information about
       various terminal attributes, such as the default initialization and the
       login message. The gettydefs file contains single line entries that are
       separated by blank lines.   Each entry contains five fields; each field
       is  separated  by  a  number sign (#). You can indicate comments in the
       file by putting a number sign (#) at the beginning of a line.

       When the getty command is invoked, it scans the gettydefs file for  the
       first entry with a matching identifier field (see below). If the getty‐
       defs file cannot be opened, internal default settings are used.	 If  a
       match  is  found,  then	the matching entry is parsed, and the terminal
       attributes are set based on the fields specified in the	entry.	 If  a
       match  is  not found, the first gettydefs file entry is used; therefore
       the first entry in gettydefs must be the default	 entry.	  The  maximum
       length of each entry is 255 characters.

       The format of each entry is as follows:

       Identifier#Iflag#Fflag#Message#Next Identifier

       Identifies  an entry.  The getty command uses an identifier as an argu‐
       ment and searches for the first entry with a matching identifier field.
       The  identifier	must  be unique.  Specifies the initial terminal flags
       that the getty command uses to set the terminal attributes after a line
       has been successfully opened.  There are four categories for the termi‐
       nal attributes.	The input flags control the  basic  input  attributes.
       The output flags control how the terminal system processes output.  The
       control flags describe how the hardware	controls  the  terminal.   The
       local  flags  control  various terminal functions.  Refer to termios(4)
       for the description of the possible settings on a terminal  port.   You
       can  specify  the  symbol  SANE to select default settings. The default
       settings set the input flags to BRKINT, IGNPAR,	ICRNL  and  IXON;  the
       output  flags  to OPOST and ONLCR; the control flags to CS8, and CREAD;
       and the local flags to ISIG, ICANON, IEXTEN,  ECHO,  ECHOK.   Specifies
       the final terminal flags used by the getty command. These flags are set
       after the getty command receives a valid login name from	 the  standard
       input.  The  output flags and the control flags are set to the terminal
       attributes specified in Fflag. The input	 flags	and  local  flags  are
       appended	 to the initial flags specified in the Iflag field.  Specifies
       the login  message.   The  login	 message  can  include	the  character
       sequence %h to obtain the host name and %t to obtain the terminal name.
       This field is limited to 79 characters.	Specifies that	if  the	 speed
       specified  in  the current entry was incorrect, the entry corresponding
       to this field should be used. The getty command obtains the  new	 entry
       from this field, and the scan process is repeated.

EXAMPLES
       The  following is an example of an entry in the gettydefs file contain‐
       ing settings for an 8 bit, no parity, 9600 baud, locally connected ter‐
       minal line:

       9600#  B9600  HUPCL  CS8	 CLOCAL # B9600 SANE IXANY TAB3 CLOCAL #login:
       #9600

       The following is an example of an entry in the gettydefs file  contain‐
       ing settings for a 8 bit, no parity, 2400 baud, dial in modem line:

       M2400# B2400 HUPCL CS8 # B2400 SANE IXANY TAB3 HUPCL #login: #M1200

FILES
       Specifies the command that initializes and controls terminal lines.

SEE ALSO
       Commands: getty(8)

       Functions: kill(2)

								  gettydefs(4)
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server Tru64

List of man pages available for Tru64

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