JPS6274125A - Output code control device for terminal equipment - Google Patents
Output code control device for terminal equipmentInfo
- Publication number
- JPS6274125A JPS6274125A JP60213971A JP21397185A JPS6274125A JP S6274125 A JPS6274125 A JP S6274125A JP 60213971 A JP60213971 A JP 60213971A JP 21397185 A JP21397185 A JP 21397185A JP S6274125 A JPS6274125 A JP S6274125A
- Authority
- JP
- Japan
- Prior art keywords
- code
- terminal
- character
- host computer
- ascii
- 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.)
- Pending
Links
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
この発明はホスト計算機における処理文字コードと、端
末機特有の文字コードが異なる場合における出力コード
制御装置に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an output code control device when a character code processed by a host computer and a character code unique to a terminal are different.
ホスト計算機における処理文字コードをEBCDICコ
ード、端末機特有の文字コードを仮名性ASCIIコー
ドまたは英小文字付ASCIIコードとした場合の従来
の出力コード制御装置の従来例を第3図に示す。同図に
おいて、1は主記憶装置。FIG. 3 shows a conventional example of a conventional output code control device in which the character code to be processed in the host computer is an EBCDIC code, and the character code unique to the terminal is a kana ASCII code or an ASCII code with lowercase letters. In the figure, 1 is the main storage device.
中央処理装置を含み、EBCD I Cコードで処理す
るホスト計算機、2はこのホスト計算#1i1に接続さ
れASCIIコードで入出力を行う端末機としてのAS
CII端末、3はASCII端末2を制御する通信管理
機構、4は通信管理機構3がASCII端末を制御する
ために用いる端末定義テーブルであり、通信管理機構3
及び端末定義テーブル4はホスト計算機1内にある。A host computer that includes a central processing unit and processes using EBCD IC code, 2 is an AS that is connected to this host computer #1i1 and serves as a terminal that performs input and output using ASCII code.
CII terminal; 3 is a communication management mechanism that controls the ASCII terminal 2; 4 is a terminal definition table used by the communication management mechanism 3 to control the ASCII terminal;
and the terminal definition table 4 are in the host computer 1.
次に動作について説明する。ホスト計算機lに接続され
たASC端末2からホスト計算機1に入力された仮名付
AS■コードまたは英小文字材AS■コードからなる人
力データは通信管理機構3によってEBCDICコード
に変換され、この変換されたEB”CDICコードによ
ってホスト計算機1内で処理される。Next, the operation will be explained. Human data consisting of a kana AS■ code or an English lowercase AS■ code input from an ASC terminal 2 connected to the host computer 1 to the host computer 1 is converted into an EBCDIC code by the communication management mechanism 3, and this converted It is processed within the host computer 1 using the EB''CDIC code.
逆にホスト計算機1で処理されたEBCD I Cコー
ドからなるデータは通信管理機構3によって仮名材AS
CIIコードまたは英小文字付ASIrコードに変換さ
れ、ASCHp末2に出力される。Conversely, the data consisting of the EBCD IC code processed by the host computer 1 is sent to the pseudonym AS by the communication management mechanism 3.
It is converted into a CII code or an ASIr code with lowercase letters and output to the ASCHp terminal 2.
このとき、通信管理機構3は端末定義テーブル4から出
力されるEBCI)ICコードが仮名材ASCIIコー
ドを対象にしているか又は英小文字付ASCIIコード
を対象にしているかといった情報を持つ端末出力コード
タイプに応じてASC1lコードに変換する。At this time, the communication management mechanism 3 selects a terminal output code type that has information such as whether the EBCI) IC code output from the terminal definition table 4 is intended for a kana ASCII code or an ASCII code with lowercase letters. Convert to ASC1l code accordingly.
従来の装置は以上のように動作するのでASCII端末
に対してEBCDICコードで処理された出力データを
ASCIIコードに変換する場合、EBCDICコード
における英小文字と仮名の一部分が同じコードであるた
め、仮名材ASCIIコード又は英文字付ASCIIコ
ードのどちらか一方に変換しなければならず、仮名から
英小文字又は英小文字から仮名付ASCIJコードへの
変更は端末定義テーブルの変更及び初期化処理を行うこ
とが必要で、また通信管理機構で変換せずにユ ザアフ
“リケーションブログラムカく独自にASC1lコード
に変換することで出力コードの変更を行わなければなら
ないなどの問題点があった。Conventional devices operate as described above, so when converting output data processed in EBCDIC code to ASCII code for an ASCII terminal, the lowercase English letters and part of the kana in the EBCDIC code are the same code, so the kana material is It must be converted to either ASCII code or ASCII code with English characters. Changing from kana to lowercase English characters or from lowercase English characters to ASCIIJ code with kana characters requires changing the terminal definition table and performing initialization processing. Another problem was that the user application program had to independently convert the output code to an ASC1L code instead of using the communication management mechanism to change the output code.
この発明は上記のような問題点を解消するためになされ
たちで、端末定義テーブルの出力コードタイプをASC
II端末から入力される文字シーケンスに基づいて仮名
付ASCnコード又は英小文字付ASCnごj−1’の
いずれでも指定できる出力コード制御装置を得ることを
目的とする。This invention was made to solve the above problems, and the output code type of the terminal definition table is changed to ASC.
It is an object of the present invention to provide an output code control device that can specify either a kana-attached ASCn code or an English lowercase letter ASCn-go-j-1' based on a character sequence input from a II terminal.
〔問題点を解決するための1段〕
このため、この発明かかる出力コード制御装置は、端末
機から入力された出力コードタイプを指定する文字シー
ケンスに基づいて上記ホスト計算機における処理文字コ
ードを」二記端末機特りの文字コー ドに変換する端末
文字制御機構をホスト計算機内に設4Jたことを特徴と
するものである。[Step 1 to Solve the Problem] Therefore, the output code control device according to the present invention controls the processing character code in the host computer based on the character sequence specifying the output code type inputted from the terminal. This system is characterized by having a terminal character control mechanism installed in the host computer that converts the characters into a character code specific to the terminal.
端末文字制御数構は端末機から入力された出力コードタ
イプを指定する文字シーケンスに基づいて、上記ホスト
計算機における処理文字コードを上記端末機時をの文字
コードに変換する。The terminal character control number converts the character code processed by the host computer into the character code of the terminal based on a character sequence input from the terminal and specifying an output code type.
これによりオペレータが端末機から入力する文字シーケ
ンスによって出力コードタイプが自由に変えることがで
きる。This allows the output code type to be freely changed depending on the character sequence input by the operator from the terminal.
以下図面に基づいてこの発明の一実施例を説明する。 An embodiment of the present invention will be described below based on the drawings.
なお、この実施例においてはホスト計算機における処理
文字コードとしてEBCDrCコード、端末機特有の文
字コードとして仮名材ASCIIコードと英小文字材A
SCnコードの2つを有するものとして説明する。In this embodiment, the EBCDrC code is used as the character code processed by the host computer, and the kana material ASCII code and the lowercase English character material A are used as the character codes unique to the terminal.
The following description assumes that there are two SCn codes.
第1図におて1は主記憶装置、中央処理装置を含み、E
BCD I Cコードで処理するホスト計算機、2はこ
のホスト計算機1に接続されASCIIコードで入出力
を行う端末機としてのASCII端末、3はASCII
端末2を制御する通信管理機構、4は通信管理機構3が
ASCII端末2を制御するために端末定義テーブル、
5はホスト計算機1においてASCII端末2に対して
仮名付Asc11コードに変換するか、又は英小文字付
ASCIIコードに変換するかどうかを決める出力コー
ドタイプを持つ端末定義テーブル4をASCII端末か
らの入力文字コードを検出して変更するASCI I端
末文字制御機構である。通信管理機構3.端末定義テー
ブル4及びASCII端末文字制御機構5はホスト計算
機1内にある。In FIG. 1, 1 includes a main memory and a central processing unit, and E
A host computer that processes in BCD I C code, 2 is an ASCII terminal connected to this host computer 1 and performs input/output in ASCII code, 3 is an ASCII terminal
A communication management mechanism for controlling the terminal 2; 4 a terminal definition table for the communication management mechanism 3 to control the ASCII terminal 2;
5 is a terminal definition table 4 that has an output code type that determines whether to convert the ASCII terminal 2 to an ASCII code with kana characters or to an ASCII code with lowercase letters in the host computer 1. An ASCI I terminal character control mechanism that detects and changes codes. Communication management mechanism 3. A terminal definition table 4 and an ASCII terminal character control mechanism 5 are located within the host computer 1.
次に動作について説明する。Next, the operation will be explained.
端末定義テーブル4にあらかじめ定義されている端末機
特有の出力コードを仮名付A S CII :’17−
ドから英小文字材ASCnコード又は英小文字付ASC
IIコードから仮名材ASCIIコードに変更する場合
、ASCII端末2から変更要求を示す文字シーケンス
を入力する。ASCII:'17-
ASCn code for lowercase English characters or ASC with lowercase English characters
When changing from II code to kana material ASCII code, a character sequence indicating a change request is input from the ASCII terminal 2.
ASCII端末文字制御機構5は上記文字シーケンスに
に基づいて、その文字コードを検出し、端末定義テーブ
ル4の端末対応ASCIIコードに関する出力タイプコ
ードを変更する6変更後ホスト計算機1から出力される
EBCDIC出力デ6一
−タは通信管理機構3が端末定義テーブル4の変更され
た出力コードタイプに従い仮名付ASCIIコード又は
英小文字付ASCIIコードに変換してASCII端末
2へ出力する。The ASCII terminal character control mechanism 5 detects the character code based on the above character sequence, and changes the output type code related to the terminal compatible ASCII code in the terminal definition table 4. 6. EBCDIC output output from the host computer 1 after change. The data 61 is converted by the communication management mechanism 3 into an ASCII code with kana characters or an ASCII code with lowercase letters in accordance with the changed output code type of the terminal definition table 4, and output to the ASCII terminal 2.
この動作の手順を第2図のフローチャート図に示す。The procedure of this operation is shown in the flowchart of FIG.
第2図(a)はASII端末2から入力された文字シー
ケンスによってホスト計算機1からの入力コードを変換
する場合を示す
第2図(a)において、ステップ11はASCII端末
2から文字シルケンスを入力する過程、ステ・7プ12
はASCII端末文字制御機構5が上記文字シーケンス
に基づいて入力文字コードを検証する過程、ステップ1
3はASCII端末文字制御機構5が端末定義テーブル
の変更を行う過程、ステップ14はこの端末定義テーブ
ルの変更によってAscn端末からの入力文字コードを
ホスト計算機1で処理されるEBCD I Cコードに
変換する過程、ステップ14はユーザアプリケーション
プログラムに入力文字コードによって入力された入力デ
ータを渡す過程を示す。FIG. 2(a) shows the case where the input code from the host computer 1 is converted by the character sequence input from the ASII terminal 2. In FIG. 2(a), step 11 is inputting the character sequence from the ASCII terminal 2. Process, Step 7 12
Step 1 is a process in which the ASCII terminal character control mechanism 5 verifies the input character code based on the above character sequence.
3 is a process in which the ASCII terminal character control mechanism 5 changes the terminal definition table, and step 14 converts the input character code from the Ascn terminal into an EBCD IC code processed by the host computer 1 by changing the terminal definition table. The process, step 14, shows the process of passing the input data input by the input character code to the user application program.
また第2図(blはASCに端末2がら入力された文字
シーケンスによってホスト計算機1がらの出力コードを
変換する場合の流れを示す。FIG. 2 (bl) shows the flow of converting the output code from the host computer 1 based on the character sequence input to the ASC from the terminal 2.
第2図(blにおいて、ステップ15はASCU端末2
から文字シーケンスを入力して出方コードの変更を行う
出力処理の過程、ステップ16は上記文字シーケンスに
基づいて端末定義テーブル4の出力コードタイプをチェ
ックする過程、ステップ17はホスト計算機1で処理さ
れているEBCDICコードを英小文字付ASCnコー
ドに変換する過程、ステップ18はホスト計算機1で処
理されているEBCD I Cコードを仮名付ASCI
Iコードに変換する過程、ステップ19は端末定義テー
ブル4によって定義された出力コードに基づいてASC
n端末2に出力データを送信する過程を示す。FIG. 2 (in bl, step 15 is the ASCU terminal 2
step 16 is a process of checking the output code type in the terminal definition table 4 based on the character sequence, and step 17 is a process in which the output code is changed by inputting a character sequence from the host computer 1. In step 18, the EBCDIC code processed by the host computer 1 is converted into an ASCn code with a kana character.
The process of converting to I code, step 19, is based on the output code defined by the terminal definition table 4.
The process of transmitting output data to n terminal 2 is shown.
なお、上記実施例では仮名付ASCIIコードと英小文
字付ASCIIコードの場合について説明したが、端末
からの文字コードの要求でボスト計算機における処理文
字コードを端末特有のコードに動的に変換することもで
き、上記実施例と同様の効果を奏する。In addition, in the above embodiment, the cases of ASCII code with kana and ASCII code with lowercase alphabetic characters were explained, but the character code processed by the BOST computer may be dynamically converted into a code specific to the terminal in response to a character code request from the terminal. This embodiment has the same effect as the above embodiment.
以上説明したように、この発明によれば、端末機から入
力された出力コードタイプを指定する文字シーケンスに
基づいて上記ホスト計算機における処理文字コードを上
記端末機特有の文字コードに変換する端末文字制御機構
をホスト計算機内に設けので、ユーザアプリケーション
プログラムにおける独自のコード変換は必要なくなり、
また仮名付と英小文字付の変更に対してシステムの初期
化処理のやり直し等のシステムに対する不要な操作を行
う必要がなくなるという効果がある。As explained above, according to the present invention, the terminal character control converts the character code processed in the host computer into a character code specific to the terminal based on the character sequence input from the terminal and specifying the output code type. Since the mechanism is installed in the host computer, there is no need for unique code conversion in the user application program.
Furthermore, there is an effect that there is no need to perform unnecessary operations on the system such as re-initializing the system when changing between kana and lowercase letters.
第1図はこの発明の一実施例を示す構成図、第2図(a
)及び第2図山〕はこの発明の動作の流れを示すフロー
チャート図、第3図は従来の出力コード制御装置の構成
図である。
l・・・ホスト計算機、2・・・端末機として1二
・2角
一釘一
のASCU端末、3・・・通信管理機構、4・・・端末
定義テーブル、5・・・ASCII端末文字制御機構。FIG. 1 is a configuration diagram showing one embodiment of the present invention, and FIG. 2 (a
) and FIG. 2 are flowcharts showing the flow of operation of the present invention, and FIG. 3 is a configuration diagram of a conventional output code control device. l...Host computer, 2...12/2 square/one nail ASCU terminal as a terminal, 3...Communication management mechanism, 4...Terminal definition table, 5...ASCII terminal character control mechanism.
Claims (1)
コードに変換することにより端末機とホスト計算機との
間で情報の交換を行う端末装置の出力コード制御装置に
おいて、 端末機から入力された出力コードタイプを指定する文字
シーケンスに基づいて上記ホスト計算機における処理文
字コードを上記端末機特有の文字コードに変換する端末
文字制御機構をホスト計算機内に設けたことを特徴とす
る端末装置の出力コード制御装置。[Scope of Claims] An output code control device for a terminal device that exchanges information between the terminal device and the host computer by converting character codes processed by the host computer into character codes unique to the terminal, comprising: A terminal device characterized in that a terminal character control mechanism is provided in the host computer to convert the character code processed by the host computer into a character code specific to the terminal device based on a character sequence specifying an output code type. Output code control device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP60213971A JPS6274125A (en) | 1985-09-27 | 1985-09-27 | Output code control device for terminal equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP60213971A JPS6274125A (en) | 1985-09-27 | 1985-09-27 | Output code control device for terminal equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS6274125A true JPS6274125A (en) | 1987-04-04 |
Family
ID=16648094
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP60213971A Pending JPS6274125A (en) | 1985-09-27 | 1985-09-27 | Output code control device for terminal equipment |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS6274125A (en) |
-
1985
- 1985-09-27 JP JP60213971A patent/JPS6274125A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH113338A (en) | Multi-language input system, its method and recording medium recording multi-language input program | |
US7251667B2 (en) | Unicode input method editor | |
JPS6274125A (en) | Output code control device for terminal equipment | |
JP2624484B2 (en) | Chinese input processing method | |
JPH11328160A (en) | Device and method for character code conversion processing and storage medium where character code conversion processing program is recorded | |
JPS61163424A (en) | Keyboard | |
JPH0528156A (en) | Document data converter | |
JPS61253577A (en) | Japanese word processing filter | |
JPH0380363A (en) | Document processor | |
JPH0748210B2 (en) | Kana / alphabet conversion input method | |
JPS62151911A (en) | Data input device | |
JPS61267815A (en) | Data input device | |
JPS6376055A (en) | Original word/translated word display system in document forming device | |
JPS62237565A (en) | Sentence input device | |
JPH0243818A (en) | Method and device for key entry | |
JPH04133165A (en) | Kana/kanji converter | |
JPH04142611A (en) | Keyboard | |
JPS63129461A (en) | Kana-kanji conversion processor | |
JPH0233222A (en) | Method for converting internal expression form of character string | |
JPH02224064A (en) | Machine translation system | |
JPS635466A (en) | Priority decision system for kana (japanese syllabary) kanji (2354/20)chinese character) converting candidate | |
JPH0334010A (en) | Key input device | |
JPH05216822A (en) | Command input system in computer | |
JPH0216614A (en) | Established value pre-registration input system for general purpose terminal equipment | |
JPH0795296B2 (en) | Information sharing processing method in data processing system |