svcadm(8)을 검색하려면 섹션에서 8 을 선택하고, 맨 페이지 이름에 svcadm을 입력하고 검색을 누른다.
getty(8)
System Administration Commands getty(8)
NAME
getty - set terminal type, modes, speed, and line discipline
SYNOPSIS
/usr/lib/saf/ttymon [-h] [-t timeout] line
[speed [type [linedisc]]]
/usr/lib/saf/ttymon -c file
DESCRIPTION
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 expan‐
sion 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 charac‐
ter (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 .
OPTIONS
The following options are supported:
-h If the -h flag is not set, a hangup will be forced by
setting the speed to zero before setting the speed to the
default or a specified speed.
-t timeout Specifies that getty should exit if the open on the line
succeeds and no one types anything in timeout seconds.
-c file The -c option is no longer supported. Instead use
/usr/sbin/sttydefs -l to list the contents of the
/etc/ttydefs file and perform a validity check on the
file.
OPERANDS
The following operands are supported:
line The name of a TTY line in /dev to which getty is
to attach itself. getty uses this string as the
name of a file in the /dev directory to open for
reading and writing.
speed The speed argument is a label to a speed and TTY
definition in the file /etc/ttydefs. This defini‐
tion tells getty at what speed to run initially,
what the initial TTY settings are, and what speed
to try next, (should the user press the BREAK key
to indicate that the speed is inappropriate). The
default speed is 300 baud.
type and linedisc These options are obsolete and will be ignored.
FILES
/etc/ttydefs
ATTRIBUTES
See attributes(7) for descriptions of the following attributes:
tab() box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) ATTRIBUTE TYPEAT‐
TRIBUTE VALUE _ Availabilitysystem/core-os
SEE ALSO
login(1), ioctl(2), tty(4D), attributes(7), sttydefs(8), ttymon(8)
Oracle Solaris 11.4 19 Feb 2019 getty(8)