RFC678 日本語訳
0678 Standard file formats. J. Postel. December 1974. (Format: TXT=12393 bytes) (Status: UNKNOWN)
プログラムでの自動翻訳です。
英語原文
Network Working Group J. Postel Request for Comments: 678 (SRI-ARC) NIC: 31524 19 December 1974
コメントを求めるワーキンググループJ.ポステルの要求をネットワークでつないでください: 678 (様アーク)NIC: 31524 1974年12月19日
Standard File Formats
標準ファイル形式
Introduction
序論
In an attempt to provide online documents to the network community we have had many problems with the physical format of the final documents. Much of this difficulty lies in the fact that we do not have control or even knowledge of all the processing steps or devices that act on the document file. A large part of the difficulty in the past has been due to some assumptions we made about the rest of the world being approximately like our own environment. We now see that the problems are due to differing assumptions and treatment of files to be printed as documents. We therefore propose to define certain standard formats for files and describe the expected final form for printed copies of such files.
オンラインドキュメントをネットワーク共同体に提供する試みでは、私たちは最終合意文書の物理的な形式に関する多くの問題を持っていました。 この困難の多くが私たちにはドキュメントファイルに影響するすべての処理ステップかデバイスに関するコントロールか知識さえないという事実にあります。 過去の困難のかなりの部分は私たちが私たち自身の環境のように周囲で他の国々に関して存在を作ったいくつかの仮定のためです。 私たちは、今、問題がファイルの異なった仮定と処理のドキュメントとして印刷されるためにはためであることがわかります。 したがって、私たちは、ファイルのためにある標準書式を定義して、印刷されたコピーのそのようなファイルのために予想された最終形態について説明するよう提案します。
These standard formats are not additional File Transfer Protocol data types/modes/structures, but rather usage descriptions between the originator and ultimate receiver of the file. It may be useful or even necessary at some hosts to construct programs that convert files between common local formats and the standard formats specified here.
これらの標準書式は追加File Transferプロトコルデータ型/モード/構造ではなく、むしろファイルの創始者と究極の受信機の間の用法記述です。 一般的な地方の形式と標準書式の間の転向者ファイルがここで指定したのが、役に立つか、または何人かのホストで構造物プログラムに必要でさえあるかもしれません。
The intent is that the author of a document may prepare his/her text and store it in an online file, then advertise that file by name and format (as specified here), such that interested individuals may copy and print the file with full understanding of the characteristics of the format controls and the logical page size.
意図はドキュメントの作者がその人のテキストを準備して、オンライン・ファイルにそれを保存して、次に、名前と形式(ここで指定されるとしての)でそのファイルの広告を出すかもしれないということです、関心がある個人が書式制御の特性と論理的なページ・サイズの十分な理解でファイルをコピーして、印刷できるように。
Standardization Elements
標準化要素
The elements or aspects of a file to be standardized are the character or code set used, the format control procedures, the area of the page to be used for text, and the method to describe overstruck or underlined characters.
標準化されるべきファイルの要素か局面が、使用されるキャラクタかコードセットです、書式制御手順、テキスト、およびoverstruckかアンダーラインを引かれたキャラクタについて説明するメソッドに使用されるべきページの領域。
The area of the page to be used for text can be confusing to discuss, in an attempt to be clear we define a physical page and a logical page. Please note that the main emphasis of this note is to describe the standard formats in terms of the logical page, and that it is up to each site to map the logical page onto the physical page of each of their devices.
テキストに使用されるべきページの領域は議論するために紛らわしい場合があります、私たちが物理的なページと論理的なページを定義するのが明確である試みで。 この注意の主な強調が論理的なページに関して標準書式について説明することであり、それぞれのそれらのデバイスの物理的なページに論理的なページを写像するのは各サイトまで達しています。
- 1 -
- 1 -
Standard File Formats Standardization Elements
標準のファイル形式標準化要素
Physical Page
物理的なページ
The physical page is the medium that carries the text, the height and width of its area are measured in inches.
物理的なページがテキストを載せる媒体である、領域の高さと幅はインチで測定されます。
The typical physical page is a piece of paper eleven inches high and eight and one half inches wide.
典型的な物理的なページは高さ11インチの、そして、幅8.5インチの紙の枚です。
Typical print density is 10 characters per inch horizontally and 6 characters per inch vertically. This results in the typical physical page having a maximum capacity of 66 lines and 85 characters per line. It is often the case that printing devices limit the area of the physical page by enforcing margins.
典型的な印刷密度は水平と1インチあたり6つのキャラクタに垂直に1インチあたり10のキャラクタです。 これは1系列あたり66の系列と85のキャラクタの最大能力を持っている典型的な物理的なページをもたらします。 しばしば、印刷デバイスは、マージンを実施することによって、物理的なページの領域を制限します。
Logical Page
論理的なページ
The logical page is the area that can contain text, the height of this area is measured in lines and the width is measured in characters.
論理的なページはテキストを含むことができる領域です、そして、この領域の高さは系列で測定されます、そして、幅はキャラクタで測定されます。
A typical logical page is 60 lines high and 72 characters wide.
典型的な論理的なページは60が広い状態で高値と72のキャラクタを裏打ちするということです。
Code Set
コードセット
The character encoding will be the network standard Network Virtual Terminal (NVT) code as used in Telnet and File Transfer protocols, that is ASCII in an eight bit byte with the high order bit zero.
文字符号化はネットワークの標準のNetwork Virtual Terminalになるでしょう高位のビットがある8ビットのバイトにおけるTelnetで使用されるコードとすなわち、File Transferプロトコル、ASCIIが合っているゼロ(NVT)。
Format Control
書式制御
The format will be controlled by the ASCII format effectors:
形式はASCII書式制御文字によって制御されるでしょう:
Form Feed <FF>
改ページ<ff>。
Moves the printer to the top of the next logical page keeping the same horizontal position.
プリンタを同じ水平な位置を保つ次の論理的なページの上部に動かします。
Carriage Return <CR>
復帰<CR>。
Moves the printer to the left edge of the logical page remaining on current line.
プリンタを現在行に残っている論理的なページの左の縁に動かします。
- 2 -
- 2 -
Standard File Formats Standardization Elements
標準のファイル形式標準化要素
Line Feed <LF>
改行<LF>。
Moves the printer to the next print line, keeping the same horizontal position.
同じ水平な位置を保って、プリンタを次の印刷系列に動かします。
Horizontal Tab <HT>
水平タブ<HT>。
Moves the printer to the next horizontal tab stop.
プリンタを次の水平タブ停止位置に動かします。
The conventional stops for horizontal tabs are every eight characters, that is character positions 9, 17, 25, ... within the logical page.
水平タブのための従来の停止が8つのキャラクタ毎である、それは論理的なページの中の欄9、17、25です。
Note that it is difficult to enforce these conventions and it is therefore recommended that horizontal tabs not be used in document files.
これらのコンベンションを実施するのが難しく、したがって、水平タブがドキュメントファイルで使用されないのが、お勧めであることに注意してください。
Vertical Tab <VT>
垂直タブ<バーモント>。
Moves the printer to the next vertical tab stop.
プリンタを次の垂直タブ停止位置に動かします。
The conventional stops for vertical tabs are every eight lines starting at the first printing line on each logical page, that is lines 1, 9, 17, ... within the logical page.
垂直タブのための従来の停止は論理的なページの中で初版系列でそれぞれの論理的なページ、すなわち、系列1、9、17を始める8つの系列毎です。
Note that it is difficult to enforce these conventions and it is therefore recommended that vertical tabs not be used in document files.
これらのコンベンションを実施するのが難しく、したがって、垂直タブがドキュメントファイルで使用されないのが、お勧めであることに注意してください。
Back Space <BS>
後退<BS>。
Moves the printer one character position toward the left edge of the logical page.
プリンタ1欄を論理的なページの左の縁に向かって動かします。
Not all these effectors will be used in all format standards, any effectors which are not used in a format standard are ignored.
これらのすべてのエフェクタがすべての形式規格に使用されるというわけではなくて、形式規格に使用されないどんなエフェクタも無視されます。
Page Length
ページ長
The logical page length will be specified in terms of a number of lines of text.
論理的なページ長はテキストの多くの系列で指定されるでしょう。
- 3 -
- 3 -
Standard File Formats Standardization Elements
標準のファイル形式標準化要素
Page Width
ページ幅
The logical page width will be specified as a number of characters.
論理的なページ幅は多くのキャラクタとして指定されるでしょう。
Overstriking
Overstrikingします。
Overstriking (note that underlining is a subset of overstriking) may be specified to be done in one or both of the following ways, or not at all:
Overstriking(アンダーラインを引くのが「過剰-打撃」の部分集合であることに注意する)は以下の方法の1か両方が完了しているように指定されるかもしれませんか、とんでもない:
By Line
線で
The composite line is made up of text segments each terminated by the sequence <CR><NUL> except that the final segment is terminated by the sequence <CR><LF>.
合成系列は最終的なセグメントが系列<CR><LF>によって終えられるのを除いて、系列<CR><NUL>によってそれぞれ終えられたテキスト・セグメントで作られます。
By Character
キャラクターで
Each character to be overstruck is to be immediately followed by a <BS> and the overstrike character.
overstruckである各キャラクタはすぐに、<BS>と重ね打ちキャラクタによってついて来られることになっています。
End of Line
行末
The end of line convention is the Telnet end of line convention which is the sequence <CR><LF>. It is recommended that use of <CR> and <LF> be avoided in other than the end of line context.
行末コンベンションは系列<CR><LF>であるTelnet行末コンベンションです。 行末文脈を除いて、<CR>と<LF>の使用が中で避けられるのは、お勧めです。
- 4 -
- 4 -
Standard File Formats Standard Formats
標準のファイル形式標準書式
Standard Formats
標準書式
Format 1 [Basic Document]
形式1[基本のドキュメント]
This format is designed to be used for documents to be printed on line printers, which normally have 66 lines to a physical page, but often have forced top and bottom margins of 3 lines each.
この形式は、ドキュメントがラインプリンタに印刷されるのに使用されますが、それぞれ3つの系列の上下マージンをしばしば強制したように設計されています。通常、ラインプリンタは物理的なページに66の系列を持っています。
Active Format Effectors <FF>, <CR>, <LF>. Page Length 60 lines. Page Width 72 Characters. Overstriking By Line.
活動形式エフェクタ<ff>、<CR>、<LF>。 Length60が裏打ちするページ。 ページ幅72のキャラクター。 線で、Overstrikingします。
Format 2 [Terminal]
形式2[端末]
This format is designed to be used with hard copy terminals, which in the normal case have 66 lines to a physical page. It is expected that there are no top or bottom margins enforced by the terminal or its local system, thus any margins around the physical page break must come from the file.
この形式は、ハードコピー端末と共に使用されるように設計されています。(正常な場合では、端末は物理的なページに66の系列を持っています)。 端末かそのローカルシステムによって励行されるどんな先端も下部マージンもないと予想されて、その結果、物理的なページブレークの周りのどんなマージンもファイルから来なければなりません。
Active Format Effectors <FF>, <CR>, <LF>, <HT>, <VT>, <BS>. Page Length 66 lines. Page Width 72 Characters. Overstriking By Character.
活動形式エフェクタ<ff>、<CR>、<LF>、<HT>、<バーモント>、<BS>。 Length66が裏打ちするページ。 ページ幅72のキャラクター。 キャラクターで、Overstrikingします。
- 5 -
- 5 -
Standard File Formats Standard Formats
標準のファイル形式標準書式
Format 3 [Line Printer]
形式3[ラインプリンタ]
This format is designed to be used with full width (11 by 14 inch paper) line printer output.
この形式は、全幅(11×14インチの紙)ラインプリンタ出力と共に使用されるように設計されています。
Active Format Effectors <FF>, <CR>, <LF>. Page Length 60 lines. Page Width 132 Characters. Overstriking None.
活動形式エフェクタ<ff>、<CR>、<LF>。 Length60が裏打ちするページ。 ページ幅132のキャラクター。 なにもOverstrikingしません。
Format 4 [Card Image]
形式4[カードイメージ]
This format is designed to be used for simulated card input. The page width is 80 characters, each card image is followed by <CR><LF>, thus each card is represented by between 2 and 82 characters in the file. Note that the trailing spaces of a card image need not be present in the file, and that the early occurence of the <CR><LF> sequence indicates that the remainder of the card image is to contain space characters.
この形式は、シミュレートされたカード入力に使用されるように設計されています。 ページ幅が80のキャラクタである、各カードイメージは<CR><LF>によって従われていて、その結果、各カードはファイルの2〜82のキャラクタによって表されます。 カードイメージの引きずっている空間がファイルに存在している必要はなくて、<CR><LF>系列の前のoccurenceが、カードイメージの残りが間隔文字を含むことであることを示すことに注意してください。
Active Format Effectors <CR>, <LF>. Page Length Infinite. Page Width 80 Characters. Overstriking None.
活動形式エフェクタ<CR>、<LF>。 ページ長無限。 ページ幅80のキャラクター。 なにもOverstrikingしません。
- 6 -
- 6 -
Standard File Formats Standard Formats
標準のファイル形式標準書式
Format 5 [Center Document]
形式5[センタードキュメント]
This format is intended for use with documents to be printed on line printers which normally have 66 lines to the physical page but enforce top and bottom margins of 3 lines each. The text is expected to be centered on the paper. If the horizontal printing density is 10 characters per inch and the paper is 8 and 1/2 inches wide then there will be a one inch margin on each side.
ドキュメントによる使用がこの形式によって通常物理的なページに66の系列を持っていますが、それぞれ3つの系列の上下マージンを実施するラインプリンタに印刷されることを意図します。 紙のテキストが中心に置かれると予想されます。 水平な印刷密度が1インチあたり10のキャラクタであり、紙が幅8と1/2インチであるなら、1インチのマージンがそれぞれの側にあるでしょう。
Active Format Effectors <FF>, <CR>, <LF>. Page Length 60 Lines. Page Width 65 Characters. Overstriking By Line.
活動形式エフェクタ<ff>、<CR>、<LF>。 ページ長60は立ち並んでいます。 ページ幅65のキャラクター。 線で、Overstrikingします。
Format 6 [Bound Document]
形式6[制限されたドキュメント]
This format is intended for use with documents to be printed on line printers which normally have 66 lines to the physical page but enforce top and bottom margins of 3 lines each. If the horizontal printing density is 10 characters per inch and the paper is 8 and 1/2 inches wide then the text should be positioned such that there is a 1 and 1/2 inch left margin and a one inch right margin.
ドキュメントによる使用がこの形式によって通常物理的なページに66の系列を持っていますが、それぞれ3つの系列の上下マージンを実施するラインプリンタに印刷されることを意図します。 水平な印刷密度が1インチあたり10のキャラクタであり、紙が幅8と1/2インチであるならテキストが置かれるべきであるので、1がありました、そして、1/2インチはマージンと1インチのライト・マージンを残しました。
Active Format Effectors <FF>, <CR>, <LF>. Page Length 60 Lines. Page Width 60 Characters. Overstriking By Line.
活動形式エフェクタ<ff>、<CR>、<LF>。 ページ長60は立ち並んでいます。 ページ幅60のキャラクター。 線で、Overstrikingします。
- 7 -
- 7 -
Standard File Formats Implementation Suggestions
標準のファイル形式実装提案
Implementation Suggestions
実装提案
Overflow
オーバーフロー
Overflow can result from two causes, first if the physical page is smaller than the logical page, and second if the actual text in the file violates the standard under which it is being processed.
オーバーフローは2つの原因から生じることができます、最初に、物理的なページが論理的なページより小さく、ファイルの実際のテキストがそれが処理されている規格に違反するなら2番目に、小さいなら。
In either case the following suggestions are made to implementors of programs which process files in these formats.
どちらの場合ではも、以下の提案はこれらの形式でファイルを処理するプログラムの作成者にされます。
Length
長さ
If more lines are processed than fit within the minimum of the physical page and the logical page length since the last <FF>, then the <FF> action should be forced.
より多くの系列が最後の<FF>以来物理的なページと論理的なページ長の最小限の中で合うより処理されるなら、<FF>動作は強制されるべきです。
Width
幅
If more character positions are processed than fit on the minimum of the physical page width and the logical page width since the last <CR>, then characters are discarded up to the next <CR>.
より多くの欄が処理されるなら、キャラクタは最後の<CR>以来物理的なページ幅と論理的なページ幅の最小限で合うより次の<CR>まで捨てられます。
or
または
If more character positions are processed than fit on the minimum of the physical page width and the logical page width since the last <CR>, then the <CR> and <LF> actions should be forced.
より多くの欄が最後の<CR>以来物理的なページ幅と論理的なページ幅の最小限で合うより処理されるなら、<CR>と<LF>動作は強制されるべきです。
References
参照
A. McKenzie "TELNET Protocol Specification," Aug-73, NIC 18639.
A.マッケンジー「telnetプロトコル仕様」、8月-73、NIC18639。
"USA Standard Code for Information Interchange," United States of America Standards Institute, 1968, NIC 11246.
「米国の標準の情報交換用符号」、アメリカ合衆国規格研究所、1968、NIC11246。
- 8 -
- 8 -
一覧
スポンサーリンク