JPH0916578A - Text reception system of distributed type editor - Google Patents

Text reception system of distributed type editor

Info

Publication number
JPH0916578A
JPH0916578A JP7187842A JP18784295A JPH0916578A JP H0916578 A JPH0916578 A JP H0916578A JP 7187842 A JP7187842 A JP 7187842A JP 18784295 A JP18784295 A JP 18784295A JP H0916578 A JPH0916578 A JP H0916578A
Authority
JP
Japan
Prior art keywords
text
editing
storage area
edit
information
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
Application number
JP7187842A
Other languages
Japanese (ja)
Inventor
Akiko Dobashi
安紀子 土橋
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP7187842A priority Critical patent/JPH0916578A/en
Publication of JPH0916578A publication Critical patent/JPH0916578A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PURPOSE: To provide the text reception system of a distrubuted editor which is capable of transmitting more texts from a host side to a terminal side. CONSTITUTION: An editing device 10 stores an inputted instruction as edition information in an edition information storage area 20, performs the edition of the text stored in a text storage area 30 and outputs the result. A text controller 40 performs the control of the texts stored in the text storage area 30 asynchronously with the editing device 10 and is provided with a text reception means 42 receiving constant quantity of texts transmitted from a host side and a text control means 42 storing the received text in the storage area 30 and preparing the edition information for transmitting and receiving texts with the host side based on the edition information stored in an edition information storage area 20.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、分散型エディタのテキ
スト受信方式に関し、特に端末側がホスト側のテキスト
ファイル中のテキストを効率よく編集できるようにする
ための分散型エディタのテキスト受信方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a distributed editor text receiving system, and more particularly to a distributed editor text receiving system for enabling a terminal side to efficiently edit text in a text file on the host side.

【0002】[0002]

【従来の技術】従来、分散型エディタでは、なるべく多
くの被編集テキストを端末側で持ち、ホスト側から端末
側へのテキストの送信時間をできるだけ短縮すること
で、端末スタンドアロン型のエディタの操作性の良さに
近づけようとする以下のような試みがなされてきた。
2. Description of the Related Art Conventionally, in a distributed editor, the operability of a terminal stand-alone editor is improved by holding as much text as possible to be edited on the terminal side and shortening the transmission time of the text from the host side to the terminal side as much as possible. The following attempts have been made to approach the goodness of.

【0003】方式1 特開平1−244561号公報に開示されたオンライン
画面エディタでは、テキストを編集開始時に一括して端
末側に転送している。
Method 1 In the online screen editor disclosed in Japanese Patent Laid-Open No. 1-244561, the text is collectively transferred to the terminal side at the start of editing.

【0004】方式2 特開平2−140864号公報に開示された分散型エデ
ィタにおける端末側エディタのテキスト受信方式では、
必要とするテキストを連続して受信する場合、ホスト側
からテキストを受信するためのバッファを2つ用意し、
一方の受信バッファに格納されたテキストを受信完了通
知を待たずに、他方の受信バッファに対してテキスト受
信を行い、さらに画面(CRT端末装置)に対する表示
をホストからのテキスト受信と非同期に行うことで、ホ
スト側から端末側へのテキストの送信時間の短縮をはか
っている。
Method 2 In the text receiving method of the terminal side editor in the distributed editor disclosed in Japanese Patent Laid-Open No. 2-140864,
When receiving the required text continuously, prepare two buffers to receive the text from the host side,
The text stored in one reception buffer is received in the other reception buffer without waiting for the reception completion notification, and the display on the screen (CRT terminal device) is performed asynchronously with the text reception from the host. So, we are trying to reduce the time for sending text from the host side to the terminal side.

【0005】方式3 特開平3−116372号公報に開示されたMMLエデ
ィタのテキスト管理方式では、編集開始時に作業バッフ
ァの容量分のテキストを格納し、作業バッファに無いテ
キストを受信するとき、受信するテキストを格納するた
めに、作業バッファの各ブロックの編集回数をカウント
する編集カウントを参照することにより、最も編集頻度
の少ないブロックを見つけ、そのブロックのテキストを
ホストへ返却することで、ホスト側と端末側との間のテ
キスト転送回数を最小限にしている。
Method 3 In the text management method of the MML editor disclosed in Japanese Patent Laid-Open No. 3-116372, the text for the capacity of the work buffer is stored at the start of editing, and the text which is not in the work buffer is received. To store the text, the edit count that counts the number of edits in each block of the work buffer is referred to, the block with the least edit frequency is found, and the text of that block is returned to the host. The number of text transfers to and from the terminal side is minimized.

【発明が解決しようとする課題】[Problems to be solved by the invention]

【0006】上述した3つの方式には、各々以下のよう
な欠点がある。
Each of the above-mentioned three methods has the following drawbacks.

【0007】方式1 通常ホスト側の1つのテキストファイルに格納されてい
るテキスト量は、多量であることが多く、数万行に亘る
場合もある。しかし、ホスト側から端末側へ一回の転送
で送ることができる量は、最大でも20行程度であるた
め、この方式では、数万行のテキストのうち、ほんの数
箇所の修正を行う場合でも、編集開始時に、全テキスト
を送信する間待たされることになる。したがって、この
ような、大規模なファイルを複数編集する場合に、大幅
な編集機能の低下が生じることになる。
Method 1 Usually, the amount of text stored in one text file on the host side is often large, and sometimes extends to tens of thousands of lines. However, the maximum amount of data that can be sent from the host side to the terminal side in a single transfer is about 20 lines. Therefore, this method can correct only a few places of tens of thousands of lines of text. , At the start of editing, you have to wait while sending the entire text. Therefore, when a plurality of such large-scale files are edited, the editing function is significantly reduced.

【0008】方式2 この方式は、画面(CRT端末装置)に表示しながら、
効率良くテキストを転送しようとするものであるが、画
面への表示にかかる時間に比べると転送時間は長く、ま
た非同期受信を行うことで短縮される時間はわずかであ
る。さらに、この方式では、端末側でキーを入力してそ
の指示に従って編集作業を行う場合、利用者が画面を見
ながら考えているといった時間を含めて、キーの入力要
求を行ってからキーを受け取るまでの時間には、テキス
トの受信ができないという欠点がある。
Method 2 In this method, while displaying on the screen (CRT terminal device),
Although it attempts to transfer text efficiently, the transfer time is longer than the time it takes to display it on the screen, and the time saved by performing asynchronous reception is short. Furthermore, in this method, when a key is input on the terminal side and editing is performed according to the instruction, the key input request is received after the key input request including the time when the user is thinking while looking at the screen. In the time up to, there is a drawback that text cannot be received.

【0009】方式3 この方式では、端末側の作業バッファが小さいことを前
提としているが、ここ2年程の間にメモリやディスクは
低価格化し、端末側にもかなり多くのテキストを保有す
ることが可能となった。また、ワークステーションの性
能向上のため、ディスクI/0速度も格段に速くなっ
た。さらに、この方法を用いてホスト側に返却されたテ
キストが次の編集に必要にならないとは、必ずしも言え
ない。このため、この方法のように、一旦受信したテキ
ストを返却することを考えるよりも、端末側のメモリや
ディスク領域を活用し、ため込むことを考える方がより
実際的になってきた。
Method 3 This method is based on the assumption that the work buffer on the terminal side is small, but in the last two years or so, the prices of memory and disk have been reduced, and the terminal side has a considerable amount of text. Became possible. In addition, the disk I / 0 speed has been remarkably increased due to the improved performance of the workstation. Furthermore, it cannot be said that the text returned to the host side using this method is not needed for the next edit. For this reason, it becomes more practical to consider using the memory or disk area on the terminal side to store the text, rather than considering returning the received text as in this method.

【0010】本発明は、かかる事情に基づきなされたも
ので、より多くのテキストをホスト側から端末側に送る
ことができる分散型エディタのテキスト受信方式を提供
することを目的とする。また、本発明は、編集処理中に
ホスト側からのテキスト送信処理を待ち合わせることが
なくなる分散型エディタのテキスト受信方式を提供する
ことを目的とする。
The present invention has been made under the above circumstances, and an object thereof is to provide a text receiving system of a distributed editor capable of sending more text from the host side to the terminal side. Another object of the present invention is to provide a text receiving method for a distributed editor that does not wait for text transmission processing from the host side during editing processing.

【0011】[0011]

【課題を解決するための手段】上記の目的を達成するた
め、本発明の分散型エディタのテキスト受信方式は、入
力された指示を編集情報として編集情報格納領域に格納
し、テキスト格納領域に格納されているテキストの編集
を行い、その結果を出力する編集装置と、前記編集情報
格納領域及び前記テキスト格納領域を起動時に作成する
とともに、前記テキスト格納領域に格納するテキストの
管理を前記編集装置とは非同期に行うテキスト管理装置
とを備え、さらに、前記テキスト管理装置が、ホスト側
から送信された一定量のテキストを受信するテキスト受
信手段と、受信したテキストを前記テキスト格納領域に
格納すると共に、前記編集情報格納領域に溜められた編
集情報に基づきホスト側との間でテキストを送受するた
めの編集情報を作成するテキスト管理手段と、作成され
た編集情報をホスト側へ送信する編集情報送信手段とを
備える構成としている。
In order to achieve the above object, the text receiving method of the distributed editor according to the present invention stores an input instruction as edit information in an edit information storage area and stores it in the text storage area. An editing device that edits the stored text and outputs the result, creates the editing information storage area and the text storage area at startup, and manages the text stored in the text storage area with the editing device. Includes a text management device that performs asynchronously, further, the text management device, a text receiving means for receiving a fixed amount of text transmitted from the host side, and stores the received text in the text storage area, Based on the edit information stored in the edit information storage area, create edit information for sending and receiving text with the host side. Text management means for, has a configuration and a editing information transmission means for transmitting the editing information created to the host side.

【0012】また、他の態様では、前記編集装置が、テ
キスト全体に対する編集処理が指定された場合、テキス
ト管理装置から編集開始通知が来るまで編集作業の待ち
合わせを行い、テキスト管理装置から編集開始通知があ
れば、テキスト格納領域中のテキストに対してのみ編集
を行い、この編集作業が終了するとその旨をテキスト管
理に通知し、テキスト管理手段が、編集情報格納領域に
格納されている編集情報を調べて、テキスト全体に対す
る編集処理が指定された場合、テキスト格納領域に全て
のテキストが格納されているか調べ、格納されていなけ
れば、ホスト側からのテキスト送信を中断するための編
集情報を付加し、ホスト側から受信したテキストのテキ
スト格納領域への格納を終了してから、編集装置へ編集
開始通知を送り、編集装置から編集終了通知を受け取る
と、ホストに次のテキスト要求をするための編集情報を
作成し、編集情報送信手段が、他の編集要求とともにテ
キスト全体に対しての編集要求をホスト側に送信し、テ
キスト受信手段が、ホスト側のテキスト全体に対する編
集処理が終了したことを、次のテキストの受信により判
定する構成としている。
[0012] In another aspect, when the editing device specifies editing processing for the entire text, the editing device waits until the editing start notification is received from the text management device, and the editing start notification is sent from the text management device. If so, only the text in the text storage area is edited, and when this editing work is completed, the text management is notified of that fact, and the text management means stores the editing information stored in the editing information storage area. If the editing process for the entire text is specified, check to see if all the text is stored in the text storage area. If it is not stored, add the editing information for interrupting the text transmission from the host side. , After the storage of the text received from the host side in the text storage area is completed, send an edit start notification to the editing device, When the edit completion notification is received from the collection device, edit information for making the next text request to the host is created, and the edit information transmission means sends the edit request for the entire text to the host side together with other edit requests. Then, the text receiving means determines that the editing process for the entire text on the host side is completed by receiving the next text.

【0013】また、他の態様では、前記テキスト管理装
置が、テキスト格納領域と編集情報格納領域を、共用メ
モリに作成するか、ディスク上に作成するか決定し、さ
らにその位置や大きさを動的に決定し、領域を確保する
領域作成手段をさらに具備する構成としている。
In another aspect, the text management device determines whether the text storage area and the edit information storage area are to be created in the shared memory or on the disk, and the position and size thereof are changed. Area determination means that determines the area and secures the area.

【0014】[0014]

【作用】本発明では、テキストの受信処理と編集処理と
を非同期に行うことにより、より多くのテキストをホス
ト側から端末側に送ることができ、また編集処理中にホ
スト側からのテキスト送信処理を待ち合わせることがな
くなる。
According to the present invention, by performing the text receiving process and the editing process asynchronously, more text can be sent from the host side to the terminal side, and the text sending process from the host side during the editing process. I will not wait for you.

【0015】また、本発明では、端末側にまだ全てのテ
キストが存在していないときに、テキスト全体に対する
処理を行っても、一度端末側に送信したものを無効にす
ることがなくなる。
Further, according to the present invention, when all the text does not yet exist on the terminal side, even if the processing for the entire text is carried out, the text once transmitted to the terminal side is not invalidated.

【0016】さらに、本発明では、システムジェネレー
ションの指定でワークステーションの装備を最大限に活
用して、出来るだけ多くのテキストを端末側に保持して
おくことができるため、スタンドアロン型のエディタと
変わらない操作性で、ホスト側の大規模なプログラムを
扱うことが可能となる。
Further, according to the present invention, since the equipment of the workstation can be fully utilized by designating the system generation and as much text as possible can be held on the terminal side, it is different from the stand-alone type editor. It is possible to handle large-scale programs on the host side with no operability.

【0017】[0017]

【実施例】以下、本発明の実施例の詳細を図面に基づき
説明する。図1は本発明の一実施例に係るシステムの構
成を示す図である。同図において、10は編集装置、4
0はテキスト管理装置である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The embodiments of the present invention will be described below in detail with reference to the drawings. FIG. 1 is a diagram showing the configuration of a system according to an embodiment of the present invention. In the figure, 10 is an editing device, 4
0 is a text management device.

【0018】編集装置10は、ディスプレイ/キーボー
ド60からの指示を編集情報として、編集情報格納領域
20に格納し、テキスト格納領域30に格納されている
テキストの編集を行い、その結果をディスプレイ/キー
ボード60に表示する。さらに、テキスト全体に対する
編集処理が指定された場合、テキスト管理装置40から
編集開始通知が来るまで編集作業の待ち合わせを行う。
そして、テキスト管理装置40から編集開始通知があれ
ば、テキスト格納領域30中のテキストに対してのみ編
集を行い、この編集作業が終了するとその旨をテキスト
管理装置40に通知する。
The editing device 10 stores the instruction from the display / keyboard 60 as editing information in the editing information storage area 20, edits the text stored in the text storage area 30, and displays the result as the display / keyboard. 60 is displayed. Further, when the editing process for the entire text is designated, the editing work is waited until the editing start notification is received from the text management device 40.
Then, if there is an edit start notification from the text management device 40, only the text in the text storage area 30 is edited, and when the editing work is completed, the text management device 40 is notified of that fact.

【0019】テキスト管理装置40は、端末側で行われ
た編集がホスト側でも行われるようにするために、ホス
ト側に送られる編集情報を一時的に格納しておくための
編集情報格納領域20や編集装置10が編集に使用する
テキスト格納領域30を起動時に作成し、テキスト格納
領域30に格納するテキストの管理を編集装置10と非
同期に行う。このテキスト管理装置40は、編集情報送
信手段41、テキスト管理手段42、領域作成手段43
及びテキスト受信手段44を有する。
The text management device 40 has an edit information storage area 20 for temporarily storing edit information sent to the host side so that the edit made on the terminal side can be performed on the host side. The text storage area 30 used by the editing apparatus 10 for editing is created at startup, and the text stored in the text storage area 30 is managed asynchronously with the editing apparatus 10. The text management device 40 includes an edit information transmission unit 41, a text management unit 42, and an area creation unit 43.
And a text receiving means 44.

【0020】編集情報送信手段41は、編集情報を分散
型エディタのホスト側へ送信すると共に、他の編集要求
とともにテキスト全体に対しての編集要求をホスト側に
送信する。テキスト受信手段44は、ホスト側から送信
された一定量のテキストを受信し、さらに、ホスト側の
テキスト全体に対する編集処理が終了したことを、次の
テキストの受信により判定する。
The edit information sending means 41 sends the edit information to the host side of the distributed editor, and sends an edit request for the entire text to the host side together with other edit requests. The text receiving unit 44 receives a certain amount of text transmitted from the host side, and further determines that the editing process for the entire text on the host side has ended by receiving the next text.

【0021】テキスト管理手段42は、ホスト側から得
たテキストをテキスト格納領域30に格納したり、編集
情報格納領域20に溜められた編集情報を編集が行われ
た順に取り出し、必要に応じてホスト側に送る編集情報
を選別したり、テキストを要求するための編集情報を付
加または変更、削除したり、ホスト側からのテキスト送
信を中断するための編集情報を付加したりすることによ
り、端末側にまだ存在していないテキストをホスト側か
ら効率良く受信できるようにしたり、編集情報格納領域
20に格納されている編集情報を調べて、テキスト全体
に対する編集処理が指定された場合、テキスト格納領域
30に全てのテキストが格納されているか調べ、格納さ
れていなければ、ホスト側からのテキスト送信を中断す
るための編集情報を付加し、ホスト側から受信したテキ
ストのテキスト格納領域30への格納を終了してから、
編集装置10へ編集開始通知を送り、編集装置10から
編集終了通知を受け取ると、ホストに次のテキスト要求
をするための編集情報を作成する。
The text management means 42 stores the text obtained from the host side in the text storage area 30 and takes out the editing information stored in the editing information storage area 20 in the order in which the editing was performed, and if necessary, the host The terminal side can be selected by selecting the edit information to be sent to the user side, adding or changing or deleting the edit information for requesting the text, and adding the edit information for interrupting the text transmission from the host side. If the edit processing for the entire text is specified by checking the edit information stored in the edit information storage area 20 so that text that does not yet exist in the host can be efficiently received from the host side, the text storage area 30 Check whether all the texts are stored in, and if not, edit information to interrupt the text transmission from the host side. Addition to, from the end of the storage of the text storage area 30 of the text received from the host,
When the editing start notification is sent to the editing device 10 and the editing end notification is received from the editing device 10, the editing information for making the next text request to the host is created.

【0022】領域作成手段43は、テキスト管理装置4
0がSG(システムジェネレーション)情報50を参照
して、テキスト格納領域30と編集情報格納領域20
を、ワークステーションのメモリ容量やディスク容量等
の環境を最大限に活用できるようにするために、共用メ
モリに作成するか、ディスク上に作成するか決定し、さ
らにその位置や大きさを動的に決定し、領域を確保す
る。
The area creating means 43 is a text management device 4
0 refers to SG (system generation) information 50 and refers to the text storage area 30 and the edit information storage area 20.
To make maximum use of the environment such as the memory capacity and disk capacity of the workstation, decide whether to create it in shared memory or on disk, and further change its position and size dynamically. Determine and secure the area.

【0023】次に、このように構成されたシステムの動
作を図2に示すフローチャートに基づき説明する。ここ
では、分散型エディタを起動し、ホスト側のファイルか
らテキストを読み込み、スクロールして目的のテキスト
に対する修正を行った後、ファイルの最後のテキストの
位置付けを行い、ファイル全体に対して特定の文字列の
一括置換を行った場合を例にとり説明する。
Next, the operation of the system thus constructed will be described with reference to the flow chart shown in FIG. Here we start a decentralized editor, read the text from the file on the host side, scroll and make some corrections to the desired text, then position the last text of the file, and then the specific character for the whole file. An example will be described in which the columns are collectively replaced.

【0024】分散型エディタが起動されると(ステップ
201)、編集装置10が起動される(ステップ21
1)とともに、テキスト管理装置40が起動される(ス
テップ221)。
When the distributed editor is activated (step 201), the editing device 10 is activated (step 21).
Along with 1), the text management device 40 is activated (step 221).

【0025】次に、テキスト管理装置40は、編集情報
格納領域20を作成する(ステップ222)とともに、
テキスト格納領域30を作成する(ステップ223)。
このとき、これらの領域は、領域作成手段43により、
SG情報50を参照してメモリまたはディスク上に作成
される。
Next, the text management device 40 creates the edit information storage area 20 (step 222) and
The text storage area 30 is created (step 223).
At this time, these areas are created by the area creating means 43.
It is created on a memory or a disk with reference to the SG information 50.

【0026】一方、編集装置10は、ディスプレイ/キ
ーボード60からのキーを入力して(ステップ21
2)、入力したキーに基づき編集情報を作成し、編集情
報格納領域20に格納する(ステップ213)。
On the other hand, the editing device 10 inputs a key from the display / keyboard 60 (step 21).
2) The edit information is created based on the entered key and stored in the edit information storage area 20 (step 213).

【0027】このとき、入力したキーが「ファイルの読
み込み」を指示しているとすると、編集情報は、「読み
込み(ファイル情報)」、「テキスト要求(開始行位
置:先頭、範囲:ファイルの最後まで、方向:昇
順)」、「ファイル情報(総行数等)要求」とからな
る。
At this time, if the input key is for instructing "read file", the edit information is "read (file information)", "text request (start line position: start, range: end of file). , Direction: ascending order) ”and“ request file information (total number of lines, etc.) ”.

【0028】テキスト管理装置40は、テキスト管理手
段42により、編集情報格納領域20に編集情報が格納
されているか確認し(ステップ224)、格納されてい
れば、編集情報送信手段41により、ホスト側に送信す
る(ステップ225)。このとき、テキスト管理手段4
2は、送信した編集情報に「テキスト要求(開始行位
置:先頭、範囲:全て、方向:昇順)」が存在していた
ことを記憶する。
In the text management device 40, the text management means 42 confirms whether or not the edit information is stored in the edit information storage area 20 (step 224), and if the edit information is stored, the edit information transmission means 41 causes the host side. (Step 225). At this time, the text management means 4
2 stores that "text request (start line position: head, range: all, direction: ascending order)" was present in the transmitted edit information.

【0029】ホストは編集情報にしたがってファイルを
開き、総行数等のファイル情報と先頭のテキストから一
画面を一単位として、すべてのテキストの送信を開始す
る。テキスト受信手段44によりホストから送られて来
る一画面分のテキストを受信し(ステップ226)、テ
キスト管理手段42によりテキスト格納領域30にテキ
ストを格納し(ステップ227)、再び編集情報格納領
域20を調べ(ステップ224)、まだ編集情報が格納
されていなければ、再びテキスト受信手段44により次
の一画面分のテキストを受信する(ステップ226)。
The host opens the file according to the edit information, and starts transmission of all the texts in a unit of one screen from the file information such as the total number of lines and the leading text. The text reception means 44 receives the text for one screen sent from the host (step 226), the text management means 42 stores the text in the text storage area 30 (step 227), and the edit information storage area 20 is stored again. It is checked (step 224), and if the editing information is not yet stored, the text receiving means 44 receives the text for the next one screen again (step 226).

【0030】この間、編集装置10は、ステップ213
で作成された編集情報を調べて(ステップ214)、デ
ィスプレイ/キーボード60に表示するのに必要なテキ
ストをテキスト格納領域30より入力し、表示のための
加工処理を行い(ステップ215)、ディスプレイ/キ
ーボード60に表示する(ステップ216)。
During this time, the editing device 10 operates in step 213.
The editing information created in step S21 is checked (step 214), the text required for display on the display / keyboard 60 is input from the text storage area 30, and the processing for display is performed (step 215). It is displayed on the keyboard 60 (step 216).

【0031】次に、編集装置10では、ステップ212
において入力されたキーがスクロール要求であった場
合、「テキスト表示位置の変更(行位置、桁位置)」と
「テキスト要求(開始行位置:次の行、範囲:一画面
分、方向:昇順)」とからなる編集情報を作成し、編集
情報格納領域20に格納する(ステップ213)。
Next, in the editing device 10, step 212
When the key entered in is a scroll request, "Change text display position (line position, column position)" and "Text request (start line position: next line, range: one screen, direction: ascending order) Edit information consisting of "" is stored in the edit information storage area 20 (step 213).

【0032】一方、テキスト管理装置40は、この編集
情報を入力した場合(ステップ224)、テキスト管理
手段42により、すでに「テキスト要求(開始行位置:
先頭、範囲:全て、方向:昇順)」がホストになされて
いることを確認し、これらの編集情報はホストに送ら
ず、テキスト受信処理を行う(ステップ226)。
On the other hand, when the text management device 40 inputs this editing information (step 224), the text management means 42 has already sent "text request (start line position:
"Head, range: all, direction: ascending order)" is confirmed to the host, and the edit information is not sent to the host, and text reception processing is performed (step 226).

【0033】編集装置10は、ディスプレイ6に表示す
るのに必要なテキストをテキスト格納領域30より入力
し(ステップ214)、カーソル位置情報の変更及び表
示のための加工処理を行い(ステップ215)、ディス
プレイ/キーボード60に表示する(ステップ21
6)。
The editing device 10 inputs the text necessary for displaying on the display 6 from the text storage area 30 (step 214), performs the processing for changing and displaying the cursor position information (step 215), Display on the display / keyboard 60 (step 21)
6).

【0034】さらに、ステップ212において入力され
たキーが「カーソル位置への1文字挿入」であった場合
は、「一文字挿入(行位置、桁位置)」なる編集情報を
作成し、編集情報格納領域20に格納する(ステップ2
13)。テキスト格納領域30中の当該箇所を編集する
(ステップ214)。
Further, when the key input in step 212 is "insert one character at cursor position", edit information "insert one character (line position, column position)" is created, and the edit information storage area is created. 20 (step 2)
13). The portion in the text storage area 30 is edited (step 214).

【0035】一方、テキスト管理装置40は、テキスト
管理手段42によりこのようなテキストの編集を指示す
る編集情報が溜っていればそれを入力し(ステップ22
4)、編集情報送信手段41により、溜った順でホスト
に送信する。
On the other hand, in the text management device 40, if the text management means 42 stores the editing information for instructing the editing of such text, it is input (step 22).
4) The edit information transmitting means 41 transmits the data to the host in the order of accumulation.

【0036】また、ステップ212において入力された
キーが「ファイルの最後への位置付け要求」であった場
合、編集装置10は「テキスト表示位置の変更(行位
置、桁位置)」と「テキスト要求(開始行位置:ファイ
ルの最後の行、範囲:一画面分、方向:降順)」とから
なる編集情報を作成し、編集情報格納領域20に格納す
る(ステップ213)。
If the key entered in step 212 is "positioning request to end of file", the editing device 10 changes "text display position (line position, column position)" and "text request ( Start line position: last line of file, range: one screen, direction: descending order), and the edit information is stored in the edit information storage area 20 (step 213).

【0037】一方、テキスト管理装置40は、ステップ
224において、この編集情報を入力した場合であっ
て、テキスト管理手段42により、テキスト要求してい
る開始行位置が、すでに受信しているテキストにない場
合、ホストに対して、「テキスト送信中止」と「テキス
ト要求(開始行位置:フィイルの最後の行、範囲:一画
面分、方向:降順)」を作成し、編集情報送信手段41
により送信する(ステップ225)。
On the other hand, when the text management device 40 inputs this editing information in step 224, the start line position for which the text is requested by the text management means 42 does not exist in the text already received. In this case, "text transmission stop" and "text request (start line position: last line of the file, range: one screen, direction: descending order)" are created for the host, and the edit information transmission means 41 is created.
Is transmitted (step 225).

【0038】さらに、ステップ212において入力され
たキーが「ファイルの全体に対する特定の文字列の一括
置換要求」であった場合、編集装置10は「文字列一括
置換(範囲:ファイル全体、置換文字列、被置換文字
列)」なる編集情報を作成し、編集情報格納領域20に
格納し(ステップ213)、テキスト管理装置40から
の指示を持つ。
Further, when the key input in step 212 is "request for batch replacement of specific character string for entire file", the editing device 10 displays "character string batch replacement (range: entire file, replacement character string. , Replaced character string) ”, and stores it in the edit information storage area 20 (step 213) and has an instruction from the text management device 40.

【0039】一方、テキスト管理装置40は、ステップ
224において、この編集情報を入力した場合、テキス
ト管理手段42により、テキスト格納領域30にはまだ
すべてのテキストが格納されていないのを確認し、編集
情報送信手段41により「テキスト送信中止」及び、
「文字列一括置換(範囲:ファイル全体、置換文字列、
被置換文字列)」をホストに送信する(ステップ22
5)。また、テキスト受信手段44により、すでにホス
トから送信されたテキストをすべて送信しつくした後、
テキスト管理手段42によりテキスト格納領域30に格
納し、編集装置10に対して端末側の編集作業の開始を
指示する。編集装置10は、テキスト格納領域30のテ
キストに対して編集を行うと、その旨をテキスト管理装
置40に伝える。
On the other hand, when the text management device 40 inputs this editing information in step 224, the text management means 42 confirms that all the texts are not yet stored in the text storage area 30, and edits them. "Cancel text transmission" by the information transmission means 41, and
"String replacement (range: whole file, replacement string,
"Replaced character string)" is transmitted to the host (step 22).
5). In addition, after the text receiving means 44 has transmitted all the text already transmitted from the host,
The text is stored in the text storage area 30 by the text management means 42, and the editing device 10 is instructed to start editing work on the terminal side. When the editing device 10 edits the text in the text storage area 30, the editing device 10 notifies the text management device 40 of the fact.

【0040】テキスト管理装置40は、テキスト管理手
段42により、「テキスト要求(開始行位置:最後に受
信したテキストの一つ前の行、範囲:全て、方向:降
順)」なる編集情報を作成し、編集情報送信手段41に
より送信する。
In the text management device 40, the text management means 42 creates edit information "text request (start line position: line immediately before the last received text, range: all, direction: descending order)". , By the edit information transmitting means 41.

【0041】テキスト管理装置40は、テキスト管理手
段42により、テキスト格納領域30にすべてのテキス
トが格納されると、ホストに対して、「テキスト要求の
中止」を送信する。
When all the texts have been stored in the text storage area 30 by the text management means 42, the text management device 40 sends "stop text request" to the host.

【0042】なお、本発明は、上述した実施例に限定さ
れるものではなく、その技術思想の範囲内でさまざまに
変形して実施することができる。
The present invention is not limited to the above-mentioned embodiments, but can be carried out in various modifications within the scope of its technical idea.

【0043】[0043]

【発明の効果】以上説明したように、本発明によれば、
テキストの受信処理と編集処理とを非同期に行うことに
より、この種のエディタの処理の中では最も長い、利用
者が画面を見ながら考えている時間や、画面内の編集作
業(直接編集やカーソル移動等)を行っている時間を有
効に利用して、多くのテキストをホスト側から端末側に
送ることができる。また、編集処理中にホスト側からの
テキスト送信処理を待ち合わせることがなくなる。
As described above, according to the present invention,
By performing the text receiving process and the editing process asynchronously, the longest time of the process of this kind of editor, the time the user is thinking while looking at the screen, and the editing work on the screen (direct editing or cursor A lot of text can be sent from the host side to the terminal side by effectively utilizing the time when moving (moving etc.). In addition, the text transmission process from the host side does not wait during the editing process.

【0044】さらに、本発明では、端末側にまだ全ての
テキストが存在していないときに、テキスト全体に対す
る処理を行っても、一度端末側に送信したものを無効に
することがなくなる。
Further, according to the present invention, when all the text does not yet exist on the terminal side, even if the processing for the entire text is performed, what is once transmitted to the terminal side is not invalidated.

【0045】また、本発明では、システムジェネレーシ
ョンの指定でワークステーションの装備を最大限に活用
して、出来るだけ多くのテキストを端末側に保持してお
くことができるため、スタンドアロン型のエディタと変
わらない操作性で、ホスト側の大規模なプログラムを扱
うことが可能となる。
Further, in the present invention, since the equipment of the workstation can be fully utilized by designating the system generation and as much text as possible can be held on the terminal side, it is different from the stand-alone type editor. It is possible to handle large-scale programs on the host side with no operability.

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

【図1】本発明の一実施例に係るシステムの構成を示す
図である。
FIG. 1 is a diagram showing a configuration of a system according to an embodiment of the present invention.

【図2】本発明の一実施例に係るシステムの動作を示す
フローチャートである。
FIG. 2 is a flowchart showing the operation of the system according to the embodiment of the present invention.

【符号の説明】[Explanation of symbols]

10 編集装置 20 編集情報格納領域 30 テキスト格納領域 40 テキスト管理装置 41 編集情報送信手段 42 テキスト管理手段 43 領域作成手段 44 テキスト受信手段 50 SG(システムジェネレーション)情報 60 ディスプレイ/キーボード 10 Editing Device 20 Editing Information Storage Area 30 Text Storage Area 40 Text Management Device 41 Editing Information Transmission Means 42 Text Management Means 43 Area Creating Means 44 Text Receiving Means 50 SG (System Generation) Information 60 Display / Keyboard

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 入力された指示を編集情報として編集情
報格納領域に格納し、テキスト格納領域に格納されてい
るテキストの編集を行い、その結果を出力する編集装置
と、 前記編集情報格納領域及び前記テキスト格納領域を起動
時に作成するとともに、前記テキスト格納領域に格納す
るテキストの管理を前記編集装置とは非同期に行うテキ
スト管理装置とを備え、 さらに、前記テキスト管理装置が、 ホスト側から送信された一定量のテキストを受信するテ
キスト受信手段と、 受信したテキストを前記テキスト格納領域に格納すると
共に、前記編集情報格納領域に溜められた編集情報に基
づきホスト側との間でテキストを送受するための編集情
報を作成するテキスト管理手段と、 作成された編集情報をホスト側へ送信する編集情報送信
手段とを具備することを特徴とする分散型エディタのテ
キスト受信方式。
1. An editing device which stores an input instruction as editing information in an editing information storage area, edits a text stored in the text storage area, and outputs the result, and the editing information storage area and A text management device that creates the text storage area at startup and manages the text stored in the text storage area asynchronously with the editing device; further, the text management device is transmitted from the host side. A text receiving means for receiving a certain amount of text, and for storing the received text in the text storage area and transmitting and receiving the text between the host side based on the edit information stored in the edit information storage area. A text management means for creating the edited information of the above, and an edit information transmitting means for transmitting the created edited information to the host side. Text receiving system distributed editor, characterized in that it comprises.
【請求項2】 前記編集装置が、テキスト全体に対する
編集処理が指定された場合、テキスト管理装置から編集
開始通知が来るまで編集作業の待ち合わせを行い、テキ
スト管理装置から編集開始通知があれば、テキスト格納
領域中のテキストに対してのみ編集を行い、この編集作
業が終了するとその旨をテキスト管理に通知し、 テキスト管理手段が、編集情報格納領域に格納されてい
る編集情報を調べて、テキスト全体に対する編集処理が
指定された場合、テキスト格納領域に全てのテキストが
格納されているか調べ、格納されていなければ、ホスト
側からのテキスト送信を中断するための編集情報を付加
し、ホスト側から受信したテキストのテキスト格納領域
への格納を終了してから、編集装置へ編集開始通知を送
り、編集装置から編集終了通知を受け取ると、ホストに
次のテキスト要求をするための編集情報を作成し、 編集情報送信手段が、他の編集要求とともにテキスト全
体に対しての編集要求をホスト側に送信し、 テキスト受信手段が、ホスト側のテキスト全体に対する
編集処理が終了したことを、次のテキストの受信により
判定することを特徴とする請求項1に記載の分散型エデ
ィタのテキスト受信方式。
2. When the editing device designates an editing process for the entire text, the editing operation waits until an editing start notification is received from the text management device, and if there is an editing start notification from the text management device, the text is edited. Editing is performed only on the text in the storage area, and when this editing work is completed, the text management is notified, and the text management means examines the editing information stored in the editing information storage area to check the entire text. If the edit process for is specified, check whether all the text is stored in the text storage area. If not, add the edit information for interrupting the text transmission from the host side and receive it from the host side. After storing the selected text in the text storage area, send an edit start notification to the editing device, and When the notification is received, edit information for making the next text request to the host is created, and the edit information sending means sends the edit request for the entire text to the host side together with other edit requests, and the text receiving means 2. The text receiving method of the distributed editor according to claim 1, wherein the completion of the editing process for the entire text on the host side is determined by receiving the next text.
【請求項3】 前記テキスト管理装置が、テキスト格納
領域と編集情報格納領域を、共用メモリに作成するか、
ディスク上に作成するか決定し、さらにその位置や大き
さを動的に決定し、領域を確保する領域作成手段をさら
に具備することを特徴とする請求項1または請求項2に
記載の分散型エディタのテキスト受信方式。
3. The text management device creates a text storage area and an edit information storage area in a shared memory,
3. The distributed type according to claim 1, further comprising an area creating means for deciding whether to create on the disk, dynamically determining the position and size thereof, and securing an area. The text receiving method of the editor.
JP7187842A 1995-06-30 1995-06-30 Text reception system of distributed type editor Pending JPH0916578A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7187842A JPH0916578A (en) 1995-06-30 1995-06-30 Text reception system of distributed type editor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7187842A JPH0916578A (en) 1995-06-30 1995-06-30 Text reception system of distributed type editor

Publications (1)

Publication Number Publication Date
JPH0916578A true JPH0916578A (en) 1997-01-17

Family

ID=16213188

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7187842A Pending JPH0916578A (en) 1995-06-30 1995-06-30 Text reception system of distributed type editor

Country Status (1)

Country Link
JP (1) JPH0916578A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63124165A (en) * 1986-11-13 1988-05-27 Nec Corp Compiling system for conversational information processing system
JPS63143662A (en) * 1986-12-05 1988-06-15 Nec Corp Text managing system
JPS63268064A (en) * 1987-04-24 1988-11-04 Nec Corp Picture type text editor control system distributedly processed by host computer and terminal equipment
JPH03137767A (en) * 1989-10-24 1991-06-12 Oki Software Chugoku:Kk Data editing system
JPH05324651A (en) * 1992-05-18 1993-12-07 Hitachi Ltd Distributed type text editor

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63124165A (en) * 1986-11-13 1988-05-27 Nec Corp Compiling system for conversational information processing system
JPS63143662A (en) * 1986-12-05 1988-06-15 Nec Corp Text managing system
JPS63268064A (en) * 1987-04-24 1988-11-04 Nec Corp Picture type text editor control system distributedly processed by host computer and terminal equipment
JPH03137767A (en) * 1989-10-24 1991-06-12 Oki Software Chugoku:Kk Data editing system
JPH05324651A (en) * 1992-05-18 1993-12-07 Hitachi Ltd Distributed type text editor

Similar Documents

Publication Publication Date Title
EP0323795B1 (en) Method and system for sharing data processing functions among multiple processors
JPS62281668A (en) Picture information processor
US7120860B1 (en) Display control apparatus and storage medium
US4642792A (en) Data processor printer setup through a remote display terminal
JP3711210B2 (en) Document editing system and program recording medium
EP0111691A1 (en) Data processing system with a printer setup through a remote display terminal
JPS63124165A (en) Compiling system for conversational information processing system
JPH11212962A (en) Document processing apparatus and method, and storage medium
JPH0762842B2 (en) Document management device
JPH04279959A (en) Information processor
JPS6354672A (en) Local area network system for cad
JP3311057B2 (en) Graphic processing apparatus and method
JPH10171999A (en) Graph display device
JP3124569B2 (en) Download control device
JP2864537B2 (en) Schematic program editing device
JP2005190189A (en) Document preparation processing system, document preparation management device, document preparation device, and method and program for preparing document
JPH05274263A (en) On-line image display scroll system
JPH0748214B2 (en) Data editing system
JPH0836569A (en) File editing processor
JPS6299827A (en) Buffer control method
JPH0997160A (en) Information processing method and device
JPS6365572A (en) Image information storing and retrieving device
JPH06149741A (en) Data editing method
JPH07162450A (en) Circulation / distribution management device
JPH06149803A (en) Document editing device