JPS58129646A - Text editing system - Google Patents

Text editing system

Info

Publication number
JPS58129646A
JPS58129646A JP57011656A JP1165682A JPS58129646A JP S58129646 A JPS58129646 A JP S58129646A JP 57011656 A JP57011656 A JP 57011656A JP 1165682 A JP1165682 A JP 1165682A JP S58129646 A JPS58129646 A JP S58129646A
Authority
JP
Japan
Prior art keywords
kanji
code
character
terminal
characters
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP57011656A
Other languages
Japanese (ja)
Other versions
JPH0373895B2 (en
Inventor
Tetsuzo Uehara
上原 徹三
Junichi Kurihara
潤一 栗原
Mitsuko Tsunokai
角替 みつ子
Hideko Mikami
三上 秀子
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP57011656A priority Critical patent/JPS58129646A/en
Publication of JPS58129646A publication Critical patent/JPS58129646A/en
Publication of JPH0373895B2 publication Critical patent/JPH0373895B2/ja
Granted legal-status Critical Current

Links

Abstract

PURPOSE:To output Japanese characters by dividing a Japanese character into two right and left parts corresponding to a non-''kanji'' (Chinese character) terminal having an extended code means, and defining the Japanese character as two characters to be added to the extended code means. CONSTITUTION:The contents of information to be outputted to a terminal are set up in a common output buffer 2 as an array of ''kanji'' codes C(i). The code C(i) is retrieved in a font definition table 6, and when a coincident ''kanji'' code is detected, a TYPE command using the type No. included in the code as an operand is outputted and then an OUT command using the left and right codes of the ''kanji'' code as operands is outputted. If there is no coincident ''kanji'' code, a font dictionary 5 is retrieved by the code C(i) to find the pattern of a corresponding dot font. The right and left patterns of the code C(i), the pattern No. of a register entry in the font definition table 6 and correspondence of the right and left codes are outputted to the non-''kanji'' terminal as pattern definition.

Description

【発明の詳細な説明】 本発明はテキスト編集方式に係り、とくに、日本文字出
力機能をハードウェア的に有しない端末&flli(非
壜字端末と呼ぶ)への日本文字出力機能の実現、および
、この種の端末装置と日本文字出力機能を有する端末装
置(漢字端末と呼ぶ)との間の共通処理に好適なデータ
形式とその制御に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a text editing method, and in particular, to realize a Japanese character output function on a terminal &flli (referred to as a non-Japanese character terminal) that does not have a Japanese character output function in terms of hardware, and The present invention relates to a data format suitable for common processing between this type of terminal device and a terminal device having a Japanese character output function (referred to as a kanji terminal) and its control.

非漢字端末装置の中には、その端末装置が予め出力でき
る文字セットのほかに、拡張コードとして、ユーザが出
力したい追加文字の形式を定義して出力することのでき
る拡張機構を用意したものかめる。
Some non-kanji terminal devices are equipped with an extension mechanism that allows the user to define and output additional character formats as extension codes in addition to the character set that the terminal device can output in advance. .

この拡張機構を第1図に例示する。端末の制御装置1は
キーホード2あるいは計算機3からコマンドを受取る。
This expansion mechanism is illustrated in FIG. A terminal control device 1 receives commands from a keyboard 2 or a computer 3.

拡張コード機構に関連するコマンドとしては文字定義コ
マンド(DEFLと略す)、文字種別指定コマンド(T
YPE)および文字出力コマンド(OUT)がある。
Commands related to the extended code mechanism include the character definition command (abbreviated as DEFL) and the character type specification command (T
YPE) and character output command (OUT).

制御装置1はDEFLコマンドを受取ると文字バタン登
録4を起動し、’1’YPEコマンドを受取ると現タイ
プ設定6を起動し、OUTコマンドを受取ると文字発生
器8を起動する。
When the control device 1 receives the DEFL command, it activates the character stamp registration 4, when it receives the '1'YPE command, it activates the current type setting 6, and when it receives the OUT command, it activates the character generator 8.

文字バタン登録4は文字バタン・メモリ5の拡張部にD
EFLコマンドで指定された文字バタンを登録する。文
字バタン・メモリ5は端末の基本機能として出力するこ
とのできる文字セットのフオント・パタンを固定部に記
憶する。今、仮に固定部の文字セラミタイプ0と呼ぶ。
The character button registration 4 is stored in the extended part of the character button memory 5.
Register the character button specified by the EFL command. The character stamp memory 5 stores in a fixed part the font patterns of character sets that can be output as a basic function of the terminal. For now, we will temporarily call the fixed part character ceramic type 0.

これは例えば、英数字と特殊文字一式を収める128文
字の文字セットである。この端末装置では、タイプ1か
らタイプNのN個のタイプの文字セットを拡張すること
ができるものとする。文字バタン・メモリ5は、このN
セット分のパタン・メモリ拡張部を用意している。
This is, for example, a 128-character character set containing a set of alphanumeric characters and special characters. In this terminal device, it is assumed that character sets of N types from type 1 to type N can be expanded. Character slam memory 5 is this N
A set of pattern memory expansion units are available.

DEFLコマンドは、オペランドとして、定義する文字
のタイプ番号tとその文字コードCおよび文字のドツト
・パタンPt−指定する。この端末の文字表現が縦16
ドツト、横8ドツト・マトリクスであるとすると、ドツ
ト・パタンPは、ドツト・マトリクスの各行を16進数
2文字で表わし合計32文字の数で表現できる。
The DEFL command specifies the type number t of the character to be defined, its character code C, and the dot pattern Pt of the character as operands. The character representation of this terminal is vertical 16
Assuming that the dot is a horizontal 8-dot matrix, the dot pattern P can be expressed by a total of 32 characters, with each row of the dot matrix represented by two hexadecimal characters.

文字パタン登録4は、このDEPLのオペランドによシ
、文字パタン・メモリ5の拡張部のタイプtに対応する
部分の中のコードCに対応する場所にPで指定されたド
ツト・マトリクスを記憶する。
The character pattern registration 4 stores the dot matrix specified by P at the location corresponding to the code C in the part corresponding to the type t of the extension part of the character pattern memory 5 according to the operand of this DEPL. .

TYPEコマンドは、その後出力する文字列のタイプを
設定するものであり、タイプ番号tをオペランドとして
もつ。現タイプ設定6は、このタイプ番号t’l現タイ
プ・レジスタ7に設定する。
The TYPE command sets the type of character string to be output thereafter, and has a type number t as an operand. Current type setting 6 sets this type number t'l in current type register 7.

現タイプ・レジスタ7の初期値は0である。The initial value of current type register 7 is 0.

OUTコマンドのオペランドは、文字コードの列でおる
。文字発生器8は、このコードCと現タイプ・レジスタ
7の値tとから、文字バタン・メモリ5の該当する文字
パタンPを読出して、ディスプレイ装置9に出力する。
The operand of the OUT command is a string of character codes. The character generator 8 reads out the corresponding character pattern P from the character stamp memory 5 from this code C and the value t of the current type register 7, and outputs it to the display device 9.

以上が、非漢字端末の拡張コード機構の要点である。The above are the main points of the extended code mechanism for non-Kanji terminals.

しかし、上記の非漢字端末の拡張コード機構は、英文字
の文字セラ)1−基本として、そのイタリック体の文字
セットを追加定義するなどの目的を想定して設けられて
いるため、追加定義することの可能な文字数が少なく、
また、表示する文字枠(表示文字のドツト数)が小さい
、という問題をもつ。
However, the extension code mechanism of the non-kanji terminal described above is provided for the purpose of additionally defining the italic character set for English characters, so it is necessary to define additionally. The number of possible characters is small,
Another problem is that the displayed character frame (the number of dots of displayed characters) is small.

ところが、漢字の個数にJIS第1水準文字でも約30
00字あり、1文字を表示するに費するドツト数は最低
でも縦横16ドツト以上(望ましくは32ドツト)ヲ要
するとされる。
However, the number of kanji is approximately 30 even for JIS level 1 characters.
There are 00 characters, and the number of dots required to display one character is said to be at least 16 dots in the vertical and horizontal directions (preferably 32 dots).

したがって、非漢字端末に一般的に見られるような上記
の拡張コード機構を漢字の表示に適用するには、何らか
の工夫によって前記の問題を解決する必要がある。
Therefore, in order to apply the above-mentioned extended code mechanism commonly found in non-Kanji terminals to the display of Kanji characters, it is necessary to solve the above problem by some means.

本発明の目的は、上記の拡張コード機構tもつ非漢字端
末に対して、その拡張コード体系の字数および字幅の制
限を解決することによって日本文字出力を可能とし、か
つ、漢字端末装置との間での処理上の相違部を局限する
ための、計算機側のデータ構造とその制御方式を提供す
ることにある。
An object of the present invention is to enable Japanese characters to be output to non-Kanji terminals with the above extended code system by solving the limitations on the number of characters and character width of the extended code system, and to enable compatibility with Kanji terminal devices. The object of the present invention is to provide a computer-side data structure and its control method to limit differences in processing between the computers.

拡張コード機構において、定義できる文字の形が小さす
ぎて英字出力用にしか使用で@ないという問題に対して
は、日本文字を左右の2つの部分に分割し、日本文字1
字を拡張コード機構における追加文字2字分として定義
することによって解決する。
In the extended code mechanism, to solve the problem that the character shapes that can be defined are too small and can only be used for outputting alphabetic characters, Japanese characters are divided into two parts, left and right.
The solution is to define the characters as two additional characters in the extended code mechanism.

拡張コード機構において、定義できる文字の個数が少な
すき゛るという問題については、未定義の文字の出現毎
に端末側に文字定義を送り込むという方法を採る。端末
装置と計算機とは通信回線で接続されているのが通常で
あり、文字定義の頻度が高いと出力効率に影畳が大きい
。そこで、各時点で端末装置がいかなる追加文字定義を
記憶しているかを計算機側で管理しておいて、新たに出
現した(つまり未定義の)文字についてだけ、定義用の
出力を行なう。もつとも、同時に定義できる文字の個数
が限定されている以上、既に定義した拡張コードを別の
文字フォントのために再定義せざるを得ない事態が発生
する。このとき、既定義の文字の定義を殺して、別の新
しい文字定義で置換する。
In the extended code mechanism, to solve the problem that the number of characters that can be defined is too small, a method is adopted in which a character definition is sent to the terminal side every time an undefined character appears. A terminal device and a computer are usually connected through a communication line, and if characters are defined frequently, output efficiency will be greatly affected. Therefore, the computer manages what additional character definitions are stored in the terminal device at each point in time, and outputs definitions only for newly appearing (that is, undefined) characters. However, since the number of characters that can be defined at the same time is limited, a situation may arise where an already defined extension code must be redefined for a different character font. At this time, the existing character definition is killed and replaced with another new character definition.

拡張コード機構とは別の問題として、仕様の異なる多種
の端末装置に対して、同一のテキスト編集機能を提供す
る場合、各穐端末装置に対する処理を個別に用意するの
では、機能の開発規模が大きすぎるという問題かめる。
Another problem with the extended code mechanism is that when providing the same text editing function to a variety of terminal devices with different specifications, it is difficult to develop the function by providing separate processing for each terminal device. The problem is that it's too big.

この間@を解決し、各種の端末装置に対する固有処理を
限定するために、端末への出力バッファの形式として端
末の種類に依存しない共通の形式を設定し、それの解釈
実行処理として端末固有処理を実現する。この方式によ
ると、別種端末の追加に応じた機能拡張を、共通形式バ
ッファの解釈実行処理の追加によって実現することがで
きる。
During this time, in order to solve @ and limit the unique processing for various terminal devices, we set a common format that does not depend on the type of terminal as the format of the output buffer to the terminal, and performed terminal-specific processing as the interpretation execution process. Realize. According to this method, functional expansion corresponding to the addition of a different type of terminal can be realized by adding processing for interpreting and executing a common format buffer.

第2図に和文テキスト編集システムの出力制御装置の構
成例を示す。出力制御1によって端末仕様に独立な処理
を行なった結果、出力情報を共通出力バツファ2に設定
する。端末の種類に応じた出力処理は、この共通出力バ
ツファ2のデータを各々の端末に出力するものでめる。
FIG. 2 shows an example of the configuration of an output control device for a Japanese text editing system. As a result of processing independent of terminal specifications using output control 1, output information is set in common output buffer 2. Output processing according to the type of terminal consists of outputting the data in this common output buffer 2 to each terminal.

非漢字端末出力制御部3は、日本文字出力機能を有しな
い非漢字端末7に対して日本文字を出力する機能を実現
する。他方、漢字端末出力制御部4は、日本文字出力機
能を有する漢字端末8に対して日本文字を出力する機能
を実現する。非漢字端末7に対して日本文字を定義する
ため(、非漢字端末出力処理部3は、漢字コード(日本
文字の字種を一意的に識別するコード)と漢字フォント
(文字を表現するためのドツトのマトリクス)の対応狭
であるフォント辞書5を参照する。フォント辞書5の中
には数千字におよぶ日本文字のフォントが収容されてお
り、それらは漢字コードによって一意的に検索される。
The non-kanji terminal output control unit 3 realizes a function of outputting Japanese characters to a non-kanji terminal 7 that does not have a Japanese character output function. On the other hand, the kanji terminal output control unit 4 realizes a function of outputting Japanese characters to a kanji terminal 8 having a Japanese character output function. In order to define Japanese characters for the non-kanji terminal 7, the non-kanji terminal output processing unit 3 uses kanji codes (codes that uniquely identify Japanese character types) and kanji fonts (for expressing characters). Reference is made to the font dictionary 5, which has a narrow correspondence (matrix of dots).The font dictionary 5 stores fonts of several thousand Japanese characters, which are uniquely searched by kanji code.

フォント辞書5は、その規模の大きいことから、通常は
2次記憶装置に置かれる。フォノ)?義表6は、非漢字
端末7の文字パタン・メモリ拡張部において現在有効で
ある追加文字のセラ)1保持するためのテーブルである
Since the font dictionary 5 is large in size, it is usually stored in a secondary storage device. Phono)? The table 6 is a table for holding additional characters currently valid in the character pattern memory expansion section of the non-kanji terminal 7.

非漢字端末7の内部構造は第1図に示したものと四様で
ある。
The internal structure of the non-kanji terminal 7 is the same as that shown in FIG.

出力制御部1、共通出力バツファ2、非漢字端末出力制
御部3、漢字端末出力制御部4、およびフォント定義表
6をめわせたものがテキスト編集システムの出力制御部
fI119でるる。
The combination of the output control section 1, the common output buffer 2, the non-kanji terminal output control section 3, the kanji terminal output control section 4, and the font definition table 6 constitutes the output control section fI119 of the text editing system.

第3図は、第2図のフォント定義表6の形成を示すもの
である。この表のヘッダ部分をFTHと名づけると、F
TH(1)、FTH(2)およびFTH(3+の3個の
領域から成り、それらは、各々、既定義の漢字数す、定
義表の収容可能文字数a1初期定義漢字数Cを設定する
。フォント定義表の残9の部分は、漢字コードおよび、
その漢字を非漢字端末に灼して定義したときのタイプ番
号とコードを含んでいる。ここでは、漢字1文字を、非
漢字端末の2文字分の拡張文字として定義するものとし
、漢字を左右に2分割し、その各々を拡張文字とする。
FIG. 3 shows the formation of the font definition table 6 of FIG. 2. If we name the header part of this table FTH, then F
It consists of three areas: TH (1), FTH (2), and FTH (3+), and they respectively set the number of predefined kanji characters, the number of characters that can be accommodated in the definition table a1, and the number of initial defined kanji characters C.Font The remaining nine parts of the definition table are kanji codes and
Contains the type number and code when the kanji is defined by burning it on a non-kanji terminal. Here, one Kanji character is defined as an extended character equivalent to two characters of a non-Kanji terminal, and the Kanji is divided into two left and right parts, each of which is an extended character.

したがって、フォント定義表の後半部分は、漢字コード
および非漢字端末の拡張コードとしてのタイプ番号、左
コード、右コードの4つ組t−1つのエントリとして、
それのa個の繰返し配列を含んでいる。これtFTB(
1:a)と記す。
Therefore, the second half of the font definition table is a 4-tuple t-1 entry of the Kanji code and the type number, left code, and right code as extension codes for non-Kanji terminals.
It contains a repeating array of it. This is tFTB (
1: written as a).

FTB(1:a)のうちで、上記C個のエントリ群、つ
まりFTB(1:lは初期定義漢字に対応し、和文テキ
ス)!i集処理の開始時に無条件に非漢字端末に対して
定義される文字セットであり、文の種類によらず常に用
いられる平仮名や句読点などの文字を含む(これらの日
本文字を総称して漢字と呼んでいる)。
Among FTB(1:a), the above C entry group, that is, FTB(1:l corresponds to the initial defined kanji and is Japanese text)! A character set that is unconditionally defined for non-kanji terminals at the start of i-collection processing, and includes characters such as hiragana and punctuation marks that are always used regardless of the type of sentence (these Japanese characters are collectively called kanji). ).

その下の領域のうち、FTH(C+1:b)の部分は、
和文テキストの出力の心壁に応じて、適宜追加定義した
文字コードを設定する領域でろる。
Of the area below, the FTH (C+1:b) part is
Depending on the purpose of outputting Japanese text, select the area where you can additionally define character codes.

さらにその下の領域FTB (b+1 : a )は、
今後あらたな文字を定義するために用い得る空き領域で
ある。7オント定義表の輯勧遺◇初期定義漢字数Cおよ
びFTB(1:C)にはあらかじめ固定の値が設定され
ている。また左コードおよび右コードの部分はすべて一
意に初期設定されている。
Further below, the area FTB (b+1: a) is
This is an empty area that can be used to define new characters in the future. 7. Explanation of the ont definition table ◇Fixed values are set in advance for the number of initial defined kanji characters C and FTB (1:C). Furthermore, the left code and right code parts are all uniquely initialized.

FTH(1)つまりbの初期値はCである。FTH(2
)つまりaは定数である。
FTH(1), that is, the initial value of b is C. FTH(2
) That is, a is a constant.

第2図に戻り、フォント定義表6とフォント辞書5によ
る非漢字端末7への日本文出力の手順を示す。
Returning to FIG. 2, the procedure for outputting Japanese text to the non-kanji terminal 7 using the font definition table 6 and font dictionary 5 is shown.

和文テキスト出力機能は、起動されると、初期定義漢字
の漢字コードをFTB(1:C)によって求め、これら
に対応する文字フォントのパターンをフォント辞書5よ
り検索し、非漢字端末7にその定義上出力する。この定
義とは、漢字フォントのパターンの左半分とFTHの左
コード、パターンの右半分と右コードの各ペアの対応づ
けを、拡張コード定義機構に従って設定するものである
When the Japanese text output function is activated, the kanji code of the initial definition kanji is obtained using FTB (1:C), the character font pattern corresponding to these is searched from the font dictionary 5, and the definition is sent to the non-kanji terminal 7. Output above. This definition sets the correspondence between each pair of the left half of the Kanji font pattern and the FTH left code, and the right half of the pattern and the right code, according to the extended code definition mechanism.

この設定を、第1図の拡張機構によって具体的に説明す
る。FTB(1)からFTB(C)までの各エントリを
取出し、その漢字コードによってフォント辞書(第2図
の5)を引く。そこから得た文字のバタン全左右に2分
割し、その各々?DEFLコマンドで定義する。DEF
Lコマンドのオペランドは、FTB(i)のタイプ番号
と左あるいは右の文字コード、および左あるいは右の漢
字バタンでめる。このDEFLコマンドの効果は、第1
図の文字バタン・メモリ5の骸当タイプ番号の拡張部へ
の文字バタン登録である。この点については前述の通り
である。
This setting will be specifically explained using the expansion mechanism shown in FIG. Each entry from FTB(1) to FTB(C) is taken out and the font dictionary (5 in FIG. 2) is looked up based on its Kanji code. Divide the entire slam of letters obtained from that into two on the left and right, and each of them? Define with DEFL command. DEF
The operands of the L command are the type number of FTB(i), the left or right character code, and the left or right Kanji button. The effect of this DEFL command is
This is the registration of a character stamp to the expanded section of the Mukuroto type number of the character stamp memory 5 shown in the figure. This point is as described above.

このDEFLコマンドの送出は、FTB(1)からF 
T B (C)まで、漢字C文字分一つまり、CX2回
だけ実行される。これによって非漢字端末(第2図の7
)の初期設定を終る。
This DEFL command is sent from FTB (1) to F
Up to T B (C), the process is executed for one C kanji character, that is, CX twice. This allows non-kanji terminals (7 in Figure 2)
) completes the initial settings.

次に1.初期設定終予後の、定常的なテキスト出力の動
作管説明する。第2図に戻る。
Next 1. We will explain the operation of regular text output for the initial setting end result. Return to Figure 2.

端末に出力されるべき情報の内容は共通出力バッファ2
に漢字コードの形で設定される。共通出力バッファ2の
内容は、漢字コードc(i)の配列である。C(i)は
共通出力バッファ2の中の第i文字目のデータを漢字コ
ードで示したものである。非漢字端末7に対して、この
共通出力バッファ2の内容に対応する日本文字の出力を
行なう手順は次の通りである。
The content of the information that should be output to the terminal is stored in the common output buffer 2.
is set in the form of a kanji code. The contents of the common output buffer 2 are an array of Kanji codes c(i). C(i) indicates the data of the i-th character in the common output buffer 2 using a Kanji code. The procedure for outputting Japanese characters corresponding to the contents of the common output buffer 2 to the non-Kanji terminal 7 is as follows.

ます、C(i)をフォント定#:表6の中で探す。つま
り、FTB(1:b)のエントリの漢字コードc(t)
とが一致するかどうかを判定する。
Then, find C(i) in font constant #: Table 6. In other words, the kanji code c(t) of the entry in FTB(1:b)
Determine whether they match.

もし一致する漢字コードがあるならば、これをF T 
B (X)と記す。このときc(i)の出力のためには
、F T B (X)の含むタイプ番号をオペランドと
したTYPEコマンド會出力し、次に、F T B (
X)の左コードと右コードとをオペランドとするOUT
コマンドを出力すればよい。この結果としては、第1図
についての説明の通り、現タイプ設定(第1図の6)お
よび文字発生器(第1図の8)によって、前もってDE
FLコマンドで登録された文字バタンを、文字バタン・
メモリ(第1図の5)から取出して端末ディスプレイ装
置(第1図の9)に表示することとなる。
If there is a matching kanji code, enter this as F T
It is written as B (X). At this time, to output c(i), output the TYPE command with the type number included in F T B (X) as an operand, and then output F T B (
OUT with the left code and right code of X) as operands
All you have to do is output the command. As a result of this, the current type settings (6 in Figure 1) and the character generator (8 in Figure 1) pre-define the DE.
The character stamp registered with the FL command can be changed to
The data will be taken out from the memory (5 in FIG. 1) and displayed on the terminal display device (9 in FIG. 1).

次に、漢字コードC山がFTB(1:b)の漢字コード
部分に存在しない場合の手順を述べる。
Next, the procedure when the Kanji code mountain C does not exist in the Kanji code part of FTB (1:b) will be described.

C山によってフォント辞書5を検索して、対応するドツ
ト・フォントのバタンを求める。次にC(t)tフォン
ト定義表6に登録するのであるが、それに2つの場合が
あ゛る。
The font dictionary 5 is searched by the C mountain to find the corresponding dot font. Next, it is registered in the C(t)t font definition table 6, but there are two cases.

第一は、FTBに空き領域かめる場合でるる。The first case occurs when free space is available in the FTB.

これは、b(aの場合でおり、このとき、FTB(b+
1)の漢字コード領域にC(i)を設定し、FTH(1
)の値を1だけ加算する。さらに、左右のコード番号と
しては、FTB(b)の右コードに対して各々プラス1
およびプラス2したコードを設定し、バタン番号はFT
B(b)のそれと同一にする。
This is the case of b(a, and in this case, FTB(b+
Set C(i) in the kanji code area of 1) and set FTH(1
) is added by 1. Furthermore, the left and right code numbers are each plus 1 for the right code of FTB (b).
and plus 2 code, and the button number is FT
Make it the same as that of B(b).

ただし、このとき、左右コードがコード番号の上限値を
越える場合があり、その場合には、ツクタン査号kFT
B(b)のそれに1だけ加えたものとし、左右コードの
方はコード番号の下限値とその次のコードとする。
However, at this time, the left and right codes may exceed the upper limit of the code number, and in that case,
It is assumed that 1 is added to that of B(b), and the left and right codes are the lower limit of the code number and the next code.

第二に1、F’l’Hに空き領域がない場合である。The second case is 1, when there is no free space in F'l'H.

この場合、次の手順でFTB’に更新する。つまり、F
’l’B (C+1 : a )の漢字コードを上から
調べていき、共通出力バッファ内のコードC(j) (
J =1:L、Lは共通出力バッファ内の文字数)と一
致しない漢字コードを1個見出し、そのエントリの漢字
コードVC(i>で置換する。
In this case, update to FTB' using the following procedure. In other words, F
Check the kanji code of 'l'B (C+1: a) from above and find the code C(j) (
J = 1: L, L is the number of characters in the common output buffer), find one Kanji code that does not match, and replace it with the Kanji code VC (i>) of that entry.

FTHの空き領域の・有無に関わらず、c (i)の左
右バタンと、フォント定義表6の登録エントリのバタン
番号および左右コードとの対応を、フォント・バタン定
義として、初期設定時と同様にDEFLコマンドによっ
て、非漢字端末7に出力する。共通出力バッファの長さ
Lは、上記の再定義漢字コードの決定が可能なだけの大
きさに制限されているものとする。
Regardless of whether or not there is free space in the FTH, the correspondence between the left and right buttons in c (i) and the button numbers and left and right codes in the registration entry in font definition table 6 is set as the font button definition, as in the initial setting. It is output to the non-kanji terminal 7 by the DEFL command. It is assumed that the length L of the common output buffer is limited to a size that allows the determination of the redefined kanji code described above.

漢字端末8への文字出力は、上の定義のめと、TYPE
コマンドとOUTコマンドとヲ用いて、前述の既登録の
場合と同手順で行なわれる。
To output characters to Kanji terminal 8, use the above definition and TYPE.
Using the command and OUT command, the procedure is the same as in the case of registration described above.

本実施例の効果の一つは、漢字端末8および非漢字端末
7への出力処理葡、端末共通出力バッファ2に設定する
端末共通処理部1と、それ以降の出力処理部でめる漢字
端末出力処理部4および非漢字端末出力処理部3とに分
離することによって、仕様の相異なる多糧の端末の接1
fcF#fの拡張性をはかったことと、端末依存処理の
部分を局限したことでめる。
One of the effects of this embodiment is that the output processing to the kanji terminal 8 and the non-kanji terminal 7, the terminal common processing section 1 set in the terminal common output buffer 2, and the subsequent output processing section By separating the output processing unit 4 and the non-kanji terminal output processing unit 3, it is possible to connect multiple terminals with different specifications.
This is achieved by increasing the extensibility of fcF#f and by limiting the terminal-dependent processing part.

本実施例の別の効果は、英字向きの拡張コード機構tも
った非漢字端末7に対して漢字を表示するための方式を
提供し、かつ、既定義文字會管理することによって、拡
張コード定義用の送信データ量の低減ケにかる装置のデ
ータ構造とその制御手順を提供したことでめる。
Another effect of this embodiment is that it provides a method for displaying kanji on a non-kanji terminal 7 that has an extension code mechanism t for alphabetic characters, and also manages predefined character groups to define extension codes. The present invention is recognized for providing the data structure of a device and its control procedure that reduce the amount of data transmitted.

本発明によれば、英字アルファベット相当の文字に対す
る拡張コード榛横會もつ端末装置に対し7て、漢字端末
と同様に日本文字出力を行なうことができる。その出力
のためには、漢字7オントの定義出力とコード出力の2
段階が必要でるるが、本発明では、既定義コードをフォ
ント定義表によって管理する仁とにより、定義出力上最
小限に抑えることができる。
According to the present invention, Japanese characters can be output in the same manner as a kanji terminal to a terminal device having an extended code for characters corresponding to the alphabets. In order to output it, we need to output the definition of Kanji 7 ont and the code output.
However, in the present invention, the definition output can be minimized by managing the predefined code using the font definition table.

筐た、本発明によれば、漢字端末および非漢字端末に共
通の共通用カバソファ形式を採用しており、より上位の
機能の実現を行なうプロクラムは両端末装置の相違を意
識する必要がない。
Furthermore, according to the present invention, a common cover sofa format common to Kanji terminals and non-Kanji terminals is adopted, and a program that implements higher-level functions does not need to be aware of the differences between the two terminal devices.

【図面の簡単な説明】[Brief explanation of drawings]

第1図は、非漢字端末における公知の拡張コード機構の
例である。 第2図は、日本文テキスト出力装置の構成例である。 第3図は、日本文テキスト出力装量のフォント′VJl
  口 猶  2 図
FIG. 1 is an example of a known extended code mechanism in a non-Kanji terminal. FIG. 2 shows an example of the configuration of a Japanese text output device. Figure 3 shows the font 'VJl' for Japanese text output.
Figure 2

Claims (1)

【特許請求の範囲】[Claims] 日本文字出力機能をもつ端末装置と、日本文字出力機能
をもたない端末装置との2種類の端末装置と接続した計
算機上で動作するテキスト編集システムにおいて、後者
の種類の端末のために、日本文字コードとそのドツト・
フォントとの対応を与えるフォント辞書および現在まで
に端末に対して定義した文字の日本文字コードと端末の
拡張コードとの対応表を設けること、さらに、両種の端
末装置に対して共通に用いられる共通出力バッファを設
けることを特徴とするテキスト編集方式。
In a text editing system that runs on a computer connected to two types of terminal devices: one with a Japanese character output function and one without a Japanese character output function, the Japanese Character code and its dots
A font dictionary that provides correspondence with fonts, a correspondence table between the Japanese character codes of characters defined for terminals to date and terminal extension codes, and a table that is commonly used for both types of terminal devices. A text editing method characterized by providing a common output buffer.
JP57011656A 1982-01-29 1982-01-29 Text editing system Granted JPS58129646A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57011656A JPS58129646A (en) 1982-01-29 1982-01-29 Text editing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57011656A JPS58129646A (en) 1982-01-29 1982-01-29 Text editing system

Related Child Applications (2)

Application Number Title Priority Date Filing Date
JP4257783A Division JPH05204358A (en) 1992-09-28 1992-09-28 Font controller
JP4257784A Division JPH05204359A (en) 1992-09-28 1992-09-28 Font controller

Publications (2)

Publication Number Publication Date
JPS58129646A true JPS58129646A (en) 1983-08-02
JPH0373895B2 JPH0373895B2 (en) 1991-11-25

Family

ID=11784005

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57011656A Granted JPS58129646A (en) 1982-01-29 1982-01-29 Text editing system

Country Status (1)

Country Link
JP (1) JPS58129646A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5250639A (en) * 1975-10-22 1977-04-22 Hitachi Ltd Character pattern generating device
JPS553075A (en) * 1978-06-23 1980-01-10 Nippon Telegr & Teleph Corp <Ntt> Character/pattern display device
JPS5688534A (en) * 1979-12-21 1981-07-18 Casio Comput Co Ltd Registration processing system for unregistered character

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5250639A (en) * 1975-10-22 1977-04-22 Hitachi Ltd Character pattern generating device
JPS553075A (en) * 1978-06-23 1980-01-10 Nippon Telegr & Teleph Corp <Ntt> Character/pattern display device
JPS5688534A (en) * 1979-12-21 1981-07-18 Casio Comput Co Ltd Registration processing system for unregistered character

Also Published As

Publication number Publication date
JPH0373895B2 (en) 1991-11-25

Similar Documents

Publication Publication Date Title
US4498143A (en) Method of and apparatus for forming ideograms
US4761761A (en) Multitype characters processing method and terminal device with multiple display buffers
JP2740575B2 (en) Character processor
JPH0226258B2 (en)
JPS58129646A (en) Text editing system
KR900006665B1 (en) Crt display apparatus
JPH0746352B2 (en) Font conversion method
JPH10123924A (en) Memorization learning supporting system and medium storing memorization learning supporting system controlling program
JPS6385695A (en) Serial character generation system
KR0163733B1 (en) Cash register capable of printing of multi-foreign language and method thereof
JPH05204359A (en) Font controller
JPH05204358A (en) Font controller
JPH0778133A (en) Document preparing device and method for outputting character pattern
JPS60245074A (en) Automatic agate display system
JPH0721189A (en) Translation assisting system
JPS62189494A (en) Japanese document generator
JPS62211690A (en) Character display system
JPS62149460A (en) Character processor
JPS6262784A (en) Document processor
JPH07105196A (en) Font data management device and character output device equipped with the same
JPH09185673A (en) Character recognized result output method
Aljuhaiman et al. Lexical Translator from Arabic to Latin PASCAL Environment
JPH07101115A (en) Printer
JPH0226770A (en) Printing control device
JPH03286249A (en) Character processor