.\" $Xorg: xkbcomp.man,v 1.3 2000/08/17 19:54:33 cpqbld Exp $ .\" .\" .\" .\" .\" $XFree86: xc/programs/xkbcomp/xkbcomp.man,v 1.9 2001/01/27 18:21:16 dawes Exp $ .\" .\" Copyright (c) 1998, 2001 The X Japanese Documentation Project. .\" .\" Permission is hereby granted, free of charge, to any person obtaining a .\" copy of this software and associated documentation files (the .\" "Software"), to deal in the Software without restriction, including .\" without limitation the rights to use, copy, modify, merge, publish, dis- .\" tribute, sublicense, and/or sell copies of the Software, and to permit .\" persons to whom the Software is furnished to do so, subject to the fol- .\" lowing conditions: .\" .\" The above copyright notice and this permission notice shall be included .\" in all copies or substantial portions of the Software. .\" .\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS .\" OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABIL- .\" ITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT .\" SHALL THE X JAPANESE DOCUMENTATION PROJECT BE LIABLE FOR ANY CLAIM, .\" DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR .\" OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR .\" THE USE OR OTHER DEALINGS IN THE SOFTWARE. .\" .\" Except as contained in this notice, the name of The X Japanese .\" Documentation Project shall not be used in advertising or otherwise to .\" promote the sale, use or other dealings in this Software without prior .\" written authorization from The X Japanese Documentation Project. .\" .\" X Window System is a trademark of The Open Group. .\" .\" Translated Mon Nov 2 21:54:53 JST 1998 .\" by FUJIWARA Teruyoshi .\" Updated Sun Oct 21 13:10:16 JST 2001 for XFree86 4.1.0 .\" by FUJIWARA Teruyoshi .\" .\" WORD: keyboard description キーボード記述 .\" .TH XKBCOMP 1 "Release 6.5" "X Version 11" .SH 名前 .\"0 xkbcomp \- compile XKB keyboard description xkbcomp \- XKB のキーボード記述のコンパイル .SH 書式 .B xkbcomp [option] source [ destination ] .SH 説明 .PP .\"0 The .\"0 .I xkbcomp .\"0 keymap compiler converts a description of an XKB keymap into one of several .\"0 output formats. The most common use for xkbcomp is to create a compiled .\"0 keymap file (.xkm extension) which can be read directly by XKB-capable X .\"0 servers or utilities. The keymap compiler can also produce C header .\"0 files or XKB source files. The C header files produced by xkbcomp can be .\"0 included by X servers or utilities that need a built-in default keymap. .I xkbcomp キーマップコンパイラは、XKB キーマップの記述をいくつかの出力フォーマッ トのいずれかに変換する。xkbcomp の最も一般的な使い方は、コンパイルされ たキーマップファイル(拡張子は .xkm)を生成することである。XKB 対応の X サーバやユーティリティは、このファイルを直接読み込むことができる。キー マップコンパイラを使って C のヘッダファイルや XKB ソースファイルを作る こともできる。xkbcomp で作った C のヘッダファイルは、X サーバや組み込 みのデフォルトキーマップを必要とするユーティリティからインクルードする ことができる。 .\"0 The XKB source files produced by \fIxkbcomp\fP are fully resolved and can be .\"0 used to verify that the files which typically make up an XKB keymap .\"0 are merged correctly or to create a single file which contains a complete .\"0 description of the keymap. \fIxkbcomp\fP で生成した XKB のソースファイルは完全に解決され、通常 XKB キーマップを構成するファイルが正しくマージされたことを調べるためや、 キーマップの完全な記述を含む1つのファイルを作るために用いることができ る。 .PP .\"0 The \fIsource\fP may specify an X display, or an \fI.xkb\fP or .\"0 \fI.xkm\fP file; unless explicitly specified, the format of \fIdestination\fP .\"0 depends on the format of the source. Compiling a \fI.xkb\fP (keymap source) .\"0 file generates a \fI.xkm\fP (compiled keymap file) by default. If the .\"0 source is a \fI.xkm\fP file or an X display, \fIxkbcomp\fP generates a .\"0 keymap source file by default. \fIsource\fP には X のディスプレイや \fI.xkb\fP ファイル、\fI.xkm\fP ファイルを指定することができる。明示的に指定しない限り、 \fIdestination\fP のフォーマットはソースのフォーマットによって決まる。 デフォルトでは \fI.xkb\fP ファイル(キーマップのソース)をコンパイルする と \fI.xkm\fP ファイル(コンパイルされたキーマップファイル)が生成される。 ソースが \fI.xkm\fP か X のディスプレイの場合には、\fIxkbcomp\fP はデ フォルトではキーマップのソースファイルを生成する。 .PP .\"0 If the \fIdestination\fP is an X display, the keymap for the display .\"0 is updated with the compiled keymap. \fIdestination\fP が X のディスプレイならば、このディスプレイに対する キーマップはコンパイルされたキーマップに更新される。 .PP .\"0 The name of the \fIdestination\fP is usually computed from the name .\"0 of the source, with the extension replaced as appropriate. When compiling .\"0 a single map from a file which contains several maps, \fIxkbcom\fP constructs .\"0 the destination file name by appending an appropriate extension to the .\"0 name of the map to be used. 通常、\fIdestination\fP の名前はソースの名前の拡張子を適切に置換して決 める。複数のマップを含むファイルから1つのマップをコンパイルする際には、 \fIxkbcom\fP は使用するマップの名前に適切な拡張子を追加して出力先のファ イルの名前を作る。 .SH オプション .TP 8 .B \-a .\"0 Show all keyboard information, reporting implicit or derived information .\"0 as a comment. Only affects \fI.xkb\fP format output. 全てのキーボード情報を表示し、暗黙の情報と派生的に得られた情報をコメン トとしてレポートする。このオプションは \fI.xkb\fP フォーマットの出力に しか影響しない。 .TP 8 .B \-C .\"0 Produce a C header file as output (.h extension). C のヘッダファイルを出力する(拡張子 .h)。 .TP 8 .B \-dflts .\"0 Compute defaults for any missing components, such as key names. 任意の欠けている要素(キーの名前等)に対するデフォルト値を計算する。 .TP 8 .B \-I\fIdir\fP .\"0 Specifies top-level directories to be searched for files included by the .\"0 keymap description. キーマップ記述にインクルードされるファイルを検索するトップレベルのディ レクトリを指定する。 .TP 8 .B \-l .\"0 List maps that specify the \fImap\fP pattern in any files listed on the .\"0 command line (not implemented yet). コマンド行に列挙された任意のファイル中の \fImap\fP パターンを指定 するマップを列挙する(このオプションは未実装である)。 .TP 8 .B \-m\ \fIname\fP .\"0 Specifies a map to be compiled from an file with multiple entries. 複数エントリを持つファイルからコンパイルされるマップを指定する。 .TP 8 .B \-merge .\"0 Merge the compiled information with the map from the server (not implemented .\"0 yet). コンパイルされた情報をサーバから得たマップとマージする(このオプション は未実装である)。 .TP 8 .B \-o\ \fIname\fP .\"0 Specifies a name for the generated output file. The default is the name of .\"0 the source file with an appropriate extension for the output format. 生成される出力ファイルの名前を指定する。デフォルト値はソースの名前の拡 張子を出力されるフォーマットに合わせて置き換えたものである。 .TP 8 .B \-opt\ \fIparts\fP .\"0 Specifies a list of optional parts. Compilation errors in any optional parts .\"0 are not fatal. Parts may consist of any combination of the letters \fIc\fP, .\"0 \fIg\fP,\fIk\fP,\fIs\fP,\fIt\fP which specify the compatibility map, geometry, .\"0 keycodes, symbols and types, respectively. オプション部分のリストを指定する。オプション部分におけるコンパイルエラー は致命的なものではない。引き数 parts は、文字 \fIc\fP,\fIg\fP,\fIk\fP,\fIs\fP,\fIt\fP の組み合わせからなる。この文字 はそれぞれ互換マップ、ジオメトリ、キーコード、シンボル、タイプを示す。 .TP 8 .B -R\fIdir\fP .\"0 Specifies the root directory for relative path names. 相対パス名のルートディレクトリを指定する。 .TP 8 .B -synch .\"0 Force synchonization for X requests. X のリクエストを強制的に同期させる。 .TP 8 .B \-w\ \fIlvl\fP .\"0 Controls the reporting of warnings during compilation. A warning level .\"0 of 0 disables all warnings; a warning level of 10 enables them all. コンパイル時の警告の通知を制御する。警告レベル0ならば、全ての警告は無 視される。警告レベル10ならば、全ての警告が通知される。 .TP 8 .B \-xkb .\"0 Generate a source description of the keyboard as output (.xkb extension). キーボード記述を出力として生成する(拡張子 .xkb)。 .TP 8 .B \-xkm .\"0 Generate a compiled keymap file as output (.xkm extension). コンパイルされたキーマップを出力として生成する(拡張子 .xkm)。 .SH 関連項目 X(7) .SH 著作権 Copyright 1994, Silicon Graphics Computer Systems and X Consortium, Inc. .br .\"0 See \fIX(7)\fP for a full statement of rights and permissions. 権利と許諾に関する正式な声明については \fIX(7)\fP を参照すること。 .SH 著者 Erik Fortune, Silicon Graphics