DECO 1

..
..
���
deco - �������� ��������� ��� UNIX
������
deco [�������]
��������

DECO, ��� ����� �������� - �������� ��������� ��� �� UNIX, ������������� �� ������� ������ ���������� ������ ���������.

�����������

���� ����������� ������� ���������� ��� ^X, ��� �������� <Ctrl> X. ��� "~" � ������ ������ �������� "�������� ����������".

"�������������� �������"

DECO ������������� �� ���������� ��� ��������� ����������� ����� �������� ���������� termcap. ��� ������ DECO ���������� 10 �������������� ������, ������� � ������ ���������� ������������ F1 - F9, F10. ��� ����������� ������ ������������ ��������� 'termcap' f0, f1...f9 ��� ������ F10, F1...F9; kl, kr, ku, kd ��� ������� �����, ������, �����, ����; kh, kH, kP, kN - ������, ����� ������, ����������, ��������� ��������; kI - �������, kD - �������� �������.

��� ����������, �� ������� �������������� ����������, ���������� ����������� ������� ������ ������������ ��������� ��� ������������������� ���� <Esc> X.

���� ��������� ������� ������. .ES ������� ������� �������������� (������� PC) VT-220 ���� ------------------------------------------- F1 -1- ESC 1 F2 -2- ESC 2 F3 -3- ESC 3 F4 -4- ESC 4 F5 -5- ESC 5 F6 -6- ESC 6 F7 -7- ESC 7 F8 -8- ESC 8 F9 -9- ESC 9 F10 -0- ESC 0 ������� ����� ����� ESC u ������� ���� ���� ESC d ������� ����� ����� ESC l ������� ������ ������ ESC r Home Home ESC h End End ESC e PgUp PrevPage ESC p PgDn NextPage ESC n Ins Ins ^T Del Del ^G

�������, ��� �� ��������� �����������, ��������, �� ������� PC AT ������������ ������� F1-F10, � �� ��������� - ������� 1-9, 0 �������������� ����������.

"������ ������� � ����� �� DECO"

� ����� ��������� DECO ������� F10 �������� ������� � �������� ��������� � ������ �������� ����. ���� DECO ��������� � ������� ������ (���� ������� �������), �� F10 �������� ���� ������ �� DECO: .ES Do you want to exit from DECO commander Yes No Exec shell

����� "Yes" (�����), "No" (�� ��������) � "Exec shell" (������� csh) ������������ ��������� �� ��������� � �������� <Return> (<Enter> �� ���������� PC). ���� ������ "Shell", ��� �������� � DECO ����� ������� (� csh) ������� "exit".

"��������� ���������"

�� ������� F1 �������� ���������� ���������. ��� �������� ������� ������� F10.

"���� DECO � ������ ������"

������ DECO ����������� �� ������ ��� ���� (������ � �����), � ������� ������������ ��� �������� �������. ���� �� ���� ���� (��� ��� ��������) �������� �������, ��� ������ ���� � ���. ������ ������������ ��� ��������, ���� ���������� (� ����� �����������) �����, � ����� ��� ������������ ���������� � ������� ���� (��. ������� ^L). ��� �������� �������� �� ���� � ���� ������ ������� <Tab> (������� <Tab> ��� ^I), � ��� ����� ������� ���� �� ������ - ^U.

������� ������� ����������� �� DECO ��� ��, ��� � �� �������� �������������� sh ��� csh (��. ���� "���������� ������ �� UNIX"). ���������� DECO ��������� � �������� ������ ������, � ������� ��������� ����, �������������� ������ (������ ������, � ��� ������ ��� ������, ��� ������������, �������� � ������� �����), � ������ ��������� (����� ������). � ���� ������ ����������� ��� ������� DECO (F1 - F10 � ������). ����� ���������� ��������� ������� DECO �������� � ���������� ������ ����� ������, �� ���������� (��� ��������) ���� � ���������. � ���� ������ ����������� ������ ������� �������, � ����� ��������� ������� DECO, �����, ��� ^B - ������ � History (���������� ������). ���� ������� ������ ������� (������� Return), ���������� ������� � �������� ����� ������ � ������������� ����. � ��������� ������� (��������, ������ History �� ����������� ������) DECO ����� ������� � �������� �����, �� ���������� ����. ��� ������ � ���������� ���� DECO ��������� � ���� �����. � ���� ������ ����������� �������, ������������� � ����, ������� ����������� ������ �� ����, � ������� F10 ������ �������� "�������� ����� ����".

"���������� ������ �� UNIX"

������ DECO ��������� � ������ ����, ����� � ������� ������� ����� "������" �� �������� � �������� �����, � ����� ����������� ��������� ������, ������� �������. �������� ^J ����� ��������� � ����� ��������� ������ ����� �������� ��� ���������� ������. ��������� ^E � ^X ����� "�������������" �� history, �. �. "����������" ����� ����������� �������. ������� ��������� ������ ����� �������� ^Y.

����������� ������� ������� ������������ � History. ������� History ����� ��� �� ��������� ���� DECO, ��� � �������� ^B. ��� ������ � History ������� ���������� ������ �� ��������, ������� ^J ������ ��� ����������� � ��������� ������, � <Return> - ��� ����������� � ���������� �������.

��� �������� ����������� � ��������� ������ ������ ����� ��������������. ��� ������� - �� ���������� ��� ����������� �� ����� DECO. ��������/��������� ��� ����� �������� ^P. � ������ �������������� ������� �����-������ ���������� ������ �� ��������� ������, ������� �����-���� - �� history. �������� <Del> ��� ^G ����� ������� ������� ��� ��������.

��� ����� ������������ ������� � ��������� ������ ������ ������� ^V. ��������� �� ��� ������ ��������� � ������ ��� ��������������� ���������.

"���� ������"

DECO ��������� ������� �����, �������� � ����������� �����. ��� ������� ����� ����������� �������� ����� �� ��� ����� � ����. ������� ��������� ���� ������:

"������"
�������, ��� ���������� ����
"*"
����������� ����
"/"
�������
"&"
�������, ����������� ��� �����
"$"
���������� ����������
"#"
������� ����������
"="
FIFO-����
"~"
������������� ������
"@"
������������� ������ �� ������������� ����
"!"
����������� ������ (socket)
"������ � ����������� �������"

���������� ����� ����������� ��� �������� ���� ������ ��������� ��������. �������� ����� ������ ���������� �����. ��� ���������� ������ (� ������ ����������) ������ ��������� �������:

"<Ins> ���� ^T"
��������� � ������ ���������� �������� �����.
+
��������� ���������� �� ������ ������ �� �������.
-
������ ���������� � ������ ������ �� �������.

���� ���������� ������ ���, �� ���� � �������� ������ ������� ����.

"����� ����"

�� ������� F9 ���������� ������� � ����� ����. ��� ���������� �������� ������ ������� � ������� <Return>.

��������� ���� ��������� ����. ������ ������� ����� �������� ����� ����� ����, ��� ��� ������ ���������� ��������������� �������. .ES Left / Brief Long Full Status ^L Align extensions Sort by name Extension Time Size Unsorted Reverse Sort by type Re-read ^R Pattern Files / Help F1 User menu F2 View F3 Edit F4 Copy F5 Link Symlink Rename/move F6 Make directory F7 Delete F8 Select group + Unselect group - Quit F10 Commands / Run subshell Compare directories Find file ^K History ^B Home directory ^\\ Root directory ^_ Redraw screen ^] Menu file edit Extensions file edit Options / Switch panels ^I Swap panels ^U Full screen ^F Double width ^W Command line mode ^P Show hidden files Viewer... Editor... Shell... Save setup Right / Brief Long Full Status ^L Align extensions Sort by name Extension Time Size Unsorted Reverse Sort by type Re-read ^R Pattern

����� ���������� ��������� �������� ������ �� ����.

"��������� ����"

������� ���� Left, Right ������������� ��� ��������� ��������� ������ � ������� ���� ��������������. ������� Brief, Long, Full ������ ������� ����������� ���������� � ������. ������� Status ��������/��������� ���� �������, ������������� � ��������������� ����. ������� Align extensions ��������� ������� ������������ ���������� ���� ������ �� ������� ����.

��������� ������ ������ ������ ������ ���������� ������ � ����. ������� ����� ����������� �� ���� (�������, ����������, ��.), � ������ ���� - �� ������-���� ��������� (���, ����������, ������, ����� �����������). ������� Sort by name, Extension, Time, Size ������ ����� ���������� �� ���������. ������� Unsorted ��������� ���������� �� ���������. ������� Sort by type ��������� ���������� �� ����. ������� Reverse �������� �������� ����������.

������� Re-read ������������ �������. ������� Pattern ������ ������ "�������" ���� ������. ������ �������� �� ������� ��������, �� ������� ����������� ����� ������ � UNIX: ? �������� "������������ ������", * - ������������ ����� ����� ��������, [�������] - ����� �� ���� ��������, ^ � ������ ������� - "��� �����, �� ����������� � ��������". ��������� ��. � ������� "������� ������". ��������, ������ "^*.[bo]" �������� "�� ���������� ��������� � 'bak' �����".

"������ � �������"

������ ���� Files ������������ ��� ������ � �������. ����������� ������ ����� ������� ����������� �� �������������� ����������. ������� �����������, ����������� ��� �������� ������ ���������� ������ ���� ��� ����������� ����, ���� ���������� ��� ���������� ����� �� ���������.

"Help - F1"
������ ������� �������.
"User menu - F2"
����� ����������������� ����.
"View - F3"
�������� �������� �����. �� ��������� ������������ ���������� ��������. �������� ���� Options/Viewer ����� ���������� ��� ������� �������, ��������, "less -Mepq". ��������� ��������� ����� �������� ���� Options/Save setup.
"Edit - F4"
�������������� �������� �����. �� ��������� ������������ ���������� ��������. �������� ���� Options/Editor ����� ���������� ��� �������� ���������, ��������, "re -+i", � ����� �������� Options/Save ��������� ��� ��� ����������� ������� DECO.
"Copy - F5"
����������� �������� ��� ���������� ������.
"Rename/move - F6"
����������� ������ ��� ��������.
"Make directory - F7"
�������� ������ ��������.
"Delete - F8"
�������� ������ ��� ��������.
Link
�������� ������ �� ����.
Symlink
�������� ������������� ������ �� ����.
"Select group - +"
������� ������ ������ �� �������.
"Unselect group - -"
������ ������� � ������ ������ �� �������.
"��������� �������"

������ ���� Commands �������� ������������� �������.

"Run subshell"
��������� ����� � ������������� ������ shell (cshell). ������� ������� � DECO ���������� �� ������� exit.
"Compare directories"
��������� ���������. ���������� ������������� ����� � ����� � ������ ���������.
"Find file"
��������� ������� �� ���� �� �����.
"History"
����� � ���������� ����� �� ���������� ������. �������� ������� � ������� Return ��� ^M, ����� ���������. ���� ������ LineFeed ��� ^J, �� ������� ����� �������� � ��������� ������ � �� ����� ����� ���������������.
"Home directory"
����� � "��������" �������.
"Root directory"
����� � �������� �������.
"Redraw screen"
����������� ������.
"Menu file edit"
�������������� ����� ����.
"Extensions file edit"
�������������� ����� ����������.
"��������� �������"

������ ���� Options ������ ��� ��������� � ���������� ������� ������ DECO.

"Switch panels"
������� � ��������������� ����.
"Swap panels"
������������ ����.
"Full screen"
���������� ������� ����.
"Double width"
���������� ������� ����.
"Command line mode"
���������/���������� ������ �������������� ��������� ������. � ���� ������ ������� ���������� ������ �����-������ �� ��������� ������.
"Show hidden files"
���������/���������� ������ ����������� ������, ����� ������� ���������� � �����.
"Viewer"
��������� ������� ������� ��� ��������� ������.
"Editor"
��������� �������� ���������.
"Shell"
����� ���������� �������������� ������ /bin/sh ��� /bin/csh.
"Save setup"
���������� ��������� � ����� ~/.decoini. ��� ������� DECO ����������� ����� ~/.decoini ��� /usr/local/lib/deco/initfile ��� /usr/lib/deco/initfile.
"���������� �������"
"cd"
"chdir"
������� � �������� �������.
"cd dirname"
"chdir dirname"
������� � ������� � ������ "dirname".
"set name value"
"setenv name value"
��������� �������� ���������� ����������.
"unset name"
"unsetenv name"
�������� ���������� ����������.
"env"
"printenv"
������ ������ ���������� ����������.
"pwd"
������ ������� ����� �������� ��������.
"exit"
����� �� DECO.
"������� ����������� ���������"

���������� �������� ����� ��������� ������� ������:

"�������"
����������� �� �����.
"��������� �������"
���� ������.
"Del"
�������� ������� ��� ��������.
"BackSpace"
�������� ������� ����� �� �������.
"^Y"
�������� ������� ������.
"^K"
�������� ������ �� ������� �� ����� ������.
"Save - F2"
������ �����.
"Raw - F3"
���������� ������������ �������� � �����, ������� 127.
"Top - F5"
������� � ������ �����.
"Bottom - F6"
������� � ����� �����.
"Search - F7"
��������� ��� ����������������� �����.
"Home - F8"
������� � ������ ������.
"Spaces - F9"
������������ ������ ����������� �������� � ��������� ��������� ���������� �������. ������� ������������ �������, ��������� - ����������.
"Quit - F10"
����� �� ���������.
"���������������� ����"
� DECO ���������� ����������� ��������� ����, ������������ �������������. �� ������� F2 ���������� ���������� ����� .menu, ����������� �������� ����. ���� ���� .menu �� ������, ����������� ���� ~/.menu ��� /usr/local/lib/deco/menu ��� /usr/lib/deco/menu. ���� � ��������� ���� ����� ��������� ���������: .ES # ����������� <������> <�������� �������> <�������> <������> <�������� �������> <�������> . . .

������ - ��������� ����� ��� ����� ��� ��� �������������� ������� F1-F10. ��� ������� ���� ������� ���������� ���������� ������� ����. ������� ����� ��������� ������� ���� %X, ������� ���������� �� ��������� ��������: .ES %f ��� �������� ����� %b ��� �������� ����� ��� ���������� %t ������ ���������� ������ %d ��� �������� �������� %c ������ ��� �������� �������� %h ������ ��� ��������� �������� %u ��� ������������ %g ��� ������ ������������ %% ������ '%'

� ������ ������� ����� ������ �������-��������:

-
����� ���������� �������� � ������ ����
@
�� �������� ������� � history

������ ����� � ����: .ES F1 Main menu !%h/.menu F2 Default menu !/usr/lib/deco/menu w Count lines of source code wc *.h *.c b Remove bak files -@rm -f *.b *.b d Show my processes ps -fu %u s Synchronize disks -@sync

"���������� ������"

���� � ������ ���� ��� ������� ������� Return ��� ^M ��������� ������ �����, � ������� ���� �������� ���������, ���������� ������� � ���� �������. ���� ������� ���� - �����������, �� �����������. ���� �� ������� ���� - ������� ����������, �� ����������� ��������������� ��� ����� �������, ��������� � ����� ~/.deco. ���� �������� ��������� ������������ ��� ������� ����� ��������� ��������, ��������� �� ��� �����. ��������, ��� ������ c ������ *.c ��������� ��-����������, ��� ������ Makefile, makefile - make � �. �.

���� ���� ~/.deco �� ������, ����������� ���� /usr/local/lib/deco/profile ��� /usr/lib/deco/profile.

���� � ��������� �������� �� ����� ����� ��������� ���������: .ES # ����������� <������1> <������2>...<������N> <�������> <������1> <������2>...<������N> <�������> . . .

������� ����� ��������� ������� (��. ���������������� ����).

������ ����� ~/.deco: .ES .menu .deco .cshrc .login *.c *.h re %f *.b rm %f Makefile makefile *.mk make -f %f core adb *.o nm %f | more *.a ar tv %f | more

"������� ���� ������"

������� ���� ������ ����� ��������� ��������� �����������:

"*"
������������ ������������������ ��������, ��������, ������.
"?"
������������ ������.
"[abcx-y]"
������������ ������ �� ���������� ������.
"[^abcx-y]"
������������ ������, �� �������� � �����.
"^"
� ������ ������� - ������� ���������� - ��� �����, �� ���������� ��� ������.
�����

~/.decoini

/usr/local/lib/deco/initfile

/usr/lib/deco/initfile

����� ������� � ��������� ���������.

.menu

~/.menu

/usr/local/lib/deco/menu

/usr/lib/deco/menu

����� � ��������� ����.

~/.deco

/usr/local/lib/deco/profile

/usr/lib/deco/profile

����� � ��������� �������� �� �����.
���������

���� ����������� �� ������ ����������, ��������, ��-�� ����� � ������������ �����, ��� ����� ������������ �������� ^].

������

csh (1), termcap (5)