GETTY(8) | Maintenance Commands and Procedures | GETTY(8) |
getty - set terminal type, modes, speed, and line discipline
/usr/lib/saf/ttymon [-h] [-t timeout] line
[speed [type [linedisc]]]
/usr/lib/saf/ttymon -c file
getty sets terminal type, modes, speed, and line discipline. getty is a symbolic link to /usr/lib/saf/ttymon. It is included for compatibility with previous releases for the few applications that still call getty directly.
getty can only be executed by the super-user, (a process with the user ID root). Initially getty prints the login prompt, waits for the user's login name, and then invokes the login command. getty attempts to adapt the system to the terminal speed by using the options and arguments specified on the command line.
Without optional arguments, getty specifies the following: The speed of the interface is set to 300 baud, either parity is allowed, NEWLINE characters are converted to carriage return-line feed, and tab expansion is performed on the standard output. getty types the login prompt before reading the user's name a character at a time. If a null character (or framing error) is received, it is assumed to be the result of the user pressing the BREAK key. This will cause getty to attempt the next speed in the series. The series that getty tries is determined by what it finds in /etc/ttydefs .
The following options are supported:
-h
-t timeout
-c file
The following operands are supported:
line
speed
type and linedisc
/etc/ttydefs
login(1), ct(1C), ioctl(2), tty(4D), attributes(7), sttydefs(8), ttymon(8)
September 14, 1992 | OmniOS |