|
��������
ttytype - ���������� � ����� ����������
��������
� ����� /etc/ttytype ���������� ����������� ����� ���������� ��� ����������� ������ �� �������� /dev. ���
����� � ������� ����������� ���� /etc/profile. ����
���� �������� ������������������ ������:
ta=`tty` ta=`grep "$ta " /etc/ttytype` TERM=`expr "$ta" : '.* \(.*\)' \| "$ta"`
� ���������� ���������� ������� ��������������� ���������� ��������� TERM. ���������, ������������ ����������� ����������� ��������� [��������, vi(1)], ������ �������� ���������� TERM � ���������� ��� � �������� ����� ��� ���� ������ termcap ��� terminfo(4).
������
������ � ����� /etc/ttytype:
/dev/console vt100���������� ������� ��� �������� ���� vt100.
��. �����
term(4), terminfo(4), term(5).
|