����������� �� QNX4 (01.08.2k)

� ���� ��������� � ��������� �������� ���� ���� ���� ������� �������� ����������� �� QNX 4. ����� ����� ������� ��� ������� ��� ������� �� ������ � �� ����� (� ���������� �������� � ���������� �������, �� � ����� ������).
� ������:

������� (shell � ��������� ������ ������ ��������)
Photon MicroGUI (1.14)
Photon Terminal (1.14 � �� ������)


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

Midnight Commander 4.1.36-qnx
Voyager 2.02
Voyager Mail 2.02
Photon ICQ [by S. Prozhogin]
Photon Editor
Photon HTML demo � Photon Help Viewer
������� ������� ����� � FAT-�������

������� (shell � ��������� ������ ������ ��������)
����, ������ � ����������� �������. ��� ����� ���������� ����� russhell, ������������� ����������� ���������. ���� ����� �������� ������� ���������� ����� � ������� ����������. ��������� ���-8�, ��� ������ �������� ��� ����������� ���������� *nix-����������. ������������ �������/��������� - ����� <Control> + ����� <Shift>. ��������� ������ �������� � ����������:
1. ���������� ����� russhell.tgz � �����-������ ���������� "tar xzvf russhell.tgz"
2. ����������:
KOI8-R, USA --> /etc/config/kbd/
koi8-8x16 --> /etc/config/cfont/
rk --> /usr/local/bin/
3. �������� /etc/config/sysinit.1:
����� ������:
reopen //0/dev/con1
��������:
cfont -f 0 /etc/config/cfont/koi8-8x16
/usr/local/bin/rk /etc/config/kbd/USA /etc/config/kbd/KOI8-R
4. ���������:
tic ./terminfo.src
���. ��������������� � �������������.
����������: ����� �������� ������ � ������ QNX-��������� � �����������:
stty protocol=0 term=qnx && export TERM=qnx

Photon MicroGUI (1.14)
��� ����������� Photon ��� ����������� ��������� �������, � ������ ruskey 3.20 �� SWD, phonon cyrillic supplement �� QSSL, �������� ���� � ������. ���� ����-�� ���� ����� ����������� ��� ������� - ����� ��������������� ����� ��������, ��������������� ��� ��� ��� ������ ��� � QNX 4 - ��������������� � ����� �������� �������. ����� ������������ �� �������� ������� ��������� Unicode + ����� ������� ������� (�� ����� ��������� ������ - �������� ����������). ������������� ���������� ����� � ������� <Caps Lock> ��� <Alt>.
�� ��� ��� ������ ������ ������, �� ����������� � � ����� ��������� ���� ������ � "��������" Photon � ������ �������� ��� �, � �����, ����������� �������������, TTF-������� �� Windows 95/98, ����� ��� Unicode (��� �������� ����������� �������� ��� �� ������������� � Photon MicroGUI) � ���������� ������� ��������� ����������.
������� ���������� ��������� �������� ����������. � ����������� ������� ���������� �� ������ cpterm (� ��� �� �������� ����� �������� ������������ ��������� Photon). � ���� ������ ���� ��� ������� ������� ���������� ru_UN_101.kbd � ��� �������� - ���� �������� ru_UN_101.kdef (���������� ��� ���, ���-�� ����� ���-�� ���������). ����� � ������������������ ������� ����� ����� �����. ���� ������� ������������� ����� ��� ���, ��� �� ���������� ��������� ������������ ������� ��������� � ��������� ������������� - ����� <Control> + ����� <Shift>. �������� ��� ����� � /etc/config/kbd. ��������� Photon. ��������� �������� ��������� - ��������� /qnx4/photon/bin/kbsel - ��������� � ������ ��������� ��������� ��������� ru_UN_101.kbd, ��������� en_US_101.kbd �� ������ �������. ����� ������ ������� ���������������� ���� � /.photon � ��������� keyboards. �� � ���� ������ ����������:
-------------------------------- cut here ------------------------------------
/etc/config/kbd/ru_UN_101.kbd ru_UN_101
sw=2
dir=/etc/config/kbd
-------------------------------- cut here ------------------------------------
����� ���������� � ���� /etc/profile ��������� �������:
export KBD=ru_UN_101.kbd
���. ������� ���������� ����� ������������ ������ ����� ������ � ������������. ������������ - ����� <Control> + ����� <Shift>. ��������� - Scroll Lock. ����� - ����������, �� ����� - �������.
����� �� Windows 95/98 ����� ������ Arial, Times New Roman, Courier New, � ������:
C:\WINDOWS\FONTS\arial.ttf
C:\WINDOWS\FONTS\arialbd.ttf
C:\WINDOWS\FONTS\arialbi.ttf
C:\WINDOWS\FONTS\ariali.ttf
C:\WINDOWS\FONTS\cour.ttf
C:\WINDOWS\FONTS\courbd.ttf
C:\WINDOWS\FONTS\courbi.ttf
C:\WINDOWS\FONTS\couri.ttf
C:\WINDOWS\FONTS\times.ttf
C:\WINDOWS\FONTS\timesbd.ttf
C:\WINDOWS\FONTS\timesbi.ttf
C:\WINDOWS\FONTS\timesi.ttf
���� ���������� ���������� "��" Windows �� ����� ���������� ����� ����� ����� ���� ������� �����.
����� ����������� ���������������� ����� Helvetica. ��� ����� ����� �����. ����� Helvetica � ������������� �� ������, ��� ��� �� "������ �������" �� ������������� � Photon Desktop Manager - ����� PDM.
����� ��������� �������� (�������� ��������� Dosfsys ��� ������ � ���������� �����) ��������� ��� ����� � ������� QNX: /qnx4/photon/font.
��������� �������� ������� - /qnx4/photon/bin/fontcfg -G (��� ������������ root). ���� ���������� ��� �������� �����, � ������ ������ ���� ��������� �������� ������ - Arial, Times New Roman, Courier New. �������� �� ������ � �������� ������ Install. ������ ������� ��� ������ (�� ����� ��������� ������) ������ �� ����� ������ (�� ����� ������� � ��������� �� �������� /qnx4/photon/font - ����� �� �������� ������� ����� �� ����� - ���� ��� ���������). � ���� ��� �������� ���:

 

��������� �� �������� Mappings. ������� ������ ��� ��� ������ �����. ����� ���� ��������� ����������� �������, ����� � ��� ��������� ������������ ������ (�� �������� ��������� ��������) � ������� Courier, Helvetica, Times. � ����� ������ ����������� ��� �������������� ������� (�� ������ ������) Helvetica - Arial. �� ���� �������� ��� ������ ��������� ����� �������:

 

��������� �� �������� Extensions. ��������������� ������� ������ ���� ��� ������, ����� ���� ������� �����. ��� ���������� ��� ���������� ��������� ������������ ��������� (� ��� ������ ��, ��� ����� ���). � ���� ��� �������� ���:

 

���. �������� �� Save � ����� Apply. � ���� ������ ������� ����� ������ "���������" � "����������" �� ���������� ��� ���� �� ����� �������� - ������ ����� �� ����� ����� ������������ ������ ��� ����� TTF-������� (� ��� ��������) ��� ��������� "�����������" ��� ��������� �� ������ � ������ ��������. �������� ������ 2-3 � ����������� <Ctrl>+<Alt>+<Shift>+<Backspace> �������� ��������� ����� Photon. ������ ������������� ������ "shutdown -f". ����� ����� ��� ������ �������� ���������.

Photon Terminal
�������� �������� �� ��� ���� � ����� �����. ������� ���� ��� �������������.
-------------------------------- cut here ------------------------------------
����������� pterm � Photon 1.14
������� � ������ 1.14, Photon microGUI ������������ ����������� � ���� ������������ �������� � ���� ��������������� (pterm). ������ �������������� � ���, ��� ��������� pterm "��������" ��-������, ������� ������ ����������� ��������� SWD Real-Time Systems.
1. ��������� Photon.
2. ��������� ��������� ptermcs (����� "Run..." ���� Photon Desktop Manager).
3. �������� ������ ��� ��������� � ����� "ANSI charset", "Internal/QNX charset" � "Font charset" (��� ���������� ������� ��������� ��������� �� ��������� - "��������� � Internal/QNX charset").
4. ��������� ��������� ���� ��������� (����� ���� "File/Save As...", ��� Ctrl-A), ���������� � ����� "��������" �������� (��������, $HOME/.photon/charsets).
5. ��������� ��. 3-4 ��� ������ ����������� ��� ���������.
6. ��������� �����-������ ��������� � pterm (��������, ksh).
7. �������� ���� ������� ��������� (Ctrl-Alt-C).
8. � ���� "Text font" �������� "Custom" � ������� ������ "Customize". ��������� ���� "Customize font list".
9. � ���� "Fonts" �������� ������ ��� ����� � ����������� ��������� � ��� ������ (����������� �� ��������� ������� � Photon ��. � ���������� �� ��������� Photon Cyrillic Supplement - ���� /etc/readme/phcyr).
10. ������� ������ "Add". ��������� ����� �������� � ������ �������.
11. �� ������������� ��������� ��. 9-10 ��� ���� ����������� ��� �������.
12. ����������� ������ "Shift Up" � "Shift Down" ��� ������ ���������� �������. ������ � ������ ����� ����� ���������� �� ���������. ����������: ��� ���������� ��������� ����������������� �������� ������������� ������������ �� ��������� ������ � ��������� CP866 (alt). ������ � ������ ���������� ����������� ���������� �������������.
13. � ���� "Charsets File" ������� ������ "Browse". ��������� ���� "Choose file".
14. �������� ���� �� ��������� ���� � ��. 2-5 ������ ��������� � ������� ������ "Select". ���� "Choose file" ���������. ����������: ��� ����������� ����������� ��������� ������ ��������� ������ � ���������� ������ ���������. ������� ���������� �� ��������� ��������� � ��� �� ����������, ��� � � ��������� �� ��������� ������. ��� ����������� ����������� ������ � ���������, �������� �� �������� �� ���������, �� ������ ������������� ����� �������������� �������� ������� "�� ����" ������������ ������������ ������ (Ctrl-Alt-> � Ctrl-Alt-<). �� ���� ��� �������� ������������� ���� �����, �� ��� �������� ������� ����� ��������� ���������� (��. ����), ��� ��� ������� � ��. 13-14. ��� ��������� ��������� ��������� ����� � ��������� ����������.
15. � ���� "Customize font list" ������� ������ "Done".
16. � ���� ������� ��������� ������� ������ "Apply" � "Save & Close".
17. ��������� ��. 6-16 ��� ���� ��������, ������� ����������� ���� � pterm (��������, �� ���� Photon Window Manager ��� ��� ������ Photon Desktop Manager) � ���������� ��������� ��� ������������ (������������ pterm �������� � ������ $HOME/.photon/pterm*.rc). � �������������! P.S. ������� ������� ���������������� ������� ��������� ������ ����� ���� ���������� pterm ��� ����������� ������������������ ��������� � �������� � ���������� ������������. ���, ������� ���� ������������������ "��" � ��������� vedit (�������� QNX, ��������� ���������� � ��������� Windows 1251) �������� ������������ ������ ����������� (���� "View/Toggle Display mode"), � ������������������ "��" �������� ��������� ������� ������, ��� � ��������� ����������� ��������� ����. =%-O
-------------------------------- cut here ------------------------------------

�� ���� �������, ��� ���� ����� ������������� �������� � ����������� ����.
������ ������ ���������� ������������� ���������� ������� ������ PCTerm. �� ����� ����� �����.

� ������ 3 ����� - cp866.cs, win1251.cs, koi8r.cs (����� �����), ������� ����� ����� ������ ��� ������� ����������� ������, ��������� �� ��������� ���� �� ��� (��� �������� ���� ���������� �������� � ��������� win-1251, �������� ������ ��� ������ ;) ������� � ������ �� ��������� win1251.cs. ���� ptermcs �������� ��� ���� ������� ��������� ��������� �������:

   win1251.cs:
   ANSI charset          Cyrillic (Windows 1251)
   Internal/QNX charset  Cyrillic (IBM 866)
   Font charset          (same as internal)
   
   cp866.cs:
   ANSI charset          Cyrillic (IBM 866)
   Internal/QNX charset  Cyrillic (IBM 866)
   Font charset          (same as internal)
   
   koi8r.cs:
   ANSI charset          Cyrillic (KOI8-R)
   Internal/QNX charset  Cyrillic (IBM 866)
   Font charset          (same as internal)

�����, ������� � ����������� � ��������� pterm - pcterm12, ���� ��������� ���������� ������� ��� �� ��� ��������� (��. ���� � ����������� Photon).

Midnight Commander 4.1.36-qnx
��� ���� ����� ����� ���� ������������ ������� ������ � ��������� � ������� Midnight Commander 4.1.36 /���� ���� ������ �� ���� ������, �.�. ����������, ������������� ��� "��������", ��������� ���� ������� ������������ �� ����� ������ ;) / � �������� ���������: ������ � ���� F9 -> Options -> Display bits... � �������� ��������� �������� "ISO 8859-1" � ������� ����� "Full 8 bits input". ����� Ok, ������ ����� F9 -> Options -> Save setup. ���.

Voyager 2.02
��������� Voyager (����� �������, ���� ��� ����� ������ 2.02), �������� � ���� Edit --> Configuration. �� �������� Appearance ��������� Body Font Family - Times New Roman, Heading Font Family - Arial, Preformatted Text Font Family - Courier New. ��������� ���������. ������ Voyager ����� � ���������� ������������ �� ������, ������ ����� ��������������� ��������� ����� ��������� ��� � Internet Explorer ��� Netscape Navigator.

Voyager Mail 2.02
��� ���������� ��������� � ����������� "�������������" ������� ����� ����� ���-���� ������������ �������� � *nix ��������� ���-8�.

Photon ICQ [by S. Prozhogin]
��� ������� ��������� ���� ����������� ������� ����� - �������� Arial 10 Bold - ������ ����� �������� � ������� �������������� ICQ, ������� ����� ��� Windows � ����� � ��������� 1251. ����� Helv (�� ���������) � ���� �� ��������� ��������� ��-������.

Photon Editor
� ���� Options -> Defaults ������������� ����� �� ��������� - Arial 10 Bold - �������� Save. ������ �� ��������� ��� ������ � Photon Editor ����� ����� ��������� �������� ��� � MS Notepad. ��� ������ � ���������� ���������� ����� �������� ��������� Options --> Encoding ��� Ctrl-E. ����������������� ��������� � ����������� DOS-866, ���8-�, Win-1251.

Photon HTML demo � Photon Help Viewer
��� ���������� "������" �� ����� ���������� ������� ����� � ��������������� ����������. ���� ��� � ���, ��� Photon "������ �������" �� ������������� Unicode, ��� ������ ��� ���� �� �����-�� ��� ������������� ������� ���������. ��� ��� ���� �������� ��������� ���� ������������� help (�������� ��� ����� ����������� ����������), ����� ��������� ��������� �������:
1. ��������� Photon Editor.
2. ������ ��������� �� ��������� �� Windows-1251 (��� ������, ������ � ����� ��������� ���� �������� html-�����).
3. ��������� html-���� � ��������.
4. ������ ��������� �� Unicode (UTF-8).
5. ��������� ����.
6. ����������� ���� 2-5 ��� ���� ��������� html-������.
������ ����� html-����� ������ ������������ ���������, � �������� �������.
����, �������, ��� ���� ������� (��� �������� ����������� �������������). ����� � PhAB ���� ��������� htmldemo (� ����� �� � helpviewer'�). ����� �������� ���� ������ ������������� ����������� Voyager � VMail. ��� ����� ���������� ����� ��� ��, � Voyager SDK ��� �������� ���� �����������. �� ��� ��� ���� ������ ������.

������� ������� ����� � FAT-�������
���� ������������ Dosfsys, �� ������ ������� ������� ����� � FAT-������� (Windows) �� ���������������, ���� ������ ��� ����������� ����� ����������. �������� �������� �������� �������������� ������ ��������� �������� ������� FAT - Fatfsys (������� � QNX 4.25 Patch D). �.�. Photon �������� ������������� Unicode, � Windows ������ ������� ������� ����� ������ � Unicode, �� ��������������� ��� ����� ������ ��-��� Photon'������ ��������, ����� ��� Photon File Manager. � ������� � pterm ��� ���� � ��������� �� ��������, �.�. ��� �� �������� ��������� Unicode.

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

01.08.2000
Engineer [email protected]