Installing Inferno Software / Установка ОС Inferno

→Netstat prints information about network connections. You should see several lines of output, each one
describing an announced TCP or UDP service. Depending upon the contents of the network configuration
files we included on the CD, you might see output something like this:
0 Команда netstat печатает информацию о сетевых подключениях. Вы должны увидеть несколько строк, каждая из которых описывает объявление (announced FIXME) TCP и UDP сервисов.
В зависимости от сеттевой конфигурации вы можете увидеть что-то вроде этого:
→That starts cs(8). Try the ls /net again to check that the cs file has appeared.

Step 11b: Generate a server key set.
0 чтобы запустить cs(8). Попробуйте запустить команду "ls /net" снова чтобы проверить, что появился файл cs.

Шаг 11б. Генерация набора ключей для сервера
→(see ls(1)) should result in something like
0 вы должны увидеть что-то вроде этого:
→If you are just going to use Inferno for local Limbo programming, and not use its networking interface, you
can skip to the section ??Adding new users?? at the end of this document. You can always come back to this
step later.
To use IP networking, the IP device ip(3)) must have been bound into /net. Typing
0 Если вы хотите использовать Inferno для локальной разработки приложений на Limbo, не используя приэтом сетевые возможности ОС, можете пропустить этот раздел и сразу перейти к разделу "Добавление нового пользователя".
Чтобы подключаться к IP-сетям вы должны подключить устройство ip(3) к каталогу /net. Набрав после этого команду
→i) the host filesystem device ?#U? (see fs(3)) containing the inferno_root subtree of the host filesystem at
the root of the Inferno filesystem,
ii) the console device ?#c? (see cons(3)) in /dev,
iii) the prog device ?#p? (see prog(3)) onto /prog,
iv) the IP device ?#I? (see ip(3)) in /net, and
v) the environment device ?#e? (see env(3)) at /dev/env.
0 I) файловой системы низлежащей ОС "#U" (fs(3)),
II) консоли "#c" (cons(3)) к каталогу /dev,
III) файловой системы prog "#p" (prog(3)) к /prog,
IV) IP "#I" (ip(3)) к /net и
V) окружения "#e" (env(3)) к /dev/env.
→The initial Inferno namespace is built by placing the root device ?#/? (see root(3)) at the root of the names-
pace and binding
0 Начальное пространство имен создается путем подключения корневого устройства "#/" (смотрите root(3)) к корню пространства имен и подключения к нему следующих псевдоустройств:
→or the appropriate script file, should result in it starting up Inferno?s command interpreter sh(1), which
prompts with a semicolon:
0 или соответствующего скрипта приведет к запуску командного интерпретатора Inferno sh(1), который выдаст на экран приглавшение к вводу команд (точка с запятой):
→for Unix. An alternative to using the EMU environment variable is to place the correct invocation in a script
file (or batch file, for Windows) and invoke that instead of running emu directly. It is important to note that
for Windows the -r option also serves to indicate both the drive and directory on to which the software has
been installed. Without a drive letter the system will assume the current drive and will fail if the user
changes to an alternative drive. Once the environment variables or scripts are set up, as described above,
invoking plain
0 для Unix. Вместо использования переменной EMU вы можете просто поместить вызов emu в скрипт и запускать его вместо прямого вызова emu. Важно помнить, что в Windows опция -r указывает не только на каталог, в который была установлена Infeno, но и на диск. Без указания имени диска система будет искать на текущем диске и не запустится если пользователь перешел на другой диск.
После того как переменная окружения или скрипт будут установлены, запустите
→for Plan 9, and
0 для Plan9, и
→for Windows.
0 для Windows.
→When invoked in this way emu displays a command window running the Inferno shell /dis/sh.dis. To
avoid typing the command line options each time you invoke emu you can store them in the environment
variable EMU which is interrogated when emu is started and might as well be set along side the PATH envi-
ronment variable if the same configuration options are to be used on each invocation.
0 Запущенный таким способом emu откроет командное окно, в котором запущен командный интерпретатор /dis/sh.dis. Чтобы не набирать аргументы при каждом вызове emu, вы можете записать их в переменную окружения EMU, которая проверяется при каждом вызове emu.
→and log in as user inferno. When you log in, wm/logon will change directory to /usr/inferno and then
write the name inferno to /dev/user. If the file /usr/inferno/namespace exists it will be used to
construct a new namespace for the user based on the commands that it contains (see newns(2)).
0 и войдите под именем inferno. Программа wm/login автоматически сменит рабочий каталог на /usr/inferno и запишет строку "inferno" в /dev/user. Если файл /usr/inferno/namespace существует, он будет использован для создания нового пространства имен на основе команд, прописанных в нем (смотрите newns(2)).
→and then run
0 а затем запустите
→You should now have a fully functional Inferno system. You will need to have a three button mouse to use
acme, wm, or plumbing.
To learn more you could start with the manual pages for: intro(1), emu(1), wm(1), wm-misc(1), sh(1), acme(1),
and limbo(1) and also the papers in sections 1, 2 and 3 of Volume 2 of The Inferno Programmer?s Manual.
0 Теперь у вас есть полностью настроенная система Inferno. Вам понадобится мышь с тремя кнопками чтобы пользоваться acme, wm и плюмбингом.
Чтобы узнать больше обратитесь к следующим справочным руководствам: intro(1), emu(1), wm(1), wm-misc(1), sh(1), acme(1) и limbo(1).
→which should show something like the following:
0 которая должна показать что-то вроде этого:
→You can see the sequence of commands required to construct the current namespace by running
0 Вы можете увидеть последовательность команд, необходимых для создания текущего простраства имен, запустив следующую команду:
→Choose the shell option from the menu to open up a shell window. The configuration of Inferno will be
done from this shell window.
0 Выберите shell в меню чтобы открыть окно комадного интерпретатора. Мы продолжим конфигурирование Inferno через это окно.
→You should see a new window open with a blue-greybackground and a small Vita Nuova logo in the bot-
tom left hand corner. Click on the logo with mouse button 1 to reveal a small menu. Selecting the Edit entry
will start wm/edit. In common with most wm programs the editor has three small buttons in a line at its top
right hand corner. Clicking on the X button, the rightmost button, will close the program down. The left-
most of the three buttons will allow the window to be resized ? after clicking it drag the window from a
point near to either one of its edges or one of its corners. The middle button will minimise the window, cre-
ating an entry for it in the application bar along the bottom of the main wm window. You can restore a min-
imised window by clicking on its entry in the application bar. The initial wm configuration is determined
by the contents of the shell script /lib/wmsetup (see toolbar(1) and sh(1)).

Step 5b: Open a shell window.
0 Вы должны увидеть новое окно с сине-серым задним планом и маленьким логотипом Vita Nuova в нижнем левом углу. Кликните по логотипу мышкой чтобы открыть небольшое меню. Выберите пункт Edit для запуска wm/edit. В общем, большинство программ wm имеют три маленькие кнопки, расположенных в правом верхнем углу. Щелчок на кнопке X правой кнопкой мыши закроет программу. Самая левая из трех кнопок изменяет размер активного окна, перемещая изменивщую цвет одну границ окна или его угол. Средняя кнопка минимзирует окно, создавая пункт в панеле задач внизу оновного окна wm/ Вы сможете восстановить исходный размер окна щелкнув на этом пункте. Исходная конфигурация wm определяется содержимым скрипта /lib/wmsetup (смотри toolbar(1) и sh(1)).

Шаг 5b: Запуск окна интерпретатора.
→Graphical Inferno programs normally run under the window manager wm(1). Inferno has a simple editor,
wm/edit, that can be used to edit the inferno configuration files. The ?power environment? for editing and
program development is acme(1), but rather that throwing you in at the deep end, we shall stick to the sim-
pler one for now. If you already know Acme from Plan 9, however, or perhaps Wily from Unix, feel free to
use Inferno?s acme instead of edit.

Step 5a: Start the window manager.
0 Графические приложения Inferno обычно работают под управлением менеджера окон wm(1). В Inferno есть простой редактор, wm/edit, который можно использовать для редактирования конфигурационных файлов. "Мощное окружение" для редактирования и разработки программ - это acme(1), но на начальном этапе мы будем использовать более простые средства. Если вы уже знакомы с Acme из Plan 9, или редактором Wily для UNIX, можете спокойно использовать acme вместо edit.

Шаг 5a. Запуск менеджера окон.
→if the manual page appears in more than one section.
0 если команда относится более чем к одной секции.
Резюме
Пол:
мужчина
Родной язык:
русский
С нами:
с 13 апреля 2009 г. (6397 дней)
Не является членом клуба.
Деятельность:
319 версий перевода с общим рейтингом 6
1 комментарий
Карма: 1 (оценок: 1)
Написать j1m личное сообщение