OSDN Git Service

fdd922bb769aa48a37ccbf455c4a73ff61b741e0
[linuxjm/LDP_man-pages.git] / draft / man4 / console.4
1 .\" Copyright (c) 1994 Andries Brouwer (aeb@cwi.nl), Mon Oct 31 21:03:19 MET 1994
2 .\"
3 .\" %%%LICENSE_START(GPLv2+_DOC_ONEPARA)
4 .\" This is free documentation; you can redistribute it and/or
5 .\" modify it under the terms of the GNU General Public License as
6 .\" published by the Free Software Foundation; either version 2 of
7 .\" the License, or (at your option) any later version.
8 .\" %%%LICENSE_END
9 .\"
10 .\" Modified, Sun Feb 26 14:58:45 1995, faith@cs.unc.edu
11 .\" "
12 .\"*******************************************************************
13 .\"
14 .\" This file was generated with po4a. Translate the source file.
15 .\"
16 .\"*******************************************************************
17 .TH CONSOLE 4 1994\-10\-31 Linux "Linux Programmer's Manual"
18 .SH 名前
19 console \- コンソール端末 (console terminal) と仮想コンソール (virtual console)
20 .SH 説明
21 A Linux system has up to 63 \fIvirtual consoles\fP (character devices with
22 major number 4 and minor number 1 to 63), usually called \fI/dev/ttyn\fP with 1
23 \(<= \fIn\fP \(<= 63.  The current console is also addressed by
24 \fI/dev/console\fP or \fI/dev/tty0\fP, the character device with major number 4
25 and minor number 0.  The device files \fI/dev/*\fP are usually created using
26 the script MAKEDEV, or using \fBmknod\fP(1), usually with mode 0622 and owner
27 \fIroot.tty\fP.
28 .LP
29 Before kernel version 1.1.54 the number of virtual consoles was compiled
30 into the kernel (in \fItty.h\fP: #define NR_CONSOLES 8)  and could be changed
31 by editing and recompiling.  Since version 1.1.54 virtual consoles are
32 created on the fly, as soon as they are needed.
33 .LP
34 コンソール上でプロセスを開始する一般的な方法は: (a) コンソール上で \fBmingetty\fP(8)  (または \fBagetty\fP(8))
35 をスタートさせることを (\fBinittab\fP(5)  の中で)  \fBinit\fP(8)  に伝える。 (b)
36 コンソール上でプロセスをスタートすることを \fBopenvt\fP(1)  に頼む。 (c) X を開始する \- X
37 は使われていないコンソールのうち最初のものを見付け、 そこに表示を出力する。(昔ながらの \fBdoshell\fP(8)  もある。)
38 .LP
39 コンソールを切り替える一般的な方法は: (a)コンソール \fIn\fP に切り替える ために Alt+F\fIn\fP または Ctrl+Alt+F\fIn\fP
40 を使う。 AltGr+F\fIn\fP を使うと、おそらくコンソール \fIn\fP+12 に切り替わる [ここでの Alt と AltGr はそれぞれ左右の
41 Alt キーを示す]。 (b) 現在割り当てられているコンソールを循環するために Alt + 右矢印キー または Alt + 左矢印キーを使う。(c)
42 \fBchvt\fP(1)  プログラムを使う (キーマッピングはユーザがセットできる、 \fBloadkeys\fP(1)  を見よ。
43 上で述べたキーバインドはデフォルトの設定によるものである)。
44 .LP
45 \fBdeallocvt\fP(1)  コマンド(以前は \fBdisalloc\fP という名前だった)は、 プロセスに結びつけられていないコンソールの
46 スクリーンバッファ (screen buffer) のために使われているメモリを解放する。
47 .SS 特性
48 コンソールは多くの状態をもっている。 私は、それについていつかドキュメントにしたいと考えている。 もっとも重要な事実はコンソールは vt100
49 端末を真似ている (シミュレートしている) ということである。 コンソールは ESC c という二つの文字を印字する事によって、
50 初期状態にリセットされる。 エスケープシーケンス (escape sequences) については \fBconsole_codes\fP(4)
51 で全て説明してある。
52 .SH ファイル
53 \fI/dev/console\fP
54 .br
55 \fI/dev/tty*\fP
56 .SH 関連項目
57 \fBchvt\fP(1), \fBdeallocvt\fP(1), \fBloadkeys\fP(1), \fBmknod\fP(1), \fBopenvt\fP(1),
58 \fBconsole_codes\fP(4), \fBconsole_ioctl\fP(4), \fBtty\fP(4), \fBttyS\fP(4),
59 \fBcharsets\fP(7), \fBagetty\fP(8), \fBinit\fP(8), \fBmapscrn\fP(8), \fBmingetty\fP(8),
60 \fBresizecons\fP(8), \fBsetfont\fP(8)
61 .SH この文書について
62 この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.52 の一部
63 である。プロジェクトの説明とバグ報告に関する情報は
64 http://www.kernel.org/doc/man\-pages/ に書かれている。