diff --git a/documentation/content/ru/books/accessibility/virtual-terminal/_index.adoc b/documentation/content/ru/books/accessibility/virtual-terminal/_index.adoc new file mode 100644 index 0000000000..2edf8ede81 --- /dev/null +++ b/documentation/content/ru/books/accessibility/virtual-terminal/_index.adoc @@ -0,0 +1,326 @@ +--- +description: 'Доступные возможности в виртуальной консоли, полезные для обеспечения доступности' +next: books/accessibility/colors +params: + path: /books/accessibility/virtual-terminal/ +part: 'Часть II. Зрение' +prev: books/accessibility/partii +showBookMenu: 'true' +tags: ["Accessibility", "Terminal"] +title: 'Глава 2. Виртуальный терминал' +weight: 5 +--- + +[[virtual-terminal]] += Виртуальный терминал +:doctype: book +:toc: macro +:toclevels: 1 +:icons: font +:sectnums: +:sectnumlevels: 6 +:sectnumoffset: 2 +:partnums: +:source-highlighter: rouge +:experimental: +:images-path: books/accessibility/virtual-terminal/ + +ifdef::env-beastie[] +ifdef::backend-html5[] +:imagesdir: ../../../../images/{images-path} +endif::[] +ifndef::book[] +include::shared/authors.adoc[] +include::shared/mirrors.adoc[] +include::shared/releases.adoc[] +include::shared/attributes/attributes-{{% lang %}}.adoc[] +include::shared/{{% lang %}}/teams.adoc[] +include::shared/{{% lang %}}/mailing-lists.adoc[] +include::shared/{{% lang %}}/urls.adoc[] +toc::[] +endif::[] +ifdef::backend-pdf,backend-epub3[] +include::../../../../../shared/asciidoctor.adoc[] +endif::[] +endif::[] + +ifndef::env-beastie[] +toc::[] +include::../../../../../shared/asciidoctor.adoc[] +endif::[] + +[[vt4-intro]] +== Введение + +Виртуальный терминал, обычно упоминаемый и документированный как man:vt[4], является встроенной в систему extref:{handbook}ports[виртуальной консолью]. Он устанавливается по умолчанию, предоставляет интерфейс командной строки и запускается автоматически при загрузке. В этой главе представлен обзор и примеры ключевых функций и утилит, связанных с визуальной доступностью. + +[[vt4-colors]] +== Цвета + +Виртуальный терминал поддерживает настройку цвета как через конфигурационные файлы, так и интерактивно с помощью специальной утилиты. + +[[vt4-colors-loader]] +=== Loader.conf + +Цвета могут быть установлены и сохранены с помощью файла man:loader.conf[5]. Чтобы изменить цвет по умолчанию, добавьте строку в следующем формате: `kern.vt.color._colornum_.rgb="_colorspec_"`, где: + + - `_colornum_` — это числовой идентификатор цвета, который можно настроить (см. таблицу ниже). + - `_colorspec_` — это спецификация цвета, представленная либо в виде разделённого запятыми RGB-триплета (красный, зелёный и синий, каждое значение от 0 до 255), либо в виде шестнадцатеричного значения в стиле HTML. + +.Палитра по умолчанию: цвет, номер цвета, цвет по умолчанию в rgb, цвет по умолчанию в html. +[options="header", cols="1,1,1,1"] +|=== +| Цвет | _colornum_ | _colorspec_ по умолчанию в RGB | _colorspec_ по умолчанию в html + +| Черный (black) +| 0 +| 0,0,0 +| #000000 + +| Темно-красный (dark red) +| 1 +| 127,0,0 +| #7f0000 + +| Темно-зеленый (dark green) +| 2 +| 0,127,0 +| #00ff00 + +| Темно-желтый (dark yellow) +| 3 +| 196,161,0 +| #c4a100 + +| Темно-синий (dark blue) +| 4 +| 51,102,163 +| #3366a3 + +| Тёмный пурпурный (dark magenta) +| 5 +| 127,0,127 +| #7f007f + +| Темно-голубой (dark cyan) +| 6 +| 0,127,127 +| #007f7f + +| Светло-серый (light gray) +| 7 +| 191,191,191 +| #bfbfbf + +| Темно-серый (dark gray) +| 8 +| 115,130,138 +| #73828a + +| Светло-красный (light red) +| 9 +| 255,0,0 +| #ff0000 + +| Светло-зеленый (light green) +| 10 +| 0,255, 0 +| #00ff00 + +| Светло-желтый (light yellow) +| 11 +| 255,255,0 +| #ffff00 + +| Светло-синий (light blue) +| 12 +| 115,158,207 +| #739ecf + +| Светло-пурпурный (light magenta) +| 13 +| 255,0,255 +| #ff00ff + +| Светло-голубой (light cyan) +| 14 +| 0,255,255 +| #00ffff + +| Белый (white) +| 15 +| 255,255,255 +| #ffffff + +|=== + +[[vt4-example-loader-conf-colors]] +.Установить белый фон, черный текст, сообщения при загрузке системы — красным цветом. +[example] +==== +[.filename]#/boot/loader.conf# + +[.programlisting] +.... +# Background black to white +kern.vt.color.0.rgb="255,255,255" + +# Text light gray to black +kern.vt.color.7.rgb="0,0,0" + +# Boot white to red +kern.vt.color.15.rgb="255,0,0" + +.... +==== + +[[vidcontrol]] +=== Vidcontrol + +Утилита man:vidcontrol[1] позволяет интерактивно настраивать цвета. Используйте опцию `show` для отображения списка доступных цветов: + +[source, shell] +.... +% vidcontrol show +.... + +Чтобы установить цвет переднего плана, используйте `vidcontrol _цвет_`. Например, чтобы установить цвет текста зелёным: + +[source, shell] +.... +% vidcontrol green +.... + +Чтобы установить как цвет переднего плана, так и цвет фона, используйте `vidcontrol _передний_план_ _фон_`. Например, чтобы установить синий текст на зелёном фоне: + +[source, shell] +.... +% vidcontrol blue green +.... + +Настройки, выполненные с помощью man:vidcontrol[1], не сохраняются после выключения. Чтобы сделать настройки постоянными, добавьте следующую строку в man:rc.conf[5]: `allscreens_flags="-c _цвет_переднего_плана_ _цвет_фона_"`. + +[[vt4-vidcontrol-colors-rc]] +.Установить синий цвет переднего плана и зелёный цвет фона. +[example] +==== +[.filename]#/etc/rc.conf# + +[.programlisting] +.... +allscreens_flags="-c blue green" + +.... +==== + +[NOTE] +==== +Установка параметра `allscreens_flags="-c _colors_"` в файле [.filename]#/etc/rc.conf# вступает в силу после загрузки системы. Чтобы изменить цвета во время процесса загрузки, отредактируйте файл [.filename]#/boot/loader.conf#, как описано ранее в разделе crossref:virtual-terminal[vt4-colors-loader,Loader.conf]. +==== + +[[vt4-resolution]] +== Разрешение экрана + +Параметр `kern.vt.fb.default_mode="<ширина>x<высота>"` в man:loader.conf[5] позволяет настроить разрешение экрана. Технически, он определяет режим отображения виртуального терминала, позволяя управлять размером элементов, отображаемых на экране. + +[[vt4-example-resolution]] +.Устанавливает ширину в 800 и высоту в 600. +[example] +==== +[.filename]#/boot/loader.conf# + +[.programlisting] +.... +kern.vt.fb.default_mode="800x600" + +.... +==== + +[[vt4-font]] +== Шрифт + +Виртуальный терминал позволяет настроить используемый шрифт, а система поддерживает установку и использование дополнительных шрифтов. + +[[vt4-select-font]] +=== Выбор шрифта + +Утилиты man:vidfont[1] и man:vidcontrol[1] могут загрузить шрифт из [.filename]#/usr/share/vt/fonts/#. Для просмотра списка доступных шрифтов: + +[source, shell] +.... +% ls /usr/share/vt/fonts +.... + +Обычно имя файла имеет формат `<имя>-<ширина>x<высота>`, где: + + - `<имя>` — это название шрифта. + - `<ширина>x<высота>` — это размер. + +man:vidfont[1] предоставляет интерактивное меню в текстовом пользовательском интерфейсе для выбора шрифта. Выполните следующую команду: + +[source, shell] +.... +% vidfont +.... + +В качестве альтернативы, man:vidcontrol[1] предоставляет интерфейс командной строки: `vidcontrol -f _шрифт_`. Пример для `spleen-32x64.fnt`: + +[source, shell] +.... +% vidcontrol -f spleen-32x64.fnt +.... + +[TIP] +==== +Совет: Вы можете опустить расширение _.fnt_ при указании имени файла. Например, чтобы загрузить `spleen-32x64.fnt`, используйте: + +[source, shell] +.... +% vidcontrol -f spleen-32x64 +.... +==== + +Настройки, заданные с помощью любого из этих инструментов, не сохраняются после перезагрузки. + +[[vt4-vidcontrol-font-rc]] +.Выберите шрифт для загрузки при каждом запуске. +[example] +==== +[.filename]#/etc/rc.conf# + +[.programlisting] +.... +allscreens_flags="-f spleen-32x64.fnt" + +.... +==== + +[[vt4-new-font]] +=== Новые шрифты + +Утилита man:vtfontcvt[8] позволяет преобразовать шрифт в формат .fnt для использования в виртуальном терминале. Преобразованный шрифт должен быть скопирован в [.filename]#/usr/share/vt/fonts/# и выбран, как описано ранее в разделе crossref:virtual-terminal[vt4-select-font, Выбор шрифта]. + +[[vt4-bell]] +== Bell + +Можно активировать звуковой сигнал терминала: + +[source, shell] +.... +# sysctl kern.vt.enable_bell=1 +.... + +Чтобы конфигурация сохранялась после перезагрузки, сохраните её в man:loader.conf[5] или man:sysctl.conf[5]. + +[[vt4-example-bell]] +.Активировать звуковой сигнал при каждой загрузке. +[example] +==== +Добавить в [.filename]#/boot/loader.conf# или [.filename]#/etc/sysctl.conf# + +[.programlisting] +.... +kern.vt.enable_bell=1 + +.... +==== diff --git a/documentation/content/ru/books/accessibility/virtual-terminal/_index.po b/documentation/content/ru/books/accessibility/virtual-terminal/_index.po new file mode 100644 index 0000000000..dd354a7c75 --- /dev/null +++ b/documentation/content/ru/books/accessibility/virtual-terminal/_index.po @@ -0,0 +1,879 @@ +# SOME DESCRIPTIVE TITLE +# Copyright (C) YEAR The FreeBSD Project +# This file is distributed under the same license as the FreeBSD Documentation package. +# Vladlen Popolitov , 2026. +msgid "" +msgstr "" +"Project-Id-Version: FreeBSD Documentation VERSION\n" +"POT-Creation-Date: 2026-02-22 15:58+0000\n" +"PO-Revision-Date: 2026-03-09 18:11+0000\n" +"Last-Translator: Vladlen Popolitov \n" +"Language-Team: Russian \n" +"Language: ru\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && " +"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" +"X-Generator: Weblate 4.17\n" + +#. type: YAML Front Matter: description +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:1 +#, no-wrap +msgid "Available features in the virtual console useful for accessibility" +msgstr "" +"Доступные возможности в виртуальной консоли, полезные для обеспечения " +"доступности" + +#. type: YAML Front Matter: part +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:1 +#, no-wrap +msgid "Part II. Vision" +msgstr "Часть II. Зрение" + +#. type: YAML Front Matter: title +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:1 +#, no-wrap +msgid "Chapter 2. Virtual Terminal" +msgstr "Глава 2. Виртуальный терминал" + +#. type: Title = +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:15 +#, no-wrap +msgid "Virtual Terminal" +msgstr "Виртуальный терминал" + +#. type: Title == +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:53 +#, no-wrap +msgid "Introduction" +msgstr "Введение" + +#. type: Plain text +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:58 +msgid "" +"Virtual Terminal, commonly referenced and documented as man:vt[4] is the " +"system's built-in extref:{handbook}ports[virtual console]. It is installed " +"by default, provides a command-line interface, and starts automatically at " +"boot. This chapter presents an overview and examples of key features and " +"utilities relevant to visual accessibility." +msgstr "" +"Виртуальный терминал, обычно упоминаемый и документированный как man:vt[4], " +"является встроенной в систему extref:{handbook}ports[виртуальной консолью]. " +"Он устанавливается по умолчанию, предоставляет интерфейс командной строки и " +"запускается автоматически при загрузке. В этой главе представлен обзор и " +"примеры ключевых функций и утилит, связанных с визуальной доступностью." + +#. type: Title == +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:60 +#, no-wrap +msgid "Colors" +msgstr "Цвета" + +#. type: Plain text +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:63 +msgid "" +"The Virtual Terminal supports color configuration both via configuration " +"files and interactively through a dedicated utility." +msgstr "" +"Виртуальный терминал поддерживает настройку цвета как через конфигурационные " +"файлы, так и интерактивно с помощью специальной утилиты." + +#. type: Title === +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:65 +#, no-wrap +msgid "Loader.conf" +msgstr "Loader.conf" + +#. type: Plain text +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:70 +msgid "" +"Colors can be set and saved using the man:loader.conf[5] file. To change a " +"default color, add a line in the following format: " +"`kern.vt.color._colornum_.rgb=\"_colorspec_\"`, where:" +msgstr "" +"Цвета могут быть установлены и сохранены с помощью файла man:loader.conf[5]. " +"Чтобы изменить цвет по умолчанию, добавьте строку в следующем формате: `kern." +"vt.color._colornum_.rgb=\"_colorspec_\"`, где:" + +#. type: Plain text +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:72 +msgid "" +"`_colornum_` is the numeric identifier of the color to be customized (see " +"the table below)." +msgstr "" +"`_colornum_` — это числовой идентификатор цвета, который можно настроить (" +"см. таблицу ниже)." + +#. type: Plain text +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:73 +msgid "" +"`_colorspec_` is a specification of the color, either as a comma-separated " +"RGB triplet (red, green, and blue, each value from 0 to 255) or as an " +"HTML-style hexadecimal value." +msgstr "" +"`_colorspec_` — это спецификация цвета, представленная либо в виде " +"разделённого запятыми RGB-триплета (красный, зелёный и синий, каждое " +"значение от 0 до 255), либо в виде шестнадцатеричного значения в стиле HTML." + +#. type: Block title +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:74 +#, no-wrap +msgid "" +"Default palette: Color, color number, default color in rgb, default color in " +"html." +msgstr "" +"Палитра по умолчанию: цвет, номер цвета, цвет по умолчанию в rgb, цвет по " +"умолчанию в html." + +#. type: Table +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:77 +#, no-wrap +msgid "Color" +msgstr "Цвет" + +#. type: Table +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:77 +#, no-wrap +msgid "_colornum_" +msgstr "_colornum_" + +#. type: Table +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:77 +#, no-wrap +msgid "default _colorspec_ RGB" +msgstr "_colorspec_ по умолчанию в RGB" + +#. type: Table +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:79 +#, no-wrap +msgid "default _colorspec_ html" +msgstr "_colorspec_ по умолчанию в html" + +#. type: Table +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:80 +#, no-wrap +msgid "Black" +msgstr "Черный (black)" + +#. type: Table +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:81 +#, no-wrap +msgid "0" +msgstr "0" + +#. type: Table +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:82 +#, no-wrap +msgid "0,0,0" +msgstr "0,0,0" + +#. type: Table +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:84 +#, no-wrap +msgid "#000000" +msgstr "#000000" + +#. type: Table +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:85 +#, no-wrap +msgid "Dark red" +msgstr "Темно-красный (dark red)" + +#. type: Table +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:86 +#, no-wrap +msgid "1" +msgstr "1" + +#. type: Table +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:87 +#, no-wrap +msgid "127,0,0" +msgstr "127,0,0" + +#. type: Table +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:89 +#, no-wrap +msgid "#7f0000" +msgstr "#7f0000" + +#. type: Table +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:90 +#, no-wrap +msgid "Dark green" +msgstr "Темно-зеленый (dark green)" + +#. type: Table +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:91 +#, no-wrap +msgid "2" +msgstr "2" + +#. type: Table +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:92 +#, no-wrap +msgid "0,127,0" +msgstr "0,127,0" + +#. type: Table +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:94 +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:134 +#, no-wrap +msgid "#00ff00" +msgstr "#00ff00" + +#. type: Table +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:95 +#, no-wrap +msgid "Dark yellow" +msgstr "Темно-желтый (dark yellow)" + +#. type: Table +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:96 +#, no-wrap +msgid "3" +msgstr "3" + +#. type: Table +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:97 +#, no-wrap +msgid "196,161,0" +msgstr "196,161,0" + +#. type: Table +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:99 +#, no-wrap +msgid "#c4a100" +msgstr "#c4a100" + +#. type: Table +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:100 +#, no-wrap +msgid "Dark blue" +msgstr "Темно-синий (dark blue)" + +#. type: Table +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:101 +#, no-wrap +msgid "4" +msgstr "4" + +#. type: Table +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:102 +#, no-wrap +msgid "51,102,163" +msgstr "51,102,163" + +#. type: Table +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:104 +#, no-wrap +msgid "#3366a3" +msgstr "#3366a3" + +#. type: Table +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:105 +#, no-wrap +msgid "Dark magenta" +msgstr "Тёмный пурпурный (dark magenta)" + +#. type: Table +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:106 +#, no-wrap +msgid "5" +msgstr "5" + +#. type: Table +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:107 +#, no-wrap +msgid "127,0,127" +msgstr "127,0,127" + +#. type: Table +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:109 +#, no-wrap +msgid "#7f007f" +msgstr "#7f007f" + +#. type: Table +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:110 +#, no-wrap +msgid "Dark cyan" +msgstr "Темно-голубой (dark cyan)" + +#. type: Table +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:111 +#, no-wrap +msgid "6" +msgstr "6" + +#. type: Table +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:112 +#, no-wrap +msgid "0,127,127" +msgstr "0,127,127" + +#. type: Table +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:114 +#, no-wrap +msgid "#007f7f" +msgstr "#007f7f" + +#. type: Table +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:115 +#, no-wrap +msgid "Light gray" +msgstr "Светло-серый (light gray)" + +#. type: Table +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:116 +#, no-wrap +msgid "7" +msgstr "7" + +#. type: Table +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:117 +#, no-wrap +msgid "191,191,191" +msgstr "191,191,191" + +#. type: Table +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:119 +#, no-wrap +msgid "#bfbfbf" +msgstr "#bfbfbf" + +#. type: Table +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:120 +#, no-wrap +msgid "Dark gray" +msgstr "Темно-серый (dark gray)" + +#. type: Table +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:121 +#, no-wrap +msgid "8" +msgstr "8" + +#. type: Table +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:122 +#, no-wrap +msgid "115,130,138" +msgstr "115,130,138" + +#. type: Table +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:124 +#, no-wrap +msgid "#73828a" +msgstr "#73828a" + +#. type: Table +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:125 +#, no-wrap +msgid "Light red" +msgstr "Светло-красный (light red)" + +#. type: Table +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:126 +#, no-wrap +msgid "9" +msgstr "9" + +#. type: Table +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:127 +#, no-wrap +msgid "255,0,0" +msgstr "255,0,0" + +#. type: Table +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:129 +#, no-wrap +msgid "#ff0000" +msgstr "#ff0000" + +#. type: Table +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:130 +#, no-wrap +msgid "Light green" +msgstr "Светло-зеленый (light green)" + +#. type: Table +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:131 +#, no-wrap +msgid "10" +msgstr "10" + +#. type: Table +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:132 +#, no-wrap +msgid "0,255, 0" +msgstr "0,255, 0" + +#. type: Table +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:135 +#, no-wrap +msgid "Light yellow" +msgstr "Светло-желтый (light yellow)" + +#. type: Table +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:136 +#, no-wrap +msgid "11" +msgstr "11" + +#. type: Table +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:137 +#, no-wrap +msgid "255,255,0" +msgstr "255,255,0" + +#. type: Table +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:139 +#, no-wrap +msgid "#ffff00" +msgstr "#ffff00" + +#. type: Table +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:140 +#, no-wrap +msgid "Light blue" +msgstr "Светло-синий (light blue)" + +#. type: Table +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:141 +#, no-wrap +msgid "12" +msgstr "12" + +#. type: Table +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:142 +#, no-wrap +msgid "115,158,207" +msgstr "115,158,207" + +#. type: Table +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:144 +#, no-wrap +msgid "#739ecf" +msgstr "#739ecf" + +#. type: Table +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:145 +#, no-wrap +msgid "Light magenta" +msgstr "Светло-пурпурный (light magenta)" + +#. type: Table +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:146 +#, no-wrap +msgid "13" +msgstr "13" + +#. type: Table +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:147 +#, no-wrap +msgid "255,0,255" +msgstr "255,0,255" + +#. type: Table +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:149 +#, no-wrap +msgid "#ff00ff" +msgstr "#ff00ff" + +#. type: Table +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:150 +#, no-wrap +msgid "Light cyan" +msgstr "Светло-голубой (light cyan)" + +#. type: Table +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:151 +#, no-wrap +msgid "14" +msgstr "14" + +#. type: Table +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:152 +#, no-wrap +msgid "0,255,255" +msgstr "0,255,255" + +#. type: Table +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:154 +#, no-wrap +msgid "#00ffff" +msgstr "#00ffff" + +#. type: Table +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:155 +#, no-wrap +msgid "White" +msgstr "Белый (white)" + +#. type: Table +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:156 +#, no-wrap +msgid "15" +msgstr "15" + +#. type: Table +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:157 +#, no-wrap +msgid "255,255,255" +msgstr "255,255,255" + +#. type: Table +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:159 +#, no-wrap +msgid "#ffffff" +msgstr "#ffffff" + +#. type: Block title +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:162 +#, no-wrap +msgid "Set background in white, text in black, boot messages in red." +msgstr "" +"Установить белый фон, черный текст, сообщения при загрузке системы — красным " +"цветом." + +#. type: Plain text +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:166 +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:242 +msgid "[.filename]#/boot/loader.conf#" +msgstr "[.filename]#/boot/loader.conf#" + +#. type: delimited block . 4 +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:171 +#, no-wrap +msgid "" +"# Background black to white\n" +"kern.vt.color.0.rgb=\"255,255,255\"\n" +msgstr "" +"# Background black to white\n" +"kern.vt.color.0.rgb=\"255,255,255\"\n" + +#. type: delimited block . 4 +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:174 +#, no-wrap +msgid "" +"# Text light gray to black\n" +"kern.vt.color.7.rgb=\"0,0,0\"\n" +msgstr "" +"# Text light gray to black\n" +"kern.vt.color.7.rgb=\"0,0,0\"\n" + +#. type: delimited block . 4 +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:177 +#, no-wrap +msgid "" +"# Boot white to red\n" +"kern.vt.color.15.rgb=\"255,0,0\"\n" +msgstr "" +"# Boot white to red\n" +"kern.vt.color.15.rgb=\"255,0,0\"\n" + +#. type: Title === +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:182 +#, no-wrap +msgid "Vidcontrol" +msgstr "Vidcontrol" + +#. type: delimited block = 4 +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:186 +msgid "" +"The man:vidcontrol[1] utility allows you to configure colors interactively. " +"Use the `show` option to display the list of available colors:" +msgstr "" +"Утилита man:vidcontrol[1] позволяет интерактивно настраивать цвета. " +"Используйте опцию `show` для отображения списка доступных цветов:" + +#. type: delimited block . 4 +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:190 +#, no-wrap +msgid "% vidcontrol show\n" +msgstr "% vidcontrol show\n" + +#. type: Plain text +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:194 +msgid "" +"To set the foreground color, use `vidcontrol _color_`. For example, to set " +"the text color to green:" +msgstr "" +"Чтобы установить цвет переднего плана, используйте `vidcontrol _цвет_`. " +"Например, чтобы установить цвет текста зелёным:" + +#. type: delimited block . 4 +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:198 +#, no-wrap +msgid "% vidcontrol green\n" +msgstr "% vidcontrol green\n" + +#. type: Plain text +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:202 +msgid "" +"To set both foreground and background colors, use `vidcontrol _foreground_ " +"_background_`. For example, to set blue text on a green background:" +msgstr "" +"Чтобы установить как цвет переднего плана, так и цвет фона, используйте `" +"vidcontrol _передний_план_ _фон_`. Например, чтобы установить синий текст " +"на зелёном фоне:" + +#. type: delimited block . 4 +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:206 +#, no-wrap +msgid "% vidcontrol blue green\n" +msgstr "% vidcontrol blue green\n" + +#. type: Plain text +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:211 +msgid "" +"Configurations made with man:vidcontrol[1] are not persistent across " +"shutdown. To make the settings permanent, add the following line to " +"man:rc.conf[5]: `allscreens_flags=\"-c _foreground_ _background_\"`." +msgstr "" +"Настройки, выполненные с помощью man:vidcontrol[1], не сохраняются после " +"выключения. Чтобы сделать настройки постоянными, добавьте следующую строку в " +"man:rc.conf[5]: `allscreens_flags=\"-c _цвет_переднего_плана_ _цвет_фона_\"`." + +#. type: Block title +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:213 +#, no-wrap +msgid "Set blue foreground and green background." +msgstr "Установить синий цвет переднего плана и зелёный цвет фона." + +#. type: Plain text +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:217 +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:305 +msgid "[.filename]#/etc/rc.conf#" +msgstr "[.filename]#/etc/rc.conf#" + +#. type: delimited block . 4 +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:221 +#, no-wrap +msgid "allscreens_flags=\"-c blue green\"\n" +msgstr "allscreens_flags=\"-c blue green\"\n" + +#. type: Plain text +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:229 +msgid "" +"Setting allscreens_flags=\"-c _colors_\" in [.filename]#/etc/rc.conf# takes " +"effect after the system boots. To change the colors during the boot " +"process, edit [.filename]#/boot/loader.conf# as " +"crossref:virtual-terminal[vt4-colors-loader,previously described]." +msgstr "" +"Установка параметра `allscreens_flags=\"-c _colors_\"` в файле [.filename]#/" +"etc/rc.conf# вступает в силу после загрузки системы. Чтобы изменить цвета во " +"время процесса загрузки, отредактируйте файл [.filename]#/boot/loader.conf#, " +"как описано ранее в разделе crossref:virtual-terminal[vt4-colors-" +"loader,Loader.conf]." + +#. type: Title == +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:232 +#, no-wrap +msgid "Resolution" +msgstr "Разрешение экрана" + +#. type: delimited block = 4 +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:236 +msgid "" +"The `kern.vt.fb.default_mode=\"x\"` option in " +"man:loader.conf[5] allows you to configure the display resolution. " +"Technically, it specifies the display mode of the Virtual Terminal, allowing " +"you to control the size of elements displayed on the screen." +msgstr "" +"Параметр `kern.vt.fb.default_mode=\"<ширина>x<высота>\"` в man:loader.conf[5]" +" позволяет настроить разрешение экрана. Технически, он определяет режим " +"отображения виртуального терминала, позволяя управлять размером элементов, " +"отображаемых на экране." + +#. type: Block title +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:238 +#, no-wrap +msgid "Sets the width to 800 and the height to 600." +msgstr "Устанавливает ширину в 800 и высоту в 600." + +#. type: delimited block . 4 +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:246 +#, no-wrap +msgid "kern.vt.fb.default_mode=\"800x600\"\n" +msgstr "kern.vt.fb.default_mode=\"800x600\"\n" + +#. type: Title == +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:251 +#, no-wrap +msgid "Font" +msgstr "Шрифт" + +#. type: delimited block = 4 +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:254 +msgid "" +"Virtual Terminal allows you to configure the font in use, and the system " +"supports installing and utilizing additional fonts." +msgstr "" +"Виртуальный терминал позволяет настроить используемый шрифт, а система " +"поддерживает установку и использование дополнительных шрифтов." + +#. type: Title === +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:256 +#, no-wrap +msgid "Select a Font" +msgstr "Выбор шрифта" + +#. type: delimited block = 4 +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:260 +msgid "" +"The utilities man:vidfont[1] and man:vidcontrol[1] can load a font from " +"[.filename]#/usr/share/vt/fonts/#. To list the currently available fonts:" +msgstr "" +"Утилиты man:vidfont[1] и man:vidcontrol[1] могут загрузить шрифт из [." +"filename]#/usr/share/vt/fonts/#. Для просмотра списка доступных шрифтов:" + +#. type: delimited block . 4 +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:264 +#, no-wrap +msgid "% ls /usr/share/vt/fonts\n" +msgstr "% ls /usr/share/vt/fonts\n" + +#. type: Plain text +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:267 +msgid "Usually a file name has the format `-x`, where:" +msgstr "Обычно имя файла имеет формат `<имя>-<ширина>x<высота>`, где:" + +#. type: Plain text +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:269 +msgid "`` is the font name." +msgstr "`<имя>` — это название шрифта." + +#. type: Plain text +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:270 +msgid "`x` is the size." +msgstr "`<ширина>x<высота>` — это размер." + +#. type: Plain text +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:273 +msgid "" +"man:vidfont[1] provides an interactive menu in a Text User Interface to " +"select a font. Run the following command:" +msgstr "" +"man:vidfont[1] предоставляет интерактивное меню в текстовом пользовательском " +"интерфейсе для выбора шрифта. Выполните следующую команду:" + +#. type: delimited block . 4 +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:277 +#, no-wrap +msgid "% vidfont\n" +msgstr "% vidfont\n" + +#. type: Plain text +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:281 +msgid "" +"Alternatively, man:vidcontrol[1] provides a CLI, `vidcontrol -f _font_`. " +"Example for `spleen-32x64.fnt`:" +msgstr "" +"В качестве альтернативы, man:vidcontrol[1] предоставляет интерфейс командной " +"строки: `vidcontrol -f _шрифт_`. Пример для `spleen-32x64.fnt`:" + +#. type: delimited block . 4 +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:285 +#, no-wrap +msgid "% vidcontrol -f spleen-32x64.fnt\n" +msgstr "% vidcontrol -f spleen-32x64.fnt\n" + +#. type: delimited block = 4 +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:291 +msgid "" +"Tip: You can omit the _.fnt_ extension when specifying the file name. For " +"example, to load `spleen-32x64.fnt`, use:" +msgstr "" +"Совет: Вы можете опустить расширение _.fnt_ при указании имени файла. " +"Например, чтобы загрузить `spleen-32x64.fnt`, используйте:" + +#. type: delimited block . 4 +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:295 +#, no-wrap +msgid "% vidcontrol -f spleen-32x64\n" +msgstr "% vidcontrol -f spleen-32x64\n" + +#. type: delimited block = 4 +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:299 +msgid "Settings configured with either utility are not preserved after a reboot." +msgstr "" +"Настройки, заданные с помощью любого из этих инструментов, не сохраняются " +"после перезагрузки." + +#. type: Block title +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:301 +#, no-wrap +msgid "Select the font to load at each startup." +msgstr "Выберите шрифт для загрузки при каждом запуске." + +#. type: delimited block . 4 +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:309 +#, no-wrap +msgid "allscreens_flags=\"-f spleen-32x64.fnt\"\n" +msgstr "allscreens_flags=\"-f spleen-32x64.fnt\"\n" + +#. type: Title === +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:314 +#, no-wrap +msgid "New Fonts" +msgstr "Новые шрифты" + +#. type: delimited block = 4 +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:318 +msgid "" +"The man:vtfontcvt[8] utility allows you to convert a font into the .fnt " +"format for use in the Virtual Terminal. The converted font must be copied " +"to [.filename]#/usr/share/vt/fonts/# and selected as " +"crossref:virtual-terminal[vt4-select-font,previously described]." +msgstr "" +"Утилита man:vtfontcvt[8] позволяет преобразовать шрифт в формат .fnt для " +"использования в виртуальном терминале. Преобразованный шрифт должен быть " +"скопирован в [.filename]#/usr/share/vt/fonts/# и выбран, как описано ранее в " +"разделе crossref:virtual-terminal[vt4-select-font, Выбор шрифта]." + +#. type: Title == +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:320 +#, no-wrap +msgid "Bell" +msgstr "Bell" + +#. type: delimited block = 4 +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:323 +msgid "The terminal bell can be activated by:" +msgstr "Можно активировать звуковой сигнал терминала:" + +#. type: delimited block . 4 +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:327 +#, no-wrap +msgid "# sysctl kern.vt.enable_bell=1\n" +msgstr "# sysctl kern.vt.enable_bell=1\n" + +#. type: Plain text +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:330 +msgid "" +"To make the configuration persistent after reboot, save it in either " +"man:loader.conf[5] or man:sysctl.conf[5]." +msgstr "" +"Чтобы конфигурация сохранялась после перезагрузки, сохраните её в man:loader." +"conf[5] или man:sysctl.conf[5]." + +#. type: Block title +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:332 +#, no-wrap +msgid "Active the bell at each startup." +msgstr "Активировать звуковой сигнал при каждой загрузке." + +#. type: delimited block = 4 +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:338 +msgid "[.filename]#/boot/loader.conf# or [.filename]#/etc/sysctl.conf#" +msgstr "" +"Добавить в [.filename]#/boot/loader.conf# или [.filename]#/etc/sysctl.conf#" + +#. type: delimited block . 4 +#: documentation/content/en/books/accessibility/virtual-terminal/_index.adoc:342 +#, no-wrap +msgid "kern.vt.enable_bell=1\n" +msgstr "kern.vt.enable_bell=1\n"