JPS62229317A - Character processor - Google Patents

Character processor

Info

Publication number
JPS62229317A
JPS62229317A JP61069829A JP6982986A JPS62229317A JP S62229317 A JPS62229317 A JP S62229317A JP 61069829 A JP61069829 A JP 61069829A JP 6982986 A JP6982986 A JP 6982986A JP S62229317 A JPS62229317 A JP S62229317A
Authority
JP
Japan
Prior art keywords
tab
cursor
key
shift
movement
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
JP61069829A
Other languages
Japanese (ja)
Inventor
Sumio Hori
堀 須美雄
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP61069829A priority Critical patent/JPS62229317A/en
Publication of JPS62229317A publication Critical patent/JPS62229317A/en
Pending legal-status Critical Current

Links

Landscapes

  • Input From Keyboards Or The Like (AREA)
  • Digital Computer Display Output (AREA)
  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To attain the right-left shift of a tab via a single tab key as well as the up-down shift of the tab via the shift of a cursor, by using a tab shift direction designating means and a tab shift means in a documents compiling mode. CONSTITUTION:When a tab key is applied through a keyboard, a cursor is first erased. Then it is decided whether the contents stored in a tab shift direction register TBR indicate the upper, lower, right or left direction. for instance, TBR=2 is secured with the lower shift of a tab. Then it is decided whether the contents of a cursor line address YCR are smaller or not than the maximum line number MAXY by >=4. If so, 4 is added to the contents of the register YCR. If not, the number MAXY is substituted for the address YCR. Thus the cursor can moved down and therefore the tab is also moved down.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、文字、記号等のデータを入力・編集する文字
処理装置、特にタブ移動方向を上下左右のうちの所望の
方向に指定できる文字処理装置に関するものである。
Detailed Description of the Invention (Field of Industrial Application) The present invention relates to a character processing device for inputting and editing data such as characters and symbols, and in particular to a character processing device that allows the tab movement direction to be specified in a desired direction among up, down, left, and right. It relates to a processing device.

〔従来の技術〕[Conventional technology]

従来この種の文字処理装置では、タブ移動は右側にのみ
しか可能でなく、たとえば左方向のタブ移動を行おうと
すると、別個に逆タブキー等を設ける必要があった。ま
た一般的には、上下方向のタブ移動は、これまでの文字
処理装置においては考えられていなかった。
Conventionally, in this type of character processing device, tab movement is only possible to the right. For example, if an attempt was made to move a tab to the left, it was necessary to provide a separate reverse tab key or the like. Further, in general, vertical tab movement has not been considered in conventional character processing devices.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

そこで、本発明の目的は、上記の欠点を除去すると共に
、ひとつのキーによって従来のタブキーおよび逆タブキ
ーの機能を果たし、しかも垂直方向のタブ移動をも可能
にした文字処理装置を提供することにある。
SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide a character processing device that eliminates the above-mentioned drawbacks, performs the functions of the conventional tab key and reverse tab key with a single key, and also allows tab movement in the vertical direction. be.

〔問題点を解決するための手段〕[Means for solving problems]

このような目的を達成するために、本発明は、文字、記
号等のデータを入力する入力手段と、その入力されたデ
ータおよびカーソルを表示する表示手段と、タブ移動を
実行するキー手段とを有する文字処理装置において、タ
ブ移動の方向を指定する手段と、キー手段の入力に応じ
て、指定された方向とタブ移動を行う手段とを具えたこ
とを特徴とする。
In order to achieve such an object, the present invention includes an input means for inputting data such as characters and symbols, a display means for displaying the input data and a cursor, and a key means for performing tab movement. The character processing device is characterized by comprising means for specifying the direction of tab movement, and means for moving the tab in the specified direction in response to input from the key means.

(作 用) 本発明によれば、1つのタブキーによって、左右方向の
タブ移動が可能となり、しかもまた、上下方向への迅速
なカーソル移動による上下方向のタブ移動を行なうこと
ができる。
(Function) According to the present invention, it is possible to move the tab in the left and right direction with one tab key, and also to move the tab in the up and down direction by quickly moving the cursor in the up and down direction.

(実施例) 以下に、図面に基づいて本発明の実施例を詳細かつ具体
的に説明する。
(Example) Examples of the present invention will be described below in detail and specifically based on the drawings.

第1図に本発明の一実施例の構成を示す。FIG. 1 shows the configuration of an embodiment of the present invention.

第1図において、符号1はキー入力手段であり、タブ移
動方向指示キーTBKおよびタブ移動実行キーTBを有
する。
In FIG. 1, reference numeral 1 denotes a key input means, which has a tab movement direction instruction key TBK and a tab movement execution key TB.

符号2はタブ移動方向指示キーT[lにによって指定さ
れたタブ移動方向を記憶し、当該移動方向にタブを移動
させるよう制御を行うタブ制御手段である。
Reference numeral 2 denotes a tab control means that stores the tab movement direction designated by the tab movement direction instruction key T[l, and performs control to move the tab in the relevant movement direction.

符号3はキー入力手段lから入力された文字。Reference numeral 3 is a character input from the key input means 1.

記号、カーソル等の表示器4での表示を制御する表示制
御手段である。
This is display control means that controls the display of symbols, cursors, etc. on the display 4.

第1図に示すように、キー入力手段1によってタブ移動
方向を指示し、その結果をタブ制御手段2によって記憶
する。それ以後は、タブキーTBが入力されると、タブ
制御手段2および表示制御手段3によってタブ移動を表
示器4に出力する。
As shown in FIG. 1, the key input means 1 is used to instruct the tab movement direction, and the tab control means 2 stores the result. Thereafter, when the tab key TB is input, the tab control means 2 and display control means 3 output tab movement to the display 4.

第2図は本発明の文字処理装置の他の実施例を示す。FIG. 2 shows another embodiment of the character processing device of the present invention.

図示の構成において、CPUはマイクロプロセッサであ
り、文字処理のための演算・論理判断等を行ない、アド
レスバスへB、コントロールバスCB、データバスDB
を介して、それらのバスに接続された各構成要素を制御
する。
In the illustrated configuration, the CPU is a microprocessor that performs calculations and logical judgments for character processing, and connects the address bus B, control bus CB, and data bus DB.
control each component connected to those buses.

アドレスバスA[lは、マイクロプロセッサCPUの制
御の対象となる構成要素を指示するアドレス信号を転送
する。コントロールバスCBは、マイクロプロセッサC
PUの制御の対象とする各構成要素のコントロール信号
を転送する。データバスDBは、各構成要素相互間のデ
ータの転送を行なう。
The address bus A[l transfers address signals indicating the components to be controlled by the microprocessor CPU. Control bus CB is microprocessor C
Transfers control signals for each component to be controlled by the PU. The data bus DB transfers data between each component.

+10Mは、読み出し専用メモリであり、マイクロプロ
セッサCPUによる制御の手順、たとえば第4図および
第5図に示す制御手順等を記憶させておく。
+10M is a read-only memory that stores control procedures by the microprocessor CPU, such as the control procedures shown in FIGS. 4 and 5.

また、RAMは、ランダム・アクセス・メモリで、各構
成要素からの各種データの一時保存に用いる。
Further, the RAM is a random access memory and is used to temporarily store various data from each component.

にBは、キーボードで、文字、記号の入力キー等および
文字処理装置に対する各種機能を指示するためのキーを
備え、タブ移動方向指示キーTBにおよびタブ移動実行
キーTBもこのキーボードにB上に配置されている。
B is a keyboard equipped with keys for inputting characters and symbols, etc., and keys for instructing various functions to the character processing device, and a tab movement direction instruction key TB and a tab movement execution key TB are also provided on this keyboard B. It is located.

T[lRは、タブ移動方向レジスタであり、タブ移動移
動方向指示キーTBKによって指示されたタブ移動方向
を格納する。
T[lR is a tab movement direction register that stores the tab movement direction specified by the tab movement direction instruction key TBK.

MAXYは、文書最大行数レジスタであり、1頁の行数
が格納されている。
MAXY is a document maximum line number register, and stores the number of lines on one page.

DISKは、定型文書を記憶するためのメモリで、作成
された文書の管理を行ない、保存された文書はキーボー
ドにBからの指示により呼び出される。
DISK is a memory for storing standard documents and manages created documents, and saved documents are called up by instructions from B on the keyboard.

Cnは、カーソル・レジスタである。マイクロプロセッ
サCPUからの制御により、カーソル・レジスタCRの
内容を読み書きできる。xCRはカーソル列レジスタで
あり、カーソルの列座標を格納する。YCnはカーソル
行レジスタであり、カーソルの行座標を格納する。
Cn is a cursor register. The contents of the cursor register CR can be read and written under control from the microprocessor CPU. xCR is a cursor column register and stores the column coordinates of the cursor. YCn is a cursor row register and stores the row coordinates of the cursor.

BUFは、バッファ・メモリであり、キーボードにBか
ら入力された文字情報等を蓄える。
BUF is a buffer memory that stores character information etc. input from B on the keyboard.

CIITは陰極管や液晶表示器などを用いた表示装置で
ある。
CIIT is a display device using a cathode tube, a liquid crystal display, or the like.

CIITCは、CRTコントローラであり、カーソルレ
ジスタCRおよびバッファメモリBUFに蓄えられた内
容を表示器CRTに表示する。
CIITC is a CRT controller, and displays the contents stored in the cursor register CR and buffer memory BUF on the display CRT.

CGは、キャラクタ・ジェネレータであり、表示装置C
RTに表示する文字・記号・カーソル等のキャラクタ信
号を発生させるものである。
CG is a character generator and display device C
It generates character signals such as characters, symbols, and cursors to be displayed on the RT.

第3図は、キーボードKOの配置の一例を示す図である
。本実施例では、キーボードにBには、アルファベット
キーANにの他に、タブの移動方向を指示するタブ移動
方向指示キーTBK 、タブ移動実行キーTB等が配置
されている。
FIG. 3 is a diagram showing an example of the arrangement of the keyboard KO. In this embodiment, in addition to the alphabet keys AN, the keyboard B includes a tab movement direction instruction key TBK for instructing the direction of tab movement, a tab movement execution key TB, and the like.

つぎに、本実施例における制御手順の一例を第4図およ
び第5図のフローチャートに示す。
Next, an example of the control procedure in this embodiment is shown in the flowcharts of FIGS. 4 and 5.

第4図は、タブ移動方向を指示する処理手順の一例を示
している。
FIG. 4 shows an example of a processing procedure for instructing the direction of tab movement.

ステップStにおいて、入力されたキーがタブ移動方向
指示キーTBにであれば、ステップS2に進み、タブ移
動方向レジスタTBHに、右方向が指示された場合には
1を、下方向が指示された場合には2を、左方向が指示
された場合には3を、上方向が指示された場合には4を
格納する。
In step St, if the input key is the tab movement direction instruction key TB, the process proceeds to step S2, and the tab movement direction register TBH is set to 1 if the right direction is specified, and 1 if the downward direction is specified. 2 is stored if the left direction is specified, 3 is stored if the upward direction is specified, and 4 is stored if the upward direction is specified.

ステップ51において、入力されたキーがTBKキーで
ないときには、ステップS3に進んで通常の各処理を行
う。
In step S51, if the input key is not the TBK key, the process advances to step S3 and normal processing is performed.

第5図は、タブ移動実行キーTBが押下されたときの処
理例を示している。
FIG. 5 shows an example of processing when the tab movement execution key TB is pressed.

キーボードにBよりタブキーTBが入力されると、ステ
ップSitが実行される。ステップS11では、表示器
CRTに現在表示されているカーソルを消去する。カー
ソルの表示、消去の方法については、公知の方法によフ
て実現できるので、ここではその説明は省略する。
When the tab key TB is input by B on the keyboard, step Sit is executed. In step S11, the cursor currently displayed on the display CRT is erased. The method of displaying and erasing the cursor can be realized by a known method, so the explanation thereof will be omitted here.

次に、ステップ512に進み、ここで、タブ移動方向レ
ジスタTBRに格納されている内容が1.2.:1.4
のいずれであるかを判定する。タブ移動方向レジスタT
[lRが1.1−なわち右方向の移動ならばステップ5
13に進み、3、すなわち左方向の移動ならばステップ
514に進み、2、すなわち下方向の移動ならばステッ
プ516に進み、4、すなわち上方向の移動ならばステ
ップ515に進む。
Next, the process advances to step 512, where the contents stored in the tab movement direction register TBR are 1.2. :1.4
Determine which of the following. Tab movement direction register T
[If lR is 1.1- that is, the movement is to the right, step 5
If it is 3, that is, a movement in the left direction, the process proceeds to step 514, if it is 2, that is, a movement in the downward direction, the process proceeds to step 516, and if it is 4, that is, a movement in the upward direction, the process proceeds to step 515.

ステップ513は、右方向へのタブ移動を実行するため
の処理であり、通常のタブ移動処理である。また、ステ
ップS14は、左方向へのタブ移動を実行するための処
理であり、通常の逆タブ等の処理と同様である。従って
、これらの処理内容は公知のものであるから、ここでは
説明を省略する。
Step 513 is a process for executing tab movement to the right, which is a normal tab movement process. Further, step S14 is a process for executing tab movement to the left, and is similar to normal reverse tab processing. Therefore, since the contents of these processes are well known, their explanation will be omitted here.

ステップ516においては、カーソル行アドレスYCI
Iの内容が、最大行数MAXYよりも4以上小さいか否
かを判定し、小さければステップ517に進み、他方、
大きければステップ518に進む。
In step 516, the cursor row address YCI
It is determined whether the content of I is smaller than the maximum number of lines MAXY by 4 or more, and if it is smaller, the process proceeds to step 517;
If it is larger, the process advances to step 518.

ステップ517では、カーソル行レジスタVC11の内
容に4を加える。
In step 517, 4 is added to the contents of the cursor row register VC11.

ステップS18では、カーソル行レジスタYCHに最大
行数MAXYを代入する。
In step S18, the maximum number of lines MAXY is assigned to the cursor line register YCH.

ステップ51BからステップS18によって、下方向へ
のカーソル移動を実現する。すなわち、カーソルが最大
行数M八XYよりも4以上はど上にあると、カーソルを
4行下へ移動し、さもなければカーソルを最下行へ移動
する。この処理は、実際にはタブ移動ではないが、縦方
向の設定を省略し、簡単に上下方向の機能を実現できる
From step 51B to step S18, cursor movement in the downward direction is realized. That is, if the cursor is located four or more lines above the maximum number of lines M8XY, the cursor is moved down four lines; otherwise, the cursor is moved to the bottom line. This process is not actually tab movement, but it can omit vertical settings and easily implement vertical functions.

ステップ515は、上方向への移動を行う処理である。Step 515 is a process of moving upward.

この処理は、下方向への移動を行うステップ51Bから
518までの処理と同様の方法で実現できる。
This processing can be realized in the same manner as the processing from steps 51B to 518 for moving downward.

ついで、ステップ513.514,517.518,5
15からステップS19に移行し、ここで、表示器CR
T上にカーソルを表示する。
Then, steps 513, 514, 517, 518, 5
15 to step S19, where the display CR
Display the cursor on T.

なお、上述した実施例では、タブ移動方向の指示をTB
Kキーを特別に設けることによって行なったが、このよ
うにする代わりに、既設のキーに対してダブルファンク
ションでTBにキーの機能を付与したり、コマンドやそ
の他の方法によって指示してもよい。
Note that in the embodiment described above, the direction of tab movement is specified by TB.
This is done by providing a special K key, but instead of doing so, the key function may be given to the TB by double-functioning an existing key, or it may be instructed by a command or other method.

また、上側では上下方向のタブ移動を、4行毎に固定と
したが、このようにする代わりに縦方向のタブ設定を行
なえるようにしてもよい。
Further, although the tab movement in the vertical direction is fixed every four lines on the upper side, it may be possible to set tabs in the vertical direction instead of doing this.

さらにまた、上側では下方向のタブ移動方向において、
行末にカーソルが停止するようにしたが、他の移動動作
をさせることも可能である。
Furthermore, on the upper side, in the downward tab movement direction,
Although we set the cursor to stop at the end of the line, it is also possible to perform other movement operations.

(発明の効果) 以上から明らかなように、本発明によれば、1つのタブ
キーによって、左右方向のタブ移動が可能となり、しか
もまた、上下方向への迅速なカーソル移動による上下方
向のタブ移動を行なうことができる。
(Effects of the Invention) As is clear from the above, according to the present invention, it is possible to move tabs in the left and right directions with one tab key, and furthermore, it is possible to move tabs in the up and down direction by quickly moving the cursor in the up and down directions. can be done.

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

第1図は本発明の一実施例の構成を示すブロック図、 第2図は本発明の他の実施例の構成を示すブロック図、 第3図は本発明実施例のキーボード構成の配置図、 第4図および第5図は本発明実施例の制御手順の一例を
示すフローチャートである。 1・・・キー入力手段、 2・・・カーソル制御手段、 3・・・表示制御手段、 4・・・表示器、 CPU・・・マイクロプロセッサ、 Δト・・アドレスバス、 CB・・・コントロールバス、 DB・・・データバス、 flOM・・・読み出し専用メモリ、 11八M・・・ランダム・アクセス・メモリ、KB  
・・・キーボード、 MAXX・・・文書最大桁数レジスタ、DISK・・・
定型文書記憶用メモリ、Cト・・カーソル・レジスタ、 XL:n・・・カーソル列レジスタ、 YC口・・・カーソル行レジスタ、 BUF・・・バッファ・メモリ、 CRT・・・表示装置、 CnTC−−−CRT :2 ントローラ、CG・・・
キャラクタ・ジェネレータ、TOに・・・タブ移動方向
指示キー、 TO・・・タブ移動実行キー。 不発θ目寅す色19すのフ゛口1..グ図第1図 本づしB月大方ヒイタ11の20−ケイ一ト第4図
FIG. 1 is a block diagram showing the configuration of one embodiment of the present invention, FIG. 2 is a block diagram showing the configuration of another embodiment of the present invention, and FIG. 3 is a layout diagram of the keyboard configuration of the embodiment of the present invention. FIGS. 4 and 5 are flowcharts showing an example of a control procedure according to an embodiment of the present invention. DESCRIPTION OF SYMBOLS 1...Key input means, 2...Cursor control means, 3...Display control means, 4...Display device, CPU...Microprocessor, Δto...Address bus, CB...Control Bus, DB...Data bus, flOM...Read-only memory, 118M...Random access memory, KB
...Keyboard, MAXX...Document maximum digit number register, DISK...
Memory for storing standard documents, C...Cursor register, XL:n...Cursor column register, YC...Cursor row register, BUF...Buffer memory, CRT...Display device, CnTC- --CRT: 2 controller, CG...
Character generator, TO... tab movement direction instruction key, TO... tab movement execution key. Unexploded θ color 19 colors 1. .. Figure 1 Figure 1 Book Zushi B Monthly Hiita 11 20-Kate Figure 4

Claims (1)

【特許請求の範囲】 文字、記号等のデータを入力する入力手段と、その入力
されたデータおよびカーソルを表示する表示手段と、タ
ブ移動を実行するキー手段とを有する文字処理装置にお
いて、 前記タブ移動の方向を指定する手段と、 前記キー手段の入力に応じて、当該指定された方向にタ
ブ移動を行う手段と を具えたことを特徴とする文字処理装置。
[Scope of Claims] A character processing device comprising input means for inputting data such as characters and symbols, display means for displaying the input data and a cursor, and key means for performing tab movement, comprising: A character processing device comprising: means for specifying a direction of movement; and means for tabbing in the specified direction in response to input from the key means.
JP61069829A 1986-03-29 1986-03-29 Character processor Pending JPS62229317A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61069829A JPS62229317A (en) 1986-03-29 1986-03-29 Character processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61069829A JPS62229317A (en) 1986-03-29 1986-03-29 Character processor

Publications (1)

Publication Number Publication Date
JPS62229317A true JPS62229317A (en) 1987-10-08

Family

ID=13414049

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61069829A Pending JPS62229317A (en) 1986-03-29 1986-03-29 Character processor

Country Status (1)

Country Link
JP (1) JPS62229317A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5519827A (en) * 1989-04-04 1996-05-21 Hitachi, Ltd. Method and apparatus for changing screen image data based on cursor movement relative to a preset mark on the screen

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5519827A (en) * 1989-04-04 1996-05-21 Hitachi, Ltd. Method and apparatus for changing screen image data based on cursor movement relative to a preset mark on the screen

Similar Documents

Publication Publication Date Title
JPS60189568A (en) Information processor
JPS62229317A (en) Character processor
JPS644189B2 (en)
JPH0425574B2 (en)
JPH06324668A (en) Screen display method and display device
JPH0522933B2 (en)
JP2738851B2 (en) Input data processing display method using multiple cursors
JP2554631B2 (en) Object selection method
JPS62229316A (en) Character processor
JP3084041B2 (en) Character processor
JPS63106078A (en) Display method for character string echo of graphic processor
JPS62205418A (en) Document layout device
JPS6083122A (en) Character processor
JPS61259365A (en) Document editing device
JPH03189724A (en) Document processor
JPH0612413A (en) Method and device for processing document
JPH0581392A (en) Graphic moving and copying method
JPH0934679A (en) Picture display controller
JPS61151595A (en) Electronic appliance
JPH0670737B2 (en) Character processor
JPS62226190A (en) Document layout apparatus
JPS59117621A (en) Document editing and proofreading system
JPS61138340A (en) Editing device of picture
JPS6343472A (en) Displaying method in image display device
JPH0271360A (en) Document name changing system