.\" $Xorg: xwd.man,v 1.3 2000/08/17 19:55:14 cpqbld Exp $ .\" Copyright 1988, 1994, 1998 The Open Group .\" .\" All Rights Reserved. .\" .\" 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 .\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. .\" IN NO EVENT SHALL THE OPEN GROUP 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 Open Group 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 Open Group. .\" .\" 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 Thu Oct 15 21:08:29 JST 1998 .\" by FUJIWARA Teruyoshi .\" Updated Mon Oct 22 23:47:07 JST 2001 for XFree86 4.1.0 .\" by FUJIWARA Teruyoshi .\" .\" $XFree86: xc/programs/xwd/xwd.man,v 1.7 2001/01/27 18:21:25 dawes Exp $ .\" .TH XWD 1 "Release 6.5" "X Version 11" .SH 名前 .\"0 xwd - dump an image of an X window xwd - X のウィンドウイメージをダンプする .SH 書式 .B "xwd" [-debug] [-help] [-nobdrs] [-out \fIfile\fP] [-xy] [-frame] [-add \fIvalue\fP] [-root | -id \fIid\fP | -name \fIname\fP ] [-icmap] [-screen] [-display \fIdisplay\fP] .SH 説明 .PP .\"0 .I Xwd .\"0 is an X Window System window dumping utility. .I xwd は、X ウィンドウシステムのウィンドウをダンプするユーティリティである。 .\"0 .I Xwd .\"0 allows X users to store window images in a specially formatted dump .\"0 file. This file can then be read by various other X utilities for .\"0 redisplay, printing, editing, formatting, archiving, image processing, etc. ユーザは .I xwd を使って、ウィンドウのイメージを専用フォーマットのダンプファイルに格納 することができる。このファイルは、さまざまな X のユーティリティを使っ て再表示、印刷、編集、整形、アーカイブ、画像処理等に使うことができる。 .\"0 The target window is selected by clicking the pointer in the desired window. 対象のウィンドウは、そのウィンドウ内でポインタをクリックすることによっ て選択できる。 .\"0 The keyboard bell is rung once at the beginning of the dump and twice when .\"0 the dump is completed. キーボードのベルがダンプの開始時に一度鳴り、ダンプが終了したときにもう 一度鳴る。 .SH オプション .PP .TP 8 .B "-display \fIdisplay\fP" .\"0 This argument allows you to specify the server to connect to; see \fIX(7)\fP. この引き数を使って、接続する X サーバを指定することができる。 \fIX(7)\fP を参照すること。 .PP .TP 8 .B "-help" .\"0 Print out the `Usage:' command syntax summary. コマンドの文法の概略を出力する。 .PP .TP 8 .B "-nobdrs" .\"0 This argument specifies that the window dump should not include the .\"0 pixels that compose the X window border. This is useful in situations .\"0 where you may wish to include the window contents in a document .\"0 as an illustration. この引き数は、ダンプに X のウィンドウの境界を構成するピクセルが含まれな いように指定するものである。これはウィンドウの表示内容を文書中に挿絵と して入れる場合に便利である。 .PP .TP 8 .B "-out \fIfile\fP" .\"0 This argument allows the user to explicitly specify the output .\"0 file on the command line. The default is to output to standard out. この引き数を使うと、出力ファイル名をコマンド行から指定できる。デフォ ルトでは標準出力に出力される。 .PP .TP 8 .B "-xy" .\"0 This option applies to color displays only. It selects `XY' format dumping .\"0 instead of the default `Z' format. このオプションはカラーディスプレイにのみ適用される。デフォルトの `Z' フォーマットではなく、`XY' フォーマットでダンプを行うことを指定する。 .PP .TP 8 .B "-add \fIvalue\fP" .\"0 This option specifies an signed value to be added to every pixel. このオプションは各ピクセルに加える符号付きの値を指定する。 .PP .TP 8 .B "-frame" .\"0 This option indicates that the window manager frame should be included when .\"0 manually selecting a window. このオプションを使うと、手動でウィンドウを選択する際に、ウィンドウマネー ジャのフレームの部分も対象となる。 .PP .TP 8 .B "-root" .\"0 This option indicates that the root window should be selected for the .\"0 window dump, without requiring the user to select a window with the pointer. このオプションはウィンドウダンプの対象として、ルートウィンドウを選択す ることを示す。この場合、ユーザがポインタでウィンドウを選択する必要はな い。 .PP .TP 8 .B "-id \fIid\fP" .\"0 This option indicates that the window with the specified resource id .\"0 should be selected for the window dump, without requiring the user to .\"0 select a window with the pointer. このオプションを使うと、指定したリソースIDを持つウィンドウがダンプの対 象として選択される。この場合、ユーザがポインタでウィンドウを選択する必 要はない。 .PP .TP 8 .B "-name \fIname\fP" .\"0 This option indicates that the window with the specified WM_NAME property .\"0 should be selected for the window dump, without requiring the user to .\"0 select a window with the pointer. このオプションを使うと、指定した WM_NAME プロパティを持つウィンドウが ダンプの対象として選択される。この場合、ユーザがポインタでウィンドウを 選択する必要はない。 .PP .TP 8 .B "-icmap" .\"0 Normally the colormap of the chosen window is used to obtain RGB values. .I xwd は通常、選択したウィンドウのカラーマップを使って RGB 値を取得する。 .\"0 This option forces the first installed colormap of the screen to be used .\"0 instead. このオプションを指定した場合、その代わりにスクリーンに最初にインストー ルされたカラーマップが使われる。 .PP .TP 8 .B "-screen" .\"0 This option indicates that the GetImage request used to obtain the image .\"0 should be done on the root window, rather than directly on the specified .\"0 window. In this way, you can obtain pieces of other windows that overlap .\"0 the specified window, and more importantly, you can capture menus or other .\"0 popups that are independent windows but appear over the specified window. このオプションを使うと、イメージを取得するための GetImage リクエストは、 指定したウィンドウに対して直接ではなくルートウィンドウに対して出される。 これを使うことで、指定したウィンドウに重なっている他のウィンドウの一部 を取得することができる。さらに重要な効果として、指定したウィンドウの上 に現れているが独立のウィンドウであるメニューやポップアップを取得するこ ともできる。 .PP .TP 8 .B "-silent" .\"0 Operate silently, i.e. don't ring any bells before and after dumping .\"0 the window. 静かに動作することを指示する。つまり、ウィンドウのダンプの前後にベルを 鳴らさない。 .SH 環境変数 .PP .TP 8 .B DISPLAY .\"0 To get default host and display number. デフォルトのホストとディスプレイ番号を取得する。 .SH ファイル .PP .TP 8 .B XWDFile.h .\"0 X Window Dump File format definition file. X ウィンドウのダンプファイルフォーマットの定義ファイル。 .SH 関連項目 xwud(1), xpr(1), X(7) .SH 著者 Tony Della Fera, Digital Equipment Corp., MIT Project Athena .br William F. Wyatt, Smithsonian Astrophysical Observatory