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

TTYTYPE(4)

��������
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).
Comments: [email protected]
Designed by Andrey Novikov
Copyright © CIT