HP-UX Reference (11i v2 04/09) - 1M System Administration Commands A-M (vol 3)
g
getty(1M) getty(1M)
getty also understands the ‘‘standard’’ ESS2 protocols for erasing, killing and aborting a line, and ter-
minating a line. If getty sees the
ESS erase character, _, or kill character, $, or abort character, &,orthe
ESS line terminators, / or !, it arranges for this set of characters to be used for these functions.
Finally, login is called with the user’s name as an argument. Additional arguments can be typed after the
login name. These are passed to login, which places them in the environment (see login(1)).
Check Option
A check option is provided. When getty is invoked with the
-c option and file, it scans file as if scanning
/etc/gettydefs
and prints the results on the standard output. If there are any unrecognized modes
or improperly constructed entries, getty reports these. If the entries are correct, getty prints out the
values of the various flags. See ioctl(2) for an interpretation of values. Note that some values are added
to the flags automatically.
DEPENDENCIES
HP 2334 MultiMux:
The modem control parameter
MRTS must be present in the
/etc/gettydefs file when using getty in
conjunction with an
HP 2334
or HP 2335 MultiMux to ensure that the RTS modem control signal is asserted
correctly.
Example:
9600# B9600 HUPCL PARENB MRTS # B9600 SANE PARENB ISTRIP IXANY #login: #19200
MRTS
is not intended for use with devices other than the HP 2334
or HP 2335 MultiMux.
FILES
/etc/gettydefs
/etc/issue
SEE ALSO
ct(1), login(1), init(1M), ioctl(2), gettydefs(4), inittab(4), modem(7), termio(7).
BUGS
While getty does understand simple single character quoting conventions, it is not possible to quote the
special control characters that getty uses to determine when the end of the line has been reached, which
protocol is being used, and what the erase character is. Therefore it is not possible to log in by means of
getty and type a
#, @, /, !, _, backspace, ˆU,
ˆD,or & as part of your login name or arguments. They
will always be interpreted as having their special meaning as described above.
Section 1M−−268 Hewlett-Packard Company − 2 − HP-UX 11i Version 2: September 2004