aboutsummaryrefslogtreecommitdiff
path: root/ja_JP.eucJP/man/man1/script.1
diff options
context:
space:
mode:
authorHiroyuki Hanai <hanai@FreeBSD.org>1998-02-25 04:54:20 +0000
committerHiroyuki Hanai <hanai@FreeBSD.org>1998-02-25 04:54:20 +0000
commit8384f4bcfce51214ce5b2fa99a60d7db4e02363f (patch)
tree9a912a1c634d7df0309fe385710d13ec918f04cd /ja_JP.eucJP/man/man1/script.1
parentab973c72d17604d5e87846977f5228b5a042e631 (diff)
downloaddoc-8384f4bcfce51214ce5b2fa99a60d7db4e02363f.tar.gz
doc-8384f4bcfce51214ce5b2fa99a60d7db4e02363f.zip
Import Japanese Online Manuals.
The Japanese Manual team(man-jp@jp.FreeBSD.ORG) has translated and keeps maintaining them. Submitted by: Kazuo Horikawa <horikawa@isrd.hitachi.co.jp>
Notes
Notes: svn path=/head/; revision=2476
Diffstat (limited to 'ja_JP.eucJP/man/man1/script.1')
-rw-r--r--ja_JP.eucJP/man/man1/script.1118
1 files changed, 118 insertions, 0 deletions
diff --git a/ja_JP.eucJP/man/man1/script.1 b/ja_JP.eucJP/man/man1/script.1
new file mode 100644
index 0000000000..269af26086
--- /dev/null
+++ b/ja_JP.eucJP/man/man1/script.1
@@ -0,0 +1,118 @@
+.\" Copyright (c) 1980, 1990, 1993
+.\" The Regents of the University of California. All rights reserved.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\" notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\" notice, this list of conditions and the following disclaimer in the
+.\" documentation and/or other materials provided with the distribution.
+.\" 3. All advertising materials mentioning features or use of this software
+.\" must display the following acknowledgement:
+.\" This product includes software developed by the University of
+.\" California, Berkeley and its contributors.
+.\" 4. Neither the name of the University nor the names of its contributors
+.\" may be used to endorse or promote products derived from this software
+.\" without specific prior written permission.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+.\" SUCH DAMAGE.
+.\"
+.\" @(#)script.1 8.1 (Berkeley) 6/6/93
+.\" jpman %Id: script.1,v 1.2 1997/03/29 08:26:02 horikawa Stab %
+.\"
+.Dd June 6, 1993
+.Dt SCRIPT 1
+.Os BSD 4
+.Sh 名称
+.Nm script
+.Nd 端末上に表示したすべてのもののログをとる
+.Sh 書式
+.Nm
+.Op Fl a
+.Op Ar file
+.Sh 解説
+.Nm
+は、端末上に表示したすべてのもののログ (typescript) をとります。記録後に
+.Xr lpr 1
+で印刷することもできるので、
+学生の宿題の証明等で対話的セッションのハードコピー
+が必要なときなどには有効です。
+.Pp
+.Ar file
+が指定されていればそのファイルに、指定されていなければ
+.Pa typescript
+というファイル名で記録されます。
+.Pp
+オプションとしては以下のものがあります:
+.Bl -tag -width Ds
+.It Fl a
+.Ar file
+もしくは
+.Pa typescript
+がすでに存在している場合には、それに追加する形で記録していきます。
+.El
+.Pp
+.Nm
+は、フォークしたシェルを終了したとき (
+ボーン・シェル
+.Pf ( Xr sh 1 )
+なら
+.Em control-D
+で終了しますし、
+C シェル
+.Xr csh 1
+なら
+.Em exit ,
+.Em logout ,
+.Em control-D
+(
+.Em ignoreeof
+が設定されていない場合)
+で終了します
+) に記録を終わります。
+.Pp
+.Xr vi 1
+などのある種の対話コマンドでは、ログファイルにゴミが入る
+ことがあります。
+.Nm
+は、画面を操作しないようなコマンドについては、うまく動作します。
+出力結果はハードコピー端末のエミュレーションと言えるでしょう。
+.Sh 環境変数
+.Nm
+は次の環境変数を使用します:
+.Bl -tag -width SHELL
+.It Ev SHELL
+.Nm
+がフォークするシェルを指定します。
+.Ev SHELL
+が設定されていない場合はボーン・シェルが使われます。
+(ほとんどのシェルはこの変数を自動的に設定します)
+.El
+.Sh 関連項目
+.Xr csh 1
+(
+.Em history
+機能に関連)
+.Sh 歴史
+.Nm
+コマンドは
+.Bx 3.0
+から登場しました。
+.Sh バグ
+.Nm
+は、ログファイルにラインフィードやバックスペースも含め、
+.Sy なんでも
+記録
+します。このためユーザの期待したものと違うログになることもあります。