1 .\" Copyright (c) 1994 Andries Brouwer (aeb@cwi.nl), Mon Oct 31 21:03:19 MET 1994
3 .\" This is free documentation; you can redistribute it and/or
4 .\" modify it under the terms of the GNU General Public License as
5 .\" published by the Free Software Foundation; either version 2 of
6 .\" the License, or (at your option) any later version.
8 .\" Modified, Sun Feb 26 14:58:45 1995, faith@cs.unc.edu
10 .\" Japanese Version Copyright (c) 1996,1997,1998 ISHIKAWA Mutsumi
11 .\" all rights reserved.
12 .\" Translated Sun Jan 4 16:25:42 JST 1998
13 .\" by ISHIKAWA Mutsumi <ishikawa@linux.or.jp>
14 .\" Updated Wed Jan 9 JST 2002 by Kentaro Shirakata <argrath@ub32.org>
16 .\" WORD: console コンソール
19 .\" WORD: major number メジャーナンバー
20 .\" WORD: minor number マイナーナンバー
21 .\" WORD: character device キャラクターデバイス
22 .\" WORD: device file デバイスファイル
24 .\" WORD: compile コンパイル
25 .\" WORD: key mapping キーマッピング
26 .\" WORD: screen buffer スクリーンバッファ
27 .\" WORD: simulate シミュレート
28 .\" WORD: escape sequence エスケープシーケンス
29 .\" WORD: initial state 初期状態
31 .TH CONSOLE 4 1994-10-31 "Linux" "Linux Programmer's Manual"
33 console \- コンソール端末 (console terminal) と仮想コンソール (virtual console)
35 .\"O A Linux system has up to 63 \fIvirtual consoles\fP
36 .\"O (character devices with major number 4 and minor number 1 to 63),
37 .\"O usually called \fI/dev/tty\fP\fIn\fP with 1 \(<= \fIn\fP \(<= 63.
38 Linux システムは普通、\fI/dev/tty\fP\fIn\fP (n は 1 \(<= \fIn\fP \(<=
39 63) と呼ばれる\fI仮想コンソール\fP (メジャーナンバー (major number)
40 4 マイナーナンバー (minor number) 1 から 63 のキャラクターデバイス
41 (character device)) を持つ。
42 .\"O The current console is also addressed by
43 .\"O \fI/dev/console\fP or \fI/dev/tty0\fP, the character device with
44 .\"O major number 4 and minor number 0.
45 現在のコンソールは \fI/dev/console\fP または \fI/dev/tty0\fP (メジャー
46 ナンバー 4 マイナーナンバー 0 のキャラクターデバイス) によっても扱える。
47 .\"O The device files /dev/* are usually created using the script MAKEDEV,
50 .\"O usually with mode 0622 and owner root.tty.
51 デバイスファイル (device file) /dev/* は普通 MAKEDEV スクリプトまたは
53 を使ってモード 0622、所有者 root.tty として作成される。
55 カーネル (kernel) バージョン 1.1.54 以前は、仮想コンソールの数はコンパイル時に
56 (tty.h 中の : #define NR_CONSOLES 8 によって) カーネルに埋め込まれていた。
57 そして、それを変更してコンパイルし直すことで仮想コンソールの数を変更できた。
58 カーネルバージョン 1.1.54 以降では仮想コンソールが必要とされる時は
61 .\"O Common ways to start a process on a console are:
71 コンソール上でプロセスを開始する一般的な方法は:
83 .\"O to start a process on the console;
84 (b) コンソール上でプロセスをスタートすることを
87 .\"O (c) start X\(emit will find the first unused console,
88 .\"O and display its output there.
89 .\"O (There is also the ancient
90 .\"O .BR doshell (8).)
91 (c) X を開始する - X は使われていないコンソールのうち最初のものを見付け、
96 .\"O Common ways to switch consoles are: (a) use Alt+F\fIn\fP or
97 .\"O Ctrl+Alt+F\fIn\fP to switch to console \fIn\fP; AltGr+F\fIn\fP
98 .\"O might bring you to console \fIn\fP+12 [here Alt and AltGr refer
99 .\"O to the left and right Alt keys, respectively];
100 コンソールを切り替える一般的な方法は: (a)コンソール \fIn\fP に切り替える
101 ために Alt+F\fIn\fP または Ctrl+Alt+F\fIn\fP を使う。
102 AltGr+F\fIn\fP を使うと、おそらくコンソール \fIn\fP+12 に切り替わる
103 [ここでの Alt と AltGr はそれぞれ左右の Alt キーを示す]。
104 .\"O (b) use Alt+RightArrow or Alt+LeftArrow to cycle through
105 .\"O the presently allocated consoles; (c) use the program
107 .\"O (The key mapping is user settable, see
108 .\"O .BR loadkeys (1);
109 .\"O the above mentioned key combinations are according to the default settings.)
110 (b) 現在割り当てられているコンソールを循環するために Alt + 右矢印キー
111 または Alt + 左矢印キーを使う。(c)
117 上で述べたキーバインドはデフォルトの設定によるものである)。
120 .\"O .BR deallocvt (1)
121 .\"O (formerly \fBdisalloc\fP)
122 .\"O will free the memory taken by the screen buffers for consoles
123 .\"O that no longer have any associated process.
125 コマンド(以前は \fBdisalloc\fP という名前だった)は、
126 プロセスに結びつけられていないコンソールの
127 スクリーンバッファ (screen buffer) のために使われているメモリを解放する。
131 私は、それについていつかドキュメントにしたいと考えている。
132 もっとも重要な事実はコンソールは vt100 端末を真似ている
133 (シミュレートしている) ということである。
134 コンソールは ESC c という二つの文字を印字する事によって、
136 エスケープシーケンス (escape sequences) については
137 .BR console_codes (4)
149 .BR console_codes (4),
150 .BR console_ioctl (4),