JPH0515550B2 - - Google Patents

Info

Publication number
JPH0515550B2
JPH0515550B2 JP59109341A JP10934184A JPH0515550B2 JP H0515550 B2 JPH0515550 B2 JP H0515550B2 JP 59109341 A JP59109341 A JP 59109341A JP 10934184 A JP10934184 A JP 10934184A JP H0515550 B2 JPH0515550 B2 JP H0515550B2
Authority
JP
Japan
Prior art keywords
input
display
characters
character
keyboard
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 - Lifetime
Application number
JP59109341A
Other languages
Japanese (ja)
Other versions
JPS60253570A (en
Inventor
Shigeru Matsuyama
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 JP59109341A priority Critical patent/JPS60253570A/en
Publication of JPS60253570A publication Critical patent/JPS60253570A/en
Publication of JPH0515550B2 publication Critical patent/JPH0515550B2/ja
Granted legal-status Critical Current

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J5/00Devices or arrangements for controlling character selection
    • B41J5/30Character or syllable selection controlled by recorded information

Description

【発明の詳細な説明】 〔技術分野〕 本発明は、メモリを備えるとともに右寄せ機能
を有する電子タイプライタ等の電子機器に関し、
特に右寄せ入力モードにおける入力文字列を、バ
ツフアを介さずにリアルタイムでメモリに格納す
るようにしたものである。
[Detailed Description of the Invention] [Technical Field] The present invention relates to an electronic device such as an electronic typewriter that is equipped with a memory and has a right alignment function.
In particular, input character strings in right-justified input mode are stored in memory in real time without buffering.

〔従来技術〕[Prior art]

従来、この種の電子タイプライタ等の電子機器
において、右寄せ機能を実行する場合には、右寄
せ入力モードの指定を行つた後、キーボードから
文字キーを押下すると、その入力内容はいつたん
バツフアに順次格納される。つづいて、印字命令
キーの押下によつてバツフアに格納されている文
字列が最も右端位置に右寄せされて印字されると
同時に、ラインバツフアメモリに右寄せされた形
態で転送されて格納されていた。従つて、右寄せ
用バツフアを必要とするとともに、表示制御にあ
つては、ラインバツフアメモリ内のデータを表示
したりあるいは右寄せ入力用バツフアのデータを
表示したりというようにその制御が複雑になると
いう欠点があつた。
Conventionally, when performing the right alignment function on electronic devices such as electronic typewriters, when a character key is pressed on the keyboard after specifying the right alignment input mode, the input contents are immediately sequentially input in a buffer. Stored. Subsequently, by pressing the print command key, the character string stored in the buffer is right-aligned to the rightmost position and printed, and at the same time, it is transferred and stored in the line buffer memory in a right-aligned form. . Therefore, a buffer for right alignment is required, and display control becomes complicated, such as displaying data in a line buffer memory or data in a buffer for right alignment input. There was a drawback.

〔目的〕〔the purpose〕

本発明の目的は、上述した欠点を除去し、右寄
せ入力モードの指定を行うと、それ以後キーボー
ドの文字キーが押下されて文字入力があると、す
でに表示されている文字列を左方向にシフトさせ
たのち、その入力文字を表示手段の最も右端位置
に表示することにより、入力文字列を遂次確認す
ることができる電子機器を提供することにある。
An object of the present invention is to eliminate the above-mentioned drawbacks, and when a right-justified input mode is specified, when a character key on the keyboard is pressed and a character is input, the already displayed character string is shifted to the left. An object of the present invention is to provide an electronic device that can successively confirm input character strings by displaying the input characters at the rightmost position of a display means.

すなわち、本発明は、文字を入力する入力手段
と、前記入力手段により入力された文字を表示す
る表示手段と、前記入力手段によつて入力される
文字の右寄せ指示情報を発生する指示情報発生手
段と、前記指示情報発生手段によつて、前記右寄
せ指示情報が発生された場合、前記入力手段によ
る文字入力のある度に、前記表示手段にすでに表
示されている文字を左方向にシフトさせて、前記
表示手段の最も右端の位置に、前記入力手段によ
り入力された文字を逐次表示させるよう、前記表
示手段における表示を制御する表示制御手段と、
を具備したことを特徴とする。
That is, the present invention provides an input means for inputting characters, a display means for displaying the characters input by the input means, and an instruction information generation means for generating right alignment instruction information for the characters input by the input means. and when the right alignment instruction information is generated by the instruction information generation means, each time a character is input by the input means, the characters already displayed on the display means are shifted to the left, Display control means for controlling display on the display means so as to sequentially display characters input by the input means at the rightmost position of the display means;
It is characterized by having the following.

〔実施例〕〔Example〕

以下、図面を参照して本発明を詳細に説明す
る。
Hereinafter, the present invention will be explained in detail with reference to the drawings.

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

ここで、KBはキーボードであり、アルフアベ
ツトのA〜Z、数字の0〜9からなるアルフアニ
ユーメリツクキーAN、右寄せ入力モードを指示
する右寄せキーRALIおよびリターンキー
RETURNなどをそれぞれ配置する。
Here, KB is a keyboard, which includes alpha alphabets A to Z, alpha numerical keys AN consisting of numbers 0 to 9, right alignment key RALI to specify right alignment input mode, and return key.
Place RETURN etc. respectively.

CPUはマイクロプロセツサ形態の中央処理装
置であり、例えばクロツクパルス発生回路、遅延
回路、ゲート回路、その他の論理回路などを有す
る順序制御回路の形態に構成する。
The CPU is a central processing unit in the form of a microprocessor, and is configured in the form of a sequential control circuit including, for example, a clock pulse generation circuit, a delay circuit, a gate circuit, and other logic circuits.

PRTはシリアルプリンタのような印字装置で
あり、キーボードKBからキー入力して、そのキ
ー入力にそれぞれ対応する文字や数字を中央処理
装置CPUからの印字制御信号CPRTの制御のも
とに印字紙上に印字する。
PRT is a printing device similar to a serial printer, in which keys are entered from the keyboard KB, and characters and numbers corresponding to each key entry are printed onto printing paper under the control of the print control signal CPRT from the central processing unit CPU. Print.

DISは例えばドツトマトリクス型の液晶表示器
などの表示装置であり、中央処理装置CPUから
の表示制御信号CDISの制御のもとに、キーボー
ドKBからキー入力してそれぞれ対応する文字や
数字を表示する。
The DIS is a display device such as a dot matrix type liquid crystal display, and under the control of the display control signal CDIS from the central processing unit CPU, the corresponding characters and numbers are displayed by inputting keys from the keyboard KB. .

ROMは読出し専用メモリであり、中央処理装
置CPUが印字装置PRTや表示装置DIS等の各装
置に制御信号を供給する際に、例えば第3図に示
すような制御手順を中央処理装置CPUに順次知
らせるのに必要なマイクロ命令群を記憶させてお
く。
ROM is a read-only memory, and when the central processing unit CPU supplies control signals to various devices such as the printing device PRT and the display device DIS, it sequentially sends control procedures such as the one shown in Figure 3 to the central processing unit CPU. A group of microinstructions necessary for notification is memorized.

RAMは読書き可能なランダムアクセスメモリ
であり、各装置の動作状態を記憶する領域を有す
ると共にキーボードKBから入力した文字や数字
等を記憶するラインバツフアメモリDISPやテキ
スト領域TEXを有する。
The RAM is a readable and writable random access memory, and has an area for storing the operating status of each device, as well as a line buffer memory DISP and a text area TEX for storing characters, numbers, etc. input from the keyboard KB.

BUSは中央処理装置CPUと読出し専用メモリ
ROMおよびランダムアクセスメモリRAMと電
気的に接続し、メモリアドレアやデータを転送す
るために用いるバスラインである。
BUS is the central processing unit CPU and read-only memory
A bus line that electrically connects ROM and random access memory RAM and is used to transfer memory addresses and data.

次に、第1図に示した本発明の動作例につい
て、キーボードKBのキー操作により入力してラ
ンダムアクセスメモリRAMに記憶させた制御内
容の一例を示す第2図、および制御処理のフロー
チヤートの一例を示す第3図をそれぞれ参照して
説明する。
Next, regarding the operation example of the present invention shown in FIG. 1, FIG. 2 shows an example of control contents entered by key operations on the keyboard KB and stored in the random access memory RAM, and a flowchart of the control processing. This will be explained with reference to FIG. 3, which shows an example.

まず、第2図に示す手順1において、キーボー
ドKBのキー操作により電源投入(パワーオン)
にすると、第3図で示すステツプS1において、
ランダムアクセスメモリRAM全体をクリアし、
表示装置DISのカーソル位置および印字装置
PRTの印字ヘツド位置を記憶するメモリ領域で
あるカーソルポインタCPおよびヘツドポインタ
HPにそれぞれ“1”を記憶させる。次いで、ス
テツプS2においてランダムアクセスメモリRAM
内に設けたラインバツフアメモリDISPのデータ
を表示装置DISに表示し、次いでステツプS3にお
いてキーボードKB上のキーが押されてキー入力
があるのを待機する。
First, in step 1 shown in Figure 2, turn on the power by operating the keys on the keyboard KB.
Then, in step S1 shown in Fig. 3,
Clear the entire random access memory RAM,
Display device DIS cursor position and printing device
Cursor pointer CP, which is a memory area that stores the print head position of PRT, and head pointer
Store "1" in each HP. Next, in step S2, the random access memory RAM is
The data in the internal line buffer memory DISP is displayed on the display device DIS, and then in step S3, a key on the keyboard KB is pressed to wait for a key input.

次に、手順2においてキーボードKB上の右寄
せキーRALIのキー入力があると、ステツプS4に
おいてキヤラクタキーでないと判断されてステツ
プS5に移行し、ステツプS5ではさらにリターン
キーRETURNでないと判断されてステツプS6に
移行する。そして、ステツプS6ではすでに設定
されている最も右端位置を示すデータとして例え
ば“14”をカーソルポインタCPに格納するとと
もに、キーボードKBから文字入力があるごとに
計数するシフトカウンタSCをクリアし、さらに
右寄せ処理を示す旨のフラグFを“1”にセツト
する。次に、ステツプS2に戻り、上述したステ
ツプS2およびS3の各制御処理が繰り返されて、
第2図の手順2の欄に示すように表示装置DISの
表示は、最も右端位置にカーソルが表示された状
態となる。
Next, when there is a key input for the right-aligned key RALI on the keyboard KB in step 2, it is determined in step S4 that it is not a character key, and the process moves to step S5.In step S5, it is further determined that the return key is not RETURN, and the process proceeds to step S6. Transition. Then, in step S6, for example, "14" is stored in the cursor pointer CP as data indicating the rightmost position that has already been set, and the shift counter SC, which counts each time a character is input from the keyboard KB, is cleared, and further right-aligned. A flag F indicating processing is set to "1". Next, the process returns to step S2, and the control processes of steps S2 and S3 described above are repeated.
As shown in the column of step 2 in FIG. 2, the display on the display device DIS is such that the cursor is displayed at the rightmost position.

次に、手順3においてキヤラクターである文字
キー□Aが押下されると、第3図で示すステツプ
S4,S7およびS8と順次移行する。ステツプS8で
は、ラインバツフアメモリDISP内の右端からシ
フトカウンタSCのデータが示す桁数だけ左方向
へラインバツフアメモリDISP内のデータをシフ
トさせたのち、入力文字が印字された場合に、入
力文字が最も右端位置になるように格納させるよ
うに制御する。しかし、第2図に示した手順3の
段階では、シフトカウンタSCのデータは“0”
であるので、ラインバツフアメモリDISP内のデ
ータのシフトは行われずに、ラインバツフアメモ
リDISP内のカーソルポインタCPのデータ“14”
が示す位置、すなわち表示装置DISのカーソルが
示す印字された場合に、最も右端位置になるよう
にキーボードKBからの入力文字“A”を格納
し、さらにシフトカウンタSCを+1する。
Next, when the character key □A, which is a character, is pressed in step 3, the step shown in FIG.
Transition to S4, S7, and S8 sequentially. In step S8, after shifting the data in the line buffer memory DISP from the right end in the line buffer memory DISP to the left by the number of digits indicated by the data of the shift counter SC, if the input character is printed, the input character is Controls so that characters are stored in the rightmost position. However, at step 3 shown in Figure 2, the data of the shift counter SC is "0".
Therefore, the data in the line buffer memory DISP is not shifted, and the data “14” of the cursor pointer CP in the line buffer memory DISP is
The input character "A" from the keyboard KB is stored at the position indicated by , that is, the rightmost position when printed as indicated by the cursor on the display device DIS, and the shift counter SC is incremented by 1.

次に、手順4および5においてキーボードKB
上の各キヤラクタキー□B,□C,□D,□Eおよび□
Fを
順次押下すると、手順3においてすでに述べたよ
うにステツプS4,S7およびS8と各制御処理が実
行されて表示装置DISの表示内容が変化してい
き、第2図に示した手順5の欄に示すような表示
装置DISの表示状態となる。
Next, in steps 4 and 5, the keyboard KB
Each character key above □B, □C, □D, □E and □
When F is pressed in sequence, steps S4, S7, and S8 are executed as described in step 3, and the display contents of the display device DIS change, and the column of step 5 shown in Fig. 2 is changed. The display state of the display device DIS will be as shown in .

次に、手順6においてキーボードKB上のリタ
ーンキーRETURNが押下されると、ステツプ
S4,S5およびS9と順次移行する。そして、ステ
ツプS9においてカーソルポインタCPのデータと
ヘツドポインタHPのデータとを比較し、カーソ
ルポインタCPのデータ“14”がヘツドポインタ
HPのデータ“1”より大きいので、ステツプ
S10に移行する。
Next, when the return key RETURN on the keyboard KB is pressed in step 6, the step
Transitions to S4, S5, and S9 sequentially. Then, in step S9, the data of the cursor pointer CP and the data of the head pointer HP are compared, and the data "14" of the cursor pointer CP is determined to be the head pointer.
Since the HP data is greater than “1”, the step
Migrate to S10.

ステツプS10では、ラインバツフアメモリ
DISP内のヘツドポインタHPが示す文字あるいは
スペースを印字し、ヘツドポインタHPを+1す
る。ここで、ステツプS9において、カーソルポ
インタCPのデータ“14”よりヘツドポインタHP
のデータが大きくなるまでステツプS9およびS10
の制御処理を繰り返す。
In step S10, the line buffer memory
Prints the character or space indicated by the head pointer HP in DISP, and increments the head pointer HP by 1. Here, in step S9, the data "14" of the cursor pointer CP indicates that the head pointer HP is
Steps S9 and S10 until the data of
The control process is repeated.

そして、ステツプS9において上述の条件が成
立すると、ステツプS11に移行し、印字装置PRT
の印字ヘツドをホーム位置に復帰させ、同時に紙
送りを実行させる。さらにステツプS11では、カ
ーソルポインタCPおよびヘツドポインタHPに
“1”をそれぞれ格納するとともにフラグFをリ
セツトし、ラインバツフアメモリDISP内のデー
タをテキスト領域TEXに転送させてラインバツ
フアメモリDISPをクリアする。
If the above-mentioned conditions are met in step S9, the process moves to step S11, and the printing device PRT
Returns the print head to the home position and simultaneously performs paper feed. Furthermore, in step S11, "1" is stored in each of the cursor pointer CP and head pointer HP, flag F is reset, data in the line buffer memory DISP is transferred to the text area TEX, and the line buffer memory DISP is cleared. do.

なお、ステツプS7においてフラグFが“1”
でないとき、すなわち右寄せ処理の指示がないと
きにはステツプS12に移行し、入力文字をヘツド
ポインタHPの示す位置に印字する。
Note that the flag F is set to "1" in step S7.
If not, that is, if there is no right alignment processing instruction, the process moves to step S12, and the input character is printed at the position indicated by the head pointer HP.

〔効果〕〔effect〕

以上説明したように、本発明によれば、右寄せ
入力モードの指定を行うと、それ以後キーボード
の文字キーが押下されて文字入力があると、すで
に表示されている文字列を左方向にシフトさせた
のち、その入力文字を表示手段の最も右端位置に
表示することにより入力文字を逐次確認すること
ができるので、誤操作を防止することができる。
As explained above, according to the present invention, when the right-aligned input mode is specified, when a character key on the keyboard is pressed and a character is input from then on, the already displayed character string is shifted to the left. Thereafter, the input characters are displayed at the rightmost position of the display means, so that the input characters can be confirmed one after another, thereby preventing erroneous operations.

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

第1図は本発明の概略構成の一例を示すブロツ
ク図、第2図は本発明のキー操作の手順の一例を
示す線図、第3図は本発明の制御処理の一例を示
すフローチヤートである。 KB…キーボード、CPU…中央処理装置、
PRT…印字装置、DIS…表示装置、ROM…読出
し専用メモリ、RAM…ランダムアクセスメモ
リ、DISP…ラインバツフアメモリ、BUS…バス
ライン。
FIG. 1 is a block diagram showing an example of a schematic configuration of the present invention, FIG. 2 is a diagram showing an example of a key operation procedure of the present invention, and FIG. 3 is a flowchart showing an example of control processing of the present invention. be. KB...keyboard, CPU...central processing unit,
PRT...Printing device, DIS...Display device, ROM...Read-only memory, RAM...Random access memory, DISP...Line buffer memory, BUS...Bus line.

Claims (1)

【特許請求の範囲】 1 文字を入力する入力手段と、 前記入力手段により入力された文字を表示する
表示手段と、 前記入力手段によつて入力される文字の右寄せ
指示情報を発生する指示情報発生手段と、 前記指示情報発生手段によつて、前記右寄せ指
示情報が発生された場合、前記入力手段による文
字入力のある度に、前記表示手段にすでに表示さ
れている文字を左方向にシフトさせて、前記表示
手段の最も右端の位置に、前記入力手段により入
力された文字を表示させるよう、前記表示手段に
おける表示を制御する表示制御手段と、 を具備したことを特徴とする電子機器。
[Scope of Claims] 1. Input means for inputting characters; Display means for displaying characters input by the input means; Instruction information generation for generating right alignment instruction information for characters input by the input means. means, when the right alignment instruction information is generated by the instruction information generation means, each time a character is input by the input means, the characters already displayed on the display means are shifted to the left. , display control means for controlling display on the display means so as to display characters input by the input means at the rightmost position of the display means.
JP59109341A 1984-05-31 1984-05-31 Electronic machinery Granted JPS60253570A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59109341A JPS60253570A (en) 1984-05-31 1984-05-31 Electronic machinery

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59109341A JPS60253570A (en) 1984-05-31 1984-05-31 Electronic machinery

Publications (2)

Publication Number Publication Date
JPS60253570A JPS60253570A (en) 1985-12-14
JPH0515550B2 true JPH0515550B2 (en) 1993-03-01

Family

ID=14507766

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59109341A Granted JPS60253570A (en) 1984-05-31 1984-05-31 Electronic machinery

Country Status (1)

Country Link
JP (1) JPS60253570A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4910631A (en) * 1972-05-24 1974-01-30

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4910631A (en) * 1972-05-24 1974-01-30

Also Published As

Publication number Publication date
JPS60253570A (en) 1985-12-14

Similar Documents

Publication Publication Date Title
JPS6213807Y2 (en)
EP0271321B1 (en) Display device for typewriters
JPH0515550B2 (en)
JPH0227150B2 (en)
EP0031446B1 (en) Multi-character display controller for text recorder
JPS6132174A (en) Electronic device
JPS6159561A (en) Electronic appliance
JP2564470B2 (en) Document processing device
JPH0522933B2 (en)
JPH0562076B2 (en)
JPS61268472A (en) Electronic appliance
US5778396A (en) Electronic equipment such as an electronic typewriter having a relocation function and an extension function thereof
JPS61268469A (en) Electronic appliance
JPS62255175A (en) Standardized format printer
US5307448A (en) Electronic apparatus with display device
JPS60254223A (en) Electronic device
JPS61104879A (en) Letter processor
JP2700001B2 (en) Character data output device
JPS6113329A (en) Electronic apparatus
JPH0123192Y2 (en)
US5002409A (en) Printer with underlining function
JPS61268471A (en) Electronic appliance
JPS60254274A (en) Document processor
JPS63293669A (en) Character processor
JPS6012648B2 (en) Display control method

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term