Server for Information Technologies ������ ��������������
������� �������������� ����������
(095) 932-9212, 932-9213, 939-0783
E-mail: [email protected]
������ �������� ����(!) ������������� ���������� CIT Forum CD-ROM

GETTY(7)

��������
getty - ������������� ��� ���������, ������, �������� � ��� ������.

���������

     /etc/getty [-h][-t timeout] line [speed [type [linedisc]]]
     /etc/getty -c file

��������
getty ������������ ���������, ���������� init. ��� ������ ������� � ������������������ (init-getty-login-shell), ������� ������������ ��������� ������������ � �������� XENIX. ������� getty ������� �� ������� �� /etc/gettydefs ���� �������� ��������� ��� ������������� �����. getty ��������� ������� ��� ������������ � �������� ������� login � ������ ������������ � �������� ���������. ��� ���������� ����� getty �������� ������������ ������� � �������� � � ���� ������������� ���������.

Line �������� ������� � /etc/ttys, � ������� getty ������ ������������. getty ���������� ��� ������ � �������� ����� ����� � �������� /dev, ��� ���� ����� ������� ��� ��� ������ � ������. ���� -t � timeout � �������� ����������, ��� getty ������ �����������, ���� �������� ������ ������ �������, � ����� ������ �� ���� �� ������������ ����� ������. �������������� ������ ��������, speed, �������� ������ � �������� � ����������� tty � ����� /etc/gettydefs. ��� ����������� ������� getty, � ����� ��������� ������ ����������� �������������� ����������, ��� ������ ��������� ������� ���������, ������ ��������� ��������� tty, � ����� ������ �������� ���������� (� ������� ����� BREAK). �� ��������� ��� �������� 300 ���. ������ �������������� ��������, type, ������������ ����� ������ ��������, ������� �������� getty, ����� ��� ��������� ����������� � ������������� ������. getty �������� ��� none - ����� CRT ��� ������� ��������, ����������� �������. ��� �� ���������.

����� ��� ��������� ���� �����-���� �������, ���������� � ����������� ���������� ������ ���� ���������������� � ������������ �������. ��� ��������, �� �� ��������� ��� �� ��������������. ��������� �������������� ��������, linedisc, ������������ ����� ������ ��������, �����������, ����� ��� ����� ������������ ��� ����� � ����������. ����� ����, ������ ����� ����� �������� � ������������ �������, �� ���������� ������ ���� ������������� ���������, �� ���������, ��� ����� LDISCO.

���� ������������ ��������� �� �������, �� getty ��������� speed ����������, ������ 300 ���, ����������, ��� ����� �������������� �������� ����� (���������� �� ������ �������), ��� ����� ����������� ��� ��� ����������� ��������, ��� ������� ����� ������ ����� ������������� � ������ ������ �������� �������, � ��� � ����������� ������ �������������� ����������� ����������. ����� ���, ��� ������� ��� ������������, ��� ����������� ������� ��������� �����������. ���� ������� ������� ������ (��� ������ ������), ���������, ��� ��� ��������� ������� ������������� ������� BREAK. ��� �������� � ������� ������ ��������� getty ���������� speed �� �������. �������, � ������� getty �������� ��� ����������, ������������ ���, ��� ��������� � /etc/gettydefs.

��� ������������ ����������� ����� ������� ��� �������� �������� �������. ��������� �������� ��������� ������� ���, ����� ������� ������������� ������������( ������ ioctl(2)).

��� ������������ ��������������� ��� ����, ����� �������, �������� �� ��� �����-���� �������� ������� ��������. getty ������������, ��� ������������ ���������� ��� �������� �������. ���� ������������ ����������� ��������� �������, � ������� ������ �������� ������������� ����� ���������� ��������� ������� � �������������� �������� �������.

�������, ���������� login-program �� /etc/gettydefs � ������ ������������ � �������� ���������. ����� �������� ����� ����� ���� ������� �������������� ���������. ��� ���������� � login-program. �� ��������� login-program, /etc/login, �������� �� � ����� (������ login(1)).

�������������� �������� ��������. ����� getty ���������� ���������� -� � file, ��� ������������� ����, ��� ���� �� ��� ������������� � ������������� ���������� �� ����������� �����. ���� ���� �����-���� �������������� ������ ��� ����������� ��������� �����, ��� �������� �� ����. ���� ����� ����������, ��� ������������� �������� ��������� ������. ��� ���������� �������� ������ ioctl(2). �������, ��� ��������� �������� ����������� � ������ �������������.

����������
��� ��������� ������������� ������ ��� uucico, cu � ct ���� ������� ���������, � ������, ������ ����� ���� ������������ � ����� ������������. getty ��������� ������������ ������� � �������, �� ���� ������ ��������, uucico,cu ��� ct ����� ������������ �� ��� �������. ���������� ������� �� ����, ��� ��� ������������� ��������� uucico, cu � ct ������� �������� �����. ����� "�������" ������������ �� ������ ��������� ���������� (��� ������ ������ ����������� �� ������ ����������� ����������), ��������� ��������� ����� ���������, ������������ �� ������ uucico, cu, ct, ��� ���-�� �������� �����. �������, ��� � ������ ����������� ���������� �� ������ �������� ��������� ����� ������������� ��������� �������� <�������� �������>. ������������-������� ������ ���������� � ���� ��������� �����������. � ���, ��� �������� ������ uucico, ������� �������� � ������� �������� ������, ������������ ����������:

       ""\r\d\r\d\r\d\r in:--in:...
��� ...- ���, ��� ����� �� ���� ������ ������������ �� ������� ������������������.
Comments: [email protected]
Designed by Andrey Novikov
Copyright © CIT