diff options
author | Olav Vitters <olav@vitters.nl> | 2020-07-30 22:10:35 +0200 |
---|---|---|
committer | Olav Vitters <olav@vitters.nl> | 2020-07-30 22:10:35 +0200 |
commit | a5c52c00c16be69e14360222520129d30f76e042 (patch) | |
tree | d44ff9f87b2985ead827c72c55b5aaee23c5dd10 /man-mageia/ru/consoletype.1 | |
parent | 817ca842f086f7290f183720539834263c2f1afe (diff) | |
download | initscripts-a5c52c00c16be69e14360222520129d30f76e042.tar initscripts-a5c52c00c16be69e14360222520129d30f76e042.tar.gz initscripts-a5c52c00c16be69e14360222520129d30f76e042.tar.bz2 initscripts-a5c52c00c16be69e14360222520129d30f76e042.tar.xz initscripts-a5c52c00c16be69e14360222520129d30f76e042.zip |
Align Makefile and tree structure with upstream tree structure
Instead of placing the custom files with the upstream files it seems
clearer to have them mostly separated. This makes it easier to see which
parts are custom and which parts are more or less upstream.
As a result the upstream Makefile only needed minor changes to
accomodate this. The Makefile is NOT bug free, unfortunately it doesn't
always do the right thing, this due to inexperience.
Diffstat (limited to 'man-mageia/ru/consoletype.1')
-rw-r--r-- | man-mageia/ru/consoletype.1 | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/man-mageia/ru/consoletype.1 b/man-mageia/ru/consoletype.1 new file mode 100644 index 00000000..b471df77 --- /dev/null +++ b/man-mageia/ru/consoletype.1 @@ -0,0 +1,29 @@ +.TH CONSOLETYPE 1 "Red Hat, Inc" "RH" \" -*- nroff -*- +.SH НАЗВАНИЕ +.B consoletype +\- отображает тип консоли, подключенной к стандартному вводу +.SH СИНТАКСИС +.B consoletype +.SH ОПИСАНИЕ +.B consoletype +отображает тип консоли, подключенной к стандартному вводу. Он выводит +.I vt +если консоль является виртуальным терминалом (устройство /dev/tty* или /dev/console, если не на последовательной консоли), +.I serial +если стандартным вводом является последовательная консоль (/dev/console или /dev/ttyS*) и +.I pty +если стандартный ввод является псевдотерминалом. +.SH ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ +.B consoletype возвращает +.TP +.I 0 +если на виртуальном терминале +.TP +.I 1 +если на последовательной консоли +.TP +.I 2 +если на псевдотерминале. +.SH ПЕРЕВОД +Павел Марьянов acid_jack@ukr.net + |