JP2578884B2 - Display text scrolling execution method - Google Patents

Display text scrolling execution method

Info

Publication number
JP2578884B2
JP2578884B2 JP63049045A JP4904588A JP2578884B2 JP 2578884 B2 JP2578884 B2 JP 2578884B2 JP 63049045 A JP63049045 A JP 63049045A JP 4904588 A JP4904588 A JP 4904588A JP 2578884 B2 JP2578884 B2 JP 2578884B2
Authority
JP
Japan
Prior art keywords
line
data
physical
logical
buffer
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.)
Expired - Fee Related
Application number
JP63049045A
Other languages
Japanese (ja)
Other versions
JPH01222296A (en
Inventor
佳子 山崎
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP63049045A priority Critical patent/JP2578884B2/en
Publication of JPH01222296A publication Critical patent/JPH01222296A/en
Application granted granted Critical
Publication of JP2578884B2 publication Critical patent/JP2578884B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔概要〕 ディスプレイ装置上に表示される表示テキストのスク
ロール実行方式に関し, 1論理行が1物理行でないときに生ずる重複的な表示
の発生の防止を目的とし, スクロール要求があるときに論理行データをもって元
データを順序よく取出していくスクロール実行手段と,
このスルロール実行手段により取出される論理行データ
を一時的に格納する第1のテンポラリーバッファと,逆
方向をもって上記スクロール実行手段により取出される
論理行データを一時的に格納する第2のテンポラリーバ
ッファと,この第1及び第2のテンポラリーバッファを
介して入力される複数の論理行データを格納するスクリ
ーンバッファとを備えることで,ディスプレイ装置に表
示される表示テキストのスクロールを実行するスクロー
ル実行方式において,上記スクリーンバッファの開始行
及び終了行に位置する物理行データの行種類を判断する
行種類判断手段を設け,上記スクロール実行手段と,こ
の行種類判断手段の判断結果に基づいて,上記第1及び
第2のテンポラリーバッファの格納する論理行データの
物理行データ情報が,スクロール処理の実行後に上記ス
クリーンバッファの開始行及び終了行に位置する物理行
データと重複することのないようにと,スクロールを実
行するよう構成する。
DETAILED DESCRIPTION OF THE INVENTION [Outline] A scroll execution method for a display text displayed on a display device is provided for the purpose of preventing the occurrence of duplicate display when one logical line is not one physical line, and a scroll request is made. Scroll execution means for sequentially extracting the original data with logical line data when there is a
A first temporary buffer for temporarily storing logical line data extracted by the through-roll executing means, and a second temporary buffer for temporarily storing logical line data extracted by the scroll executing means in the reverse direction. And a screen buffer for storing a plurality of logical line data input through the first and second temporary buffers, so that a scroll execution method for executing scrolling of a display text displayed on a display device is provided. Line type determining means for determining the line type of the physical line data located at the start line and the end line of the screen buffer is provided. Based on the result of the determination by the scroll executing unit and the line type determining unit, Physical row data information of logical row data stored in the second temporary buffer , And so as not to overlap with the physical row data located at the start line and end line of the screen buffer after execution of the scroll processing, configured to execute the scrolling.

〔産業上の利用分野〕[Industrial applications]

本発明は,ディスプレイ装置上に表示される表示テキ
ストのスクロール実行方式に関し,特に,1論理行が1物
理行でない論理行単位をもって表示テキストを管理して
いるときにおける表示テキストのスクロール実行方式に
関するものである。
The present invention relates to a scroll execution method for a display text displayed on a display device, and more particularly to a scroll execution method for a display text when one logical line manages the display text in logical line units other than one physical line. It is.

〔従来の技術〕[Conventional technology]

例えば,ベーシックのLIST命令で表示されるベーシン
ク画面では,1論理行が3物理行に対応し,この3物理行
を基本単位として表示テキストが管理されている。従っ
て,ディスプレイ装置上で表示テキストを移動させてい
く,いわゆるスクロール処理もこの3物理行を基本単位
として実行されていたのである。
For example, in the basic screen displayed by the basic LIST instruction, one logical line corresponds to three physical lines, and the display text is managed using the three physical lines as a basic unit. Therefore, the so-called scrolling process of moving the display text on the display device is also executed using these three physical lines as a basic unit.

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

次に,第9図に従って,このような複数の物理行を基
本として実行されるスクロール処理の問題点について説
明する。第9図(A)に示すような表示状態から,カー
ソルを使って上スクロールを実行することで「行番号20
のa行」までを画面から消去して,第9図(B)に示す
表示状態になったとする。この表示状態から,今度はカ
ーソルを使って下スクロールを実行すると,第9図
(C)に示すように,論理行データを構成する「行番号
20のa行,b行,c行」が残っていた「行番号20のb行,c
行」と合わせて表示されるようになってしまうことにな
る。すならち,3物理行単位でスクロールを実行していか
ないと,このような重複した表示が表われることとなっ
て,オペレータにあたかもプログラムが破壊されてしま
ったかの如き錯覚を与えてしまうのである。
Next, with reference to FIG. 9, a description will be given of the problem of the scroll processing executed on the basis of such a plurality of physical lines. From the display state as shown in FIG. 9 (A), by executing the upward scroll using the cursor, the “line number 20” is displayed.
It is assumed that up to the "a line" is deleted from the screen and the display state shown in FIG. 9B is obtained. From this display state, when scrolling down using the cursor this time, as shown in FIG. 9 (C), “line number” constituting logical line data is displayed.
20 rows a, b, and c "were left.
Line ". In other words, unless scrolling is performed in units of three physical lines, such a duplicated display will appear, giving the operator the illusion that the program has been destroyed.

これは,第10図に示すように,表示テキストの管理の
ために設けられるスクリーンバッファの上下に設けられ
て,スクリーンバッファへ論理行データを順次送り込む
ように動作するテンポラリーバッファが,スクリーンバ
ッファに残っている物理行データの属する論理行データ
のすべての物理行データを格納するようにと構成されて
いることに起因しているのである。
This is because, as shown in Fig. 10, temporary buffers provided above and below the screen buffer provided for managing display text and operating to sequentially send logical line data to the screen buffer remain in the screen buffer. This is because all the physical row data of the logical row data to which the physical row data belongs are stored.

本発明はかかる事情に鑑みてなされたものであって,1
論理行が1物理行に対応しないようなときであっても,
表示テキストのスクロール実行時に重複的な表示が表わ
れないようにするスクロール実行方式の提供を目的とす
るものである。
The present invention has been made in view of such circumstances, and
Even when a logical row does not correspond to one physical row,
It is an object of the present invention to provide a scroll execution method for preventing a redundant display from appearing when a display text is scrolled.

〔課題を解決するための手段〕[Means for solving the problem]

第1図は本発明の原理構成図である。図中,1は元デー
タであって,この元データの一部がディスプレイ装置30
に表示テキストとして表示されることになる。2はスク
ロール実行手段であって,スクロール要求があるときに
おいて,ディスプレイ装置30上に表示される表示テキス
トをスクロールするために,論理行データをもって元デ
ータ1を順序よく取出していく処理を実行する。この論
理行データは,例えば3物理行データといったように,
複数の物理行データから構成されることを基本とする。
3は第1のテンポラリーバッファであって,スクロール
実行手段2によって取出される論理行データを一時的に
格納する。4は第2テンポラリーバッファであって,第
1のテンポラリーバッファ3に対応して設けられ,第1
のテンポラリーバッファ3に送られる論理行データとは
逆の方向をもってスクロール実行手段2により取出され
る論理行データを一時的に格納する。5は表示テキスト
のためのバッファをなすスクリーンバッファであって,
第1及び第2のテンポラリーバッファ3,4を介して入力
される複数の論理行データを格納する。6はスクリーン
バッファ5の開始行であって第1のテンポラリーバッフ
ァ3に隣接して位置し,7はスクリーンバッファ5の終了
行であって第2のテンポラリーバッファ4に隣接して位
置する。8は行種類判断手段であって,開始行6及び終
了行7にある物理行データが,その属する論理行データ
においての先頭行,中間行(複数であってもよい),最
終行のいずれに該当するものなのかを判断する。そして
30は,表示テキストを表示するところのディスプレイ装
置である。
FIG. 1 is a diagram illustrating the principle of the present invention. In the figure, reference numeral 1 denotes original data, and a part of the original data is
Will be displayed as display text. Reference numeral 2 denotes a scroll executing means for executing a process of sequentially extracting the original data 1 with logical line data in order to scroll the display text displayed on the display device 30 when there is a scroll request. This logical row data is, for example, three physical row data,
It is basically composed of a plurality of physical row data.
Reference numeral 3 denotes a first temporary buffer, which temporarily stores the logical row data extracted by the scroll execution means 2. Reference numeral 4 denotes a second temporary buffer, which is provided corresponding to the first temporary buffer 3, and
Temporarily stores the logical line data extracted by the scroll execution unit 2 in the direction opposite to the logical line data sent to the temporary buffer 3 of the logical buffer. 5 is a screen buffer which forms a buffer for display text,
A plurality of logical row data input via the first and second temporary buffers 3 and 4 are stored. 6 is a start line of the screen buffer 5 and is located adjacent to the first temporary buffer 3, and 7 is an end line of the screen buffer 5 and is located adjacent to the second temporary buffer 4. Numeral 8 denotes a line type judging means which determines whether the physical line data in the start line 6 and the end line 7 is the first line, intermediate line (or plural lines) or last line in the logical line data to which it belongs. Judge whether it is applicable. And
Reference numeral 30 denotes a display device for displaying a display text.

〔作用〕[Action]

本発明によれば,スクロール実行手段2は,行種類判
断手段8の判断結果に基づいて,第1及び第2のテンポ
ラリーバッファ3,4の格納する論理行データの物理行デ
ータ情報が,スクロール処理の実行後に開始行6及び終
了行7に位置する物理行データと重複することのないよ
うにと,スクロールを実行するよう動作する。
According to the present invention, the scroll execution means 2 converts the physical row data information of the logical row data stored in the first and second temporary buffers 3 and 4 into a scroll processing based on the determination result of the row type determination means 8. Is executed to execute scrolling so as not to overlap with the physical row data located in the start row 6 and the end row 7 after the execution of.

この動作により,第1のテンポラリーバッファ3に格
納される物理行データと開始行6に位置する物理行デー
タとで1つの論理行データをなし,かつ第2のテンポラ
リーバッファ4に格納される物理行データと終了行7に
位置する物理行データとで1つの論理行データをなし
て,いわば物理行単位でスクロールが実行されることか
ら重複する表示が生じることはない。
By this operation, the physical row data stored in the first temporary buffer 3 and the physical row data located in the start row 6 form one logical row data, and the physical row data stored in the second temporary buffer 4 Since one logical row data is formed by the data and the physical row data located in the end row 7, the scroll is executed in a unit of physical row, so that there is no overlapping display.

〔実施例〕〔Example〕

以下,実施例に従って本発明を詳細に説明する。 Hereinafter, the present invention will be described in detail with reference to examples.

本発明のシステム構成図を第2図に示す。この図に示
すように,本発明は,スクロール実行手段2を備えるデ
ータ処理装置20が,メモリ10上に格納される元データ1
をディスプレイ装置30上に表示テキストとして表示する
とともに,オペレータからの要求によって,この表示テ
キストを元データ1上でスクロールしようとするもので
ある。
FIG. 2 shows a system configuration diagram of the present invention. As shown in FIG. 1, the present invention provides a data processing device 20 having a scroll
Is displayed on the display device 30 as display text, and the display text is to be scrolled on the original data 1 at the request of the operator.

このスクロール処理の実現のために,表示テキスト
を,行管理テーブル21と,バッファメモリ22上に設定さ
れる第1のテンポラリーバッファ3,第2のテンポラリー
バッファ4及びスクリーンバッファ5とで管理すること
になる。ここで,このスクリーンバッファ5は,ディス
プレイ画面上の表示テキストを直接管理し,第1のテン
ポラリーバッファ3は,上スクロール操作によってディ
スプレイ画面の開始行(最上段の行)を超えたテキスト
を退避し,第2のテンポラリーバッファは,下スクロー
ル操作によってディスプレイ画面の終了行(最下段の
行)を超えたテキストを退避するために設けられる。但
し,この第1及び第2のテンポラリーバッファ3,4への
退避処理の対象となるテキストは,その一部がスクリー
ンバッファ5に残っているものである。
In order to realize the scroll processing, the display text is managed by the line management table 21 and the first temporary buffer 3, the second temporary buffer 4, and the screen buffer 5 set on the buffer memory 22. Become. Here, the screen buffer 5 directly manages the display text on the display screen, and the first temporary buffer 3 saves the text beyond the start line (top line) of the display screen by the upward scroll operation. , The second temporary buffer is provided to save text beyond the end line (bottom line) of the display screen by a downward scroll operation. However, part of the text to be saved in the first and second temporary buffers 3 and 4 remains in the screen buffer 5.

一方,行管理テーブル21は,表示テキストに対して,1
行単位で,“入力フラグ",“ANK文字数",“バイト数",
“テンポラリーフラグ",“フィールドフラグ”といった
情報を管理する。ここで“入力フラグ”は修正行を示し
“ANK文字数”は1行内のANK換算文字数を示し,“バイ
ト数”は1行内のバイト数を示し,“テンポラリーフラ
グ”はテンポラリーバッファ3,4にデータが設定された
ことを示すものである。そして本発明に特徴的な“フィ
ールドフラグ”は,テキストの先頭行(以下,TOPという
ことがある)なのか,中間行(以下,MIDということがあ
る)なのが,最終行(以下,ENDということがある)なの
かを示すものである。
On the other hand, the row management table 21 indicates that 1
For each line, “input flag”, “number of ANK characters”, “number of bytes”,
Information such as “temporary flag” and “field flag” is managed. Here, “input flag” indicates the corrected line, “ANK character number” indicates the number of ANK conversion characters in one line, “byte number” indicates the number of bytes in one line, and “temporary flag” indicates the data in temporary buffers 3 and 4. Is set. The "field flag" characteristic of the present invention is that the first line (hereinafter sometimes referred to as TOP) or the middle line (hereinafter sometimes referred to as MID) of the text is the last line (hereinafter referred to as END). ).

本発明のスクロール実行方式の詳細な説明に入る前
に,このTOPとMIDとENDについて具体例をもって説明し
ておくことになる。第3図(A)に示すように,ベーシ
ックで,行番号10から行番号20までのプログラムを作成
したことを想定する。そして,このプログラムでは,1つ
の行番号に最大200文字のプログラムが入れられるもの
と仮定する。第3図(A)中の( )内の数字は,各行
番号のその文字数を表わしている。これに対して,ディ
スプレイ装置は1つの行(これが物理行である)に対し
て最大80文字しか表示できないと仮定する。このような
場合のベーシックの1つの行番号のプログラムは,ディ
スプレイ装置上では最大3行(これら論理行である)に
分れて表示されることになる。これから本発明では,第
3図(B)に示すように,この3行で一組の先頭行をTO
Pと,中間行をMIDと,また最終行をENDと呼ぶことにし
たのである。但し,行番号30のプログラムのように80文
字以下で終わってしまうものは,TOPしかないことにな
る。
Before starting the detailed description of the scroll execution method of the present invention, the TOP, MID, and END will be described with specific examples. As shown in FIG. 3 (A), it is assumed that a basic program having line numbers 10 to 20 has been created. In this program, it is assumed that one line number can contain a program with a maximum of 200 characters. Numerals in parentheses in FIG. 3A represent the number of characters in each line number. On the other hand, it is assumed that the display device can display only a maximum of 80 characters for one line (this is a physical line). In such a case, the basic program with one line number is displayed on the display device by being divided into a maximum of three lines (these logical lines). From now on, according to the present invention, as shown in FIG.
We decided to call P, the middle line MID, and the last line END. However, a program that ends with less than 80 characters, such as the program with line number 30, will have only TOP.

次に,スクロール実行手段2が実行する第4図に示す
フローチャートに従って,本発明の上スクロール処理の
動作について説明する。ここで,上スクロール処理と
は,第9図(B)でも示したように,表示テキストを上
に1行ずつずらしていく処理をいい,これに対して後述
する下スクロール処理とは,第9図(C)でも示したよ
うに,表示テキストを下に1行ずつずらしていく処理を
いうものである。
Next, the operation of the upward scroll processing of the present invention will be described with reference to the flowchart shown in FIG. Here, the upward scrolling process refers to a process of shifting the display text upward by one line as shown in FIG. 9B, whereas the below-described scrolling process described in FIG. As shown in FIG. 9C, this is a process of shifting the display text downward by one line.

オペレータからの上スクロール要求があると,スクロ
ール実行手段2は,最初にステップ10で,行管理テーブ
ル21の管理するフィールドフラグをチェックすること
で,開始行に位置する物理行データがTOP,MID,ENDのい
ずれに該当するものなのかを判断し,TOPであるときに
は,更に複数物理行からなる論理行データのTOPなの
か,単独物理行からなる論理行データのTOPなのかを判
断する。この単独物理行のTOPなのか,複数物理行のTOP
なのかという判断は,開始行の次の行の物理行データの
フィールドフラグを調べることで実現される。
When there is an upward scroll request from the operator, the scroll execution means 2 first checks the field flags managed in the row management table 21 in step 10 so that the physical row data located at the start row is TOP, MID, It is determined which of the ENDs is applicable, and if it is TOP, it is further determined whether it is the TOP of logical row data composed of a plurality of physical rows or the TOP of logical row data composed of a single physical row. Is this the TOP of a single physical row or the TOP of multiple physical rows?
This determination is realized by checking the field flag of the physical row data of the row next to the start row.

ステップ10での判断でTOPと判断するときには,次の
ステップ11で,TOPのテンポラリーバッファ処理に入っ
て,単独物理行からなる論理行データのTOPであるとき
には,第1のテンポラリーバッファ3を初期化し,複数
物理行からなる論理行データのTOPであるときには,初
期化の後に開始行の物理行データを第1のテンポラリー
バッファ3にと退避する。そして,ステップ10での判断
でMIDと判断するときには,次のステップ12でMIDのテン
ポラリーバッファ処理に入って,開始行の物理行データ
を第1のテンポラリーバッファ3にと退避し,ステップ
10での判断でENDと判断するときには,次のステップ13
でENDのテンポラリーバッファ処理に入って,第1のテ
ンポラリーバッファ3を初期化する。
If it is determined in step 10 that it is TOP, then in step 11 the temporary buffer processing of TOP is started. If it is the top of logical row data consisting of a single physical row, the first temporary buffer 3 is initialized. If it is the top of the logical row data composed of a plurality of physical rows, the physical row data of the start row is saved to the first temporary buffer 3 after initialization. When it is determined to be MID in the determination in step 10, the MID temporary buffer process is performed in the next step 12, and the physical row data of the start row is saved to the first temporary buffer 3,
When it is determined to be END in the determination in step 10, the next step 13
To enter the temporary buffer processing of END to initialize the first temporary buffer 3.

このようにして,ステップ11,ステップ12,ステップ13
のいずれかの処理が終わると,ステップ14で,スクリー
ンバッファ5のデータを上に1行シフトし,続くステッ
プ15で,ディスプレイ画面の終了行に空行を設定する。
このステップ11ないしステップ15の処理の具体例を第5
図に示す。ここで,第5図(A)はステップ11の単独物
理行に関しての処理例を示し,第5図(B)はステップ
11の複数物理行に関しての処理例を示し,第5図(C)
はステップ12に関しての処理例を示し,第5図(D)は
ステップ13に関しての処理例を示している。この例から
も明らかとなるように,ステップ11ないしステップ15の
処理を実行することで,第1のテンポラリーバッファ3
に格納される物理行データと開始行に位置する物理行デ
ータとで1つの論理行データをなすようになることにな
る。
Thus, Step 11, Step 12, Step 13
Is completed, in step 14, the data in the screen buffer 5 is shifted upward by one line, and in step 15, a blank line is set as the end line of the display screen.
A specific example of the processing of steps 11 to 15 is described in the fifth section.
Shown in the figure. Here, FIG. 5 (A) shows an example of processing for a single physical row in step 11, and FIG.
FIG. 5 (C) shows an example of processing for 11 physical rows.
5 shows an example of processing relating to step 12, and FIG. 5 (D) shows an example of processing relating to step 13. As is clear from this example, by executing the processing of steps 11 to 15, the first temporary buffer 3
, And the physical row data located at the start row form one logical row data.

ステップ15に続くステップ16では,空行に設定された
終了行の1つ前の行に位置する物理行データが,TOP,MI
D,ENDのいずれに該当するものなのかを判断する。ステ
ップ16での判断でTOPと判断するときには,次のステッ
プ17でTOPの終了行処理に入って,第2のテンポラリー
バッファ4内に物理行データが設定されている場合に
は,そのデータを終了行に表示すべくスクリーンバッフ
ァ5にと設定する。また,ステップ16の判断でMIDと判
断するときには,次のステップ18でMIDの終了行処理に
入って,同じく第2のテンポラリーバッファ4内に設定
されている物理行データを終了行に表示すべくスクリー
ンバッファ5にと設定する。そして,ステップ16の判断
でENDと判断するときには,次のステップ19でENDの終了
行処理に入って,元データ1の次の行番号の論理行デー
タを検索し,ANK文字数を調べることでこの検索により求
まる論理行データが1物理行に入るものであれば,直ち
に終了行に表示すべくスクリーンバッファ5にと設定
し,1物理行に入ることができないものであれば,1物理行
分を終了行に表示すべくスクリーンバッファ5にと設定
し,残りは行単位で第2のテンポラリーバッファ4にと
設定する。なお,ステップ17での処理で,第2のテンポ
ラリーバッファ4内に物理行データが設定されていない
ときには,このステップ19での処理と同じ処理を実行す
ることになる。
In step 16 following step 15, the physical row data located in the row immediately before the end row set in the blank row is TOP, MI
Judge which of D and END is applicable. If it is determined in step 16 that the data is TOP, the process proceeds to step 17 in which the end row of TOP is entered. If physical row data is set in the second temporary buffer 4, the data is terminated. Set to screen buffer 5 to display on line. When it is determined in step 16 that the MID is the MID, the process goes to the end line processing of the MID in the next step 18 so that the physical line data set in the second temporary buffer 4 is displayed on the end line. Set to screen buffer 5. Then, when it is determined to be END in the determination of step 16, the end line processing of END is entered in the next step 19, the logical line data of the next line number of the original data 1 is searched, and the number of ANK characters is checked. If the logical line data obtained by the search falls within one physical line, it is set in the screen buffer 5 so that it can be immediately displayed on the end line. The screen buffer 5 is set to be displayed at the end line, and the rest is set to the second temporary buffer 4 line by line. When the physical row data is not set in the second temporary buffer 4 in the processing in the step 17, the same processing as the processing in the step 19 is executed.

そして,最後に,ステップ20で,カーソルを終了行の
先頭カラム位置に設定し,次の上スクロール要求を待つ
ことになる。このようにして,本発明では,論理行デー
タ単位ではなくて,物理行データ単位をもって上スクロ
ールが実現できることになる。
Finally, in step 20, the cursor is set to the first column position of the end line, and the next upward scroll request is waited. In this way, according to the present invention, upward scrolling can be realized in physical row data units instead of logical row data units.

第6図は,スクロール実行手段2が実行する本発明の
下スクロール処理のフローチャートである。下スクロー
ル処理は,データの流れが変わるだけであることから,
上スクロール処理における処理と基本的には同じであ
る。但し,上スクロール処理においては,単独物理行か
らなる論理行データのTOPと複数物理行からなる論理行
データのTOPで処理が分かれたが,下スクロール処理に
おいては,データの流れの関係上,TOPでもENDでもこの
ようなことは起らない点は異なっている。この第6図の
フローチャートのステップ21ないしステップ25の処理の
具体例を第7図に示す。ここで,第7図(A)はステッ
プ21に関しての処理例を示し,第7図(B)はステップ
22に関しての処理例を示し,第7図(C)はステップ23
に関しての処理例を示している。
FIG. 6 is a flowchart of the downward scroll processing of the present invention executed by the scroll executing means 2. Since the scrolling process only changes the data flow,
The processing is basically the same as the processing in the upward scroll processing. However, in the upper scroll processing, the processing is divided into TOP of the logical row data composed of a single physical row and TOP of the logical row data composed of multiple physical rows. But END is different in that this does not happen. FIG. 7 shows a specific example of the processing of steps 21 to 25 in the flowchart of FIG. Here, FIG. 7 (A) shows an example of processing relating to step 21, and FIG.
FIG. 7 (C) shows an example of processing for step 23.
2 shows an example of processing for.

第8図は,第3図に示したディスプレイ画面に対して
上スクロール処理がなされたときの,スクリーンバッフ
ァ5と第1のテンポラリーバッファ3の状態を具体的に
表わしている。第8図(A)は,スクロール前のディス
プレイ画面(スクリーンバッファ5)の状態を表わして
いる。この例では,開始行に位置する物理行データが複
数物理行からなる論理行データのTOPであることから,
ステップ11での処理に従って第8図(B)に示すよう
に,この物理行データが第1のテンポラリーバッファ3
にと退避される。そして,ステップ14とステップ15の処
理により,第8図(C)に示すように終了行に空行が設
定される。続いて,この例では終了行の前行がTOPであ
ることから,ステップ17での処理に従って次の行番号40
の論理行データ(この例では1物理行以内に入る)をス
クリーンバッファ5にと設定するのである。このように
して,第8図(D)に示すように上スクロールが終了す
る。
FIG. 8 specifically shows the state of the screen buffer 5 and the first temporary buffer 3 when the upward scroll processing is performed on the display screen shown in FIG. FIG. 8A shows the state of the display screen (screen buffer 5) before scrolling. In this example, since the physical row data located at the start row is the TOP of the logical row data consisting of multiple physical rows,
According to the processing in step 11, as shown in FIG. 8 (B), the physical row data is stored in the first temporary buffer 3.
To be evacuated. Then, by the processing of steps 14 and 15, a blank line is set as the end line as shown in FIG. 8 (C). Subsequently, in this example, since the line preceding the end line is TOP, the next line number 40 is obtained according to the processing in step 17.
(In this example, within one physical line) is set in the screen buffer 5. Thus, the upward scroll is completed as shown in FIG. 8 (D).

以上,実施例について説明したが,本発明はこれに限
られるものではない。例えば,MIDの数は1に限られるも
のではなく,複数であってもよいのである。
Although the embodiment has been described above, the present invention is not limited to this. For example, the number of MIDs is not limited to one, but may be plural.

〔発明の効果〕〔The invention's effect〕

以上のように,本発明によれば,1論理行が複数物理行
に対応するテキストのような場合であっても,1物理行単
位のスクロール処理を行うようになることから,論理行
の単位で画面からの消去,最表示処理を行ななくても,
表示テキストが異常を表示するといったことはなくなる
のである。
As described above, according to the present invention, even when one logical line is a text corresponding to a plurality of physical lines, scroll processing is performed in units of one physical line. Without deleting and redisplaying the screen with
The display text will no longer indicate an anomaly.

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

第1図は本発明の原理構成図, 第2図は本発明のシステム構成図, 第3図はTOP,MID,ENDの説明のための説明図, 第4図は上スクロール処理のフローチャート, 第5図はステップ11ないしステップ15の処理例の説明
図, 第6図は下スクロール処理のフローチャート, 第7図はステップ21ないしステップ25の処理例の説明
図, 第8図は上スクロール処理の処理例の説明図, 第9図は従来技術の問題点の説明図(I) 第10図は従来技術の問題点の説明図(II)である。 図中,1は元データ,2はスクロール実行手段,3は第1のテ
ンポラリーバッファ,4は第2のテンポラリーバッファ,5
はスクリーンバッファ,6は開始行,7は終了行,8は行種類
判断手段,10はメモリ,20はデータ処理装置,21は行管理
テーブル,22はバッファメモリ,30はディスプレイ装置で
ある。
FIG. 1 is a block diagram of the principle of the present invention, FIG. 2 is a diagram of a system of the present invention, FIG. 3 is an explanatory diagram for explaining TOP, MID, and END, FIG. FIG. 5 is an explanatory diagram of a processing example of steps 11 to 15, FIG. 6 is a flowchart of a lower scrolling process, FIG. 7 is an explanatory diagram of a processing example of steps 21 to 25, and FIG. FIG. 9 is an explanatory diagram of a problem in the prior art (I). FIG. 10 is an explanatory diagram (II) of a problem in the prior art. In the figure, 1 is the original data, 2 is the scroll execution means, 3 is the first temporary buffer, 4 is the second temporary buffer, 5
Is a screen buffer, 6 is a start line, 7 is an end line, 8 is a line type determining means, 10 is a memory, 20 is a data processing device, 21 is a line management table, 22 is a buffer memory, and 30 is a display device.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】スクロール要求があるときに,複数の物理
行データからなることを基本とする論理行データをもっ
て元データ(1)を順序よく取出していくスクロール実
行手段(2)と, このスクロール実行手段(2)により取出される論理行
データを一時的に格納する第1のテンポラリーバッファ
(3)と, この第1のテンポラリーバッファ(3)に送られる論理
行データとは逆の方向をもって,上記スクロール実行手
段(2)により取出される論理行データを一時的に格納
する第2のテンポラリーバッファ(4)と, この第1及び第2のテンポラリーバッファ(3,4)を介
して入力される複数の論理行データを格納して,ディス
プレイ装置(30)の表示のためのバッファとなるスクリ
ーンバッファ(5)とを備えることで,ディスプレイ装
置(30)に表示される表示テキストのスクロールを実行
するスクロール実行方式において, 上記スクリーンバッファ(5)の開始行(6)及び終了
行(7)に位置する物理行データが,論理行データの先
頭行,中間行,最終行のいずれに該当するものなのかを
判断する行種類判断手段(8)を設け, 上記スクロール実行手段(2)は,この行種類判断手段
(8)の判断結果に基づいて,上記第1及び第2のテン
ポラリーバッファ(3,4)の格納する論理行データの物
理行データ情報が,スクロール処理の実行後に上記スク
リーンバッファ(5)の開始行(6)及び終了行(7)
に位置する物理行データと重複することのないように
と,スクロールを実行してなることを 特徴とする表示テキストのスクロール実行方式。
1. A scroll executing means (2) for extracting original data (1) in order with logical row data based on a plurality of physical row data when a scroll request is issued; The first temporary buffer (3) for temporarily storing the logical row data fetched by (2), and the scrolling in the opposite direction to the logical row data sent to the first temporary buffer (3). A second temporary buffer (4) for temporarily storing the logical row data fetched by the executing means (2), and a plurality of plural temporary buffers (3, 4) input via the first and second temporary buffers (3, 4). By providing a screen buffer (5) that stores logical row data and serves as a buffer for display on the display device (30), In the scroll execution method for scrolling the display text displayed in (30), the physical line data located at the start line (6) and the end line (7) of the screen buffer (5) is the head of the logical line data. A line type determining unit (8) for determining whether the line corresponds to a line, an intermediate line, or a last line; and the scroll execution unit (2) performs a determination based on the determination result of the line type determining unit (8). The physical row data information of the logical row data stored in the first and second temporary buffers (3, 4) is changed to the start row (6) and the end row ( 7)
A scroll execution method for the display text, which is performed by scrolling so that it does not overlap with the physical line data located at.
JP63049045A 1988-03-02 1988-03-02 Display text scrolling execution method Expired - Fee Related JP2578884B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63049045A JP2578884B2 (en) 1988-03-02 1988-03-02 Display text scrolling execution method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63049045A JP2578884B2 (en) 1988-03-02 1988-03-02 Display text scrolling execution method

Publications (2)

Publication Number Publication Date
JPH01222296A JPH01222296A (en) 1989-09-05
JP2578884B2 true JP2578884B2 (en) 1997-02-05

Family

ID=12820113

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63049045A Expired - Fee Related JP2578884B2 (en) 1988-03-02 1988-03-02 Display text scrolling execution method

Country Status (1)

Country Link
JP (1) JP2578884B2 (en)

Also Published As

Publication number Publication date
JPH01222296A (en) 1989-09-05

Similar Documents

Publication Publication Date Title
JP2578884B2 (en) Display text scrolling execution method
JP2859214B2 (en) Simplified function selection menu method
JPS6322590B2 (en)
JP2827670B2 (en) 2D polygon closed area figure synthesis method
JPH0422995A (en) Linking scroll display system for plural data
JP2629330B2 (en) Data update commit processing method
JPS59180738A (en) Character display device
JP3461872B2 (en) Screen display control method and device
JP2637208B2 (en) Graphic processing system
JPH0750480B2 (en) Text data editing device
JPS6126087B2 (en)
JPH0311396A (en) Character display system
JP2650803B2 (en) Full screen editor control processor
JP2874676B2 (en) Single screen multiple input terminal
JPS63156220A (en) Data transfer system
JPS63120331A (en) Control system for set-up of window
JP2667454B2 (en) Plotting device
JPH0498521A (en) Method for reducing output data to display device
JPH0262641A (en) Command history register/selection device
JPH0314166A (en) Document display device
JPH04165469A (en) Circuit diagram display device
JPH05334152A (en) Rapid access method for variable length message file
JPH0584939B2 (en)
JPH06187458A (en) Graphic display device
JPH08339413A (en) Data entry device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees