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

CAPTOINFO(1M)

��������
captoinfo - �������������� �������� ���������� �� ������� termcap � ������ terminfo

���������

   captoinfo  [-v ...] [-V] [-1] [-w �����] ���� ...

��������
������� captoinfo ���� � ����� �������� ������������� ���������� � ������� termcap. ��� ������� ���������� �������� �� ����������� ����� �������� ������������� �������� � ������� terminfo(4). ��� ����������� ��� ���� �����������. ��������, � ������� ����������� ������ �� ������ �������� (������������ tc=), ����� ����� ������� �� ������� � ��������� ���������.

���� ���� �� �����, �� ��� ����������� ����� ����� ��� ����� ��������� ������������ ���������� ��������� TERMCAP � TERM. ���� TERMCAP ����� �������� ������� ����������� ����� ������������� �����, �� ���� ����������� �������� ���������, ��������� � ���������� TERM. ���� ���������� TERMCAP �� �����������, ���������� ���������� �� ������������ ����� /etc/termcap.

����� ������� captoinfo ����� ��������� �����:
-v�������� � ����������� �������� �������������� ���������� � ���������� �������. ��� ������� �������������� ����� -v ����� ���������� ����� ��������� ����������.
-V������ � ����������� �������� ������ ������� captoinfo � �����������.
-1�������� ������ ���� �� ��������� ������. �� ��������� � ������ ������������� ��������� �����, ������ ������ ������ ����� ����� �� ����� 60 ��������.
-w ����� ���������� ����� �������� ����� ��������� ������ (� ��������).

�����

/usr/lib/terminfo/?/* ���������������� ���� ������ ���- 
                                   ����� ����������.

�����������
��� �������������� �������� ��������������, ��� ����������� ��������� ����������, �������� ��� termcap. ��������, ������ ������ (bel � ������� termcap) �������������� ������ CTRL+G. �������������� "������� � ����� ������" (nl � ������� termcap) �������������� ���������� ��� �������� "������ ����" � "������������ ������" (cud1 � ind � ������� termcap). ����������� ������ �������������� � ����� ������� ��������.

��������, ������������ ��� �������������� ����������������� ���������� �� ����� termcap (��������, ������� ������� � ��������� cm � cup), ��� ������� terminfo ����� ������������� ����������, �� �� ����������� ������� ��������. ��������, ����� ������������ � termcap �������� %n ������������ � ����� ������� �������. �� ������ ����������� ��������� �������� ������������� ������� ����� ������ ��������������� ���������, ��� ������� ����� ����� ��������� �������.

�������� �������������� ����� �� ������ ������ ���� � termcap, �������� ������ ������ ������������ ������� UNIX, ��� �������������� �������� ���������.

�����������

tgetent failed with return code n (reason)
�������� ��������� � termcap �����������. ������ ��� ��������� ������������ tc=.
unknown type given for the termcap code cc
� �������� ��������� ���� ������������ cc, ��� �������� �� �������� �������, �������� ��� ����������.
wrong type given for boolean (numeric, string) termcap code cc
� �������� ��������� ���� ������������ cc, ��� �������� ��� ���������� �������� �� ������������� ���� �������������.
the boolean (numeric, string) termcap code cc is not a valid name
������ ����������� ������������ cc.
tgetent failed on TERM=term
�������� ���������� ��������� �� ������� � ����� termcap.
TERM=term: cap cc (info ii) is NULL: REMOVED
������������ ����� ��������, ������ ������ �������. ������ ������� � �������� �������� ������������� ����� ������������ ��������� �� ����������� �����������, ������������ termcap ��� terminfo. ��� ������ �������� ������������� ����� ������������ ������ @, �������� :bs@:.
a function key for cc was specified, but it already has the value vv
� ������������� ko �������, ��� ������� cc ����� �� �� ��������, ��� � ������������ cc, �� ������� cc ����� ��� ���� ��������� �������� vv.
the unknown termcap name cc was specified in the ko termcap capability
� ������������� ko ������ ������������ ��� �������.
the vi character v (info ii) has the value xx, but ma gives n
����� � ��� �� �������������� ������� vi(1) � ������ �������������� ��������� ��������� ��������.
the unknown vi character v (info ii) was specified in ma termcap capability
� ������������� ma ������ ����������� captoinfo �������������� ������� vi(1).
Warning: termcap sg(nn) and termcap ug(nn) had different values
��������������, ��� ������������� termcap sg � ug (� terminfo �� ������������� xmc) ������ ����� ���������� ��������.
Warning: the string produced for ii may be inefficient
������������� �������, ��������������� ��� ����������������� ����������, ��������� �������.
Null termname is given
��� ��������� ��������, ���� ���������� ��������� TERM �� ����������� ��� ����� ������ ��������.
Cannot open file for reading
��������� ���� �� ������� �������.

��. �����
infocmp(1M), tic(1M).
curses(3X), terminfo(4) � ����������� ������������.

����������
������� captoinfo ������� ����������� ������������ ��� �������������� �������� ���������� �� ������� termcap � ������ terminfo, ��� ��� ���� ������ termcap, ���������������� � ������ ������� ������������ ������� UNIX, � ����������� ������� ����� �� ������������.
Comments: [email protected]
Designed by Andrey Novikov
Copyright © CIT