.\" $Xorg: resize.man,v 1.3 2000/08/17 19:55:09 cpqbld Exp $ .\" .\" updated by Thomas E. Dickey for XFree86, Februrary 1998. .\" .\" 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 Tue Oct 27 22:03:11 JST 1998 .\" by Iwao Watanabe .\" FUJIWARA Teruyoshi .\" Updated Tue Oct 16 00:21:30 JST 2001 for XFree86 4.1.0 .\" by FUJIWARA Teruyoshi .\" .\" $XFree86: xc/programs/xterm/resize.man,v 1.9 2001/03/12 00:54:17 dickey Exp $ .TH RESIZE 1 "Version 4.1.0" "XFree86" .SH 名前 .\"0 resize \- set TERMCAP and terminal settings to current xterm window size resize - TERMCAPと端末の設定に現在のウィンドウの大きさを設定する .SH 書式 .B resize [ \fB\-u\fP | \fB\-c\fP ] [ \fB\-s\fP [ \fIrow col\fP ] ] .SH 説明 .\"0 .I Resize .\"0 prints a shell command for setting the TERM and TERMCAP environment variables .\"0 to indicate the current size of \fIxterm\fP window from which the command .\"0 is run. For this output to take effect, \fIresize\fP must either be evaluated .\"0 as part of the command line (usually done with a shell alias or function) or .\"0 else redirected to a file which can then be read in. From the C shell (usually .\"0 known as \fI/bin/csh\fP), the following alias could be defined in the .\"0 user's \fI.cshrc\fP: .I resize は、コマンドが実行されたウィンドウの現在のサイズの値を環境変数 TERMや TERMCAP に設定するためのシェルのコマンドを出力する。 \fIresize\fP の出力に効果を持たせるためには、コマンド行から評価させる か(通常はシェルのエイリアスかシェル関数で行う)、あるいはファイルに リダイレクトしたてからそれを読み込ませる必要がある。 Cシェル (\fI/bin/csh\fP)の場合は、ユーザの \fI.cshrc\fP ファイルで 次のエイリアスを定義しておくとよいだろう。 .sp .nf % alias rs 'set noglob; eval \fC`\fPresize\fC`\fP' .fi .sp .\"0 After resizing the window, the user would type: そして、ウィンドウの大きさを起動した後に .sp .nf % rs .fi .sp とタイプするとよい。 .sp .\"0 Users of versions of the Bourne shell (usually known as \fI/bin/sh\fP) that .\"0 don't have command .\"0 functions will need to send the output to a temporary file and the read it back .\"0 in with the ``.'' command: コマンド機能を持たないバージョンの Bourne シェル(\fI/bin/sh\fP)を使っ ている場合には、次に示すように、一度テンポラリファイルに結果を出力した 後にドットコマンド ``.'' でそれを読み戻すとよい。 .sp .nf $ resize > /tmp/out $ .\0/tmp/out .fi .SH オプション .\"0 The following options may be used with \fIresize\fP: \fIresize\fP では以下のオプションを扱える: .TP 8 .B \-u .\"0 This option indicates that Bourne shell commands should be generated even if .\"0 the user's current shell isn't \fI/bin/sh\fP. ユーザが現在使っているシェルが \fI/bin/sh\fP でない場合でも、Bourneシェ ル用のコマンドを生成するように指示する。 .TP 8 .B \-c .\"0 This option indicates that C shell commands should be generated even if the .\"0 user's current shell isn't \fI/bin/csh\fP. ユーザが現在使っているシェルが \fI/bin/csh\fP でない場合でも、Cシェル 用のコマンドを生成するように指示する。 .TP 8 .B \-s \fR[\fIrows columns\fP] .\"0 This option indicates that Sun console escape sequences will be used .\"0 instead of the VT100-style \fIxterm\fP escape codes. このオプションは、VT100 スタイルの \fIxterm\fP エスケープコードの代わ りに Sunの コンソールのエスケープシーケンスを使うように指示する。 .\"0 If \fIrows\fP and .\"0 \fIcolumns\fP are given, \fIresize\fP will ask the \fIxterm\fP to resize .\"0 itself. However, the window manager may choose to disallow the change. \fIrows\fP や \fIcolumns\fP が指定された場合、\fIresize\fP は \fIxterm\fP に大きさを変更するように要求する。ただし、 ウィンドウマネージャがそれを拒否することもある。 .sp .\"0 Note that the Sun console escape sequences are recognized .\"0 by XFree86 \fIxterm\fP and .\"0 by \fIdtterm\fP. XFree86 の \fIxterm\fP や \fIdtterm\fP は Sun のコンソールのエスケープ シーケンスを認識できる点に注意すること。 .\"0 The \fIresize\fP program may be installed as \fIsunsize\fP, .\"0 which causes makes it assume the \fB\-s\fP option. \fIresize\fP コマンドは \fIsunsize\fP という名前でインストール されることがある。 これは \fB\-s\fP を指定した場合と同じ動作をする。 .sp .\"0 The \fIrows\fP and .\"0 \fIcolumns\fP arguments must appear last; though they are normally .\"0 associated with the \fB\-s\fP option, they are parsed separately. 引き数 \fIrows\fP と \fIcolumns\fPは、最後の引き数として指定しなければなら ない。このオプションは通常 \fB\-s\fP オプションと一緒に使われるが、 引き数の展開は別々に行われる。 .SH ファイル .TP 15 /etc/termcap .\"0 for the base termcap entry to modify. 変更の対象となる基本の termcap エントリが書かれているファイル。 .TP 15 ~/.cshrc .\"0 user's alias for the command. コマンドに対するユーザのエイリアスを記述する。 .SH 関連項目 csh(1), tset(1), xterm(1) .SH 著者 Mark Vandevoorde (MIT-Athena), Edward Moy (Berkeley) .br Copyright (c) 1984, 1985 by X Consortium .br .\"0 See .\"0 .IR X (7) .\"0 for a complete copyright notice. 完全な著作権表示については .IR X (7) を参照すること。