JPS60205659A - Word processor - Google Patents

Word processor

Info

Publication number
JPS60205659A
JPS60205659A JP59059595A JP5959584A JPS60205659A JP S60205659 A JPS60205659 A JP S60205659A JP 59059595 A JP59059595 A JP 59059595A JP 5959584 A JP5959584 A JP 5959584A JP S60205659 A JPS60205659 A JP S60205659A
Authority
JP
Japan
Prior art keywords
word
error
key
display
word processor
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
JP59059595A
Other languages
Japanese (ja)
Inventor
Yuji Kurokawa
裕司 黒川
Eiji Noda
英治 野田
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.)
Brother Industries Ltd
Original Assignee
Brother Industries 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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP59059595A priority Critical patent/JPS60205659A/en
Publication of JPS60205659A publication Critical patent/JPS60205659A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/232Orthographic correction, e.g. spell checking or vowelisation

Abstract

PURPOSE:To enable easy correction of errors and enable to improve ease of using by indicating the content of input that caused an error when the error occurred at the time of inputting process command such as retrieval, substitution etc. CONSTITUTION:In a retrieval mode, judging is made as to whether a word to be retrieved is correct or not. When the word is not correct, an error message is displayed in a display section D. That is, error display is made when the word to be retrieved does not exist in the file in a RAM and when the word to be retrieved is empty. In a substitution mode, error display is made when the word to be substituted does not exist and when the RAM overflowed as the result of substitution. By displaying the content of input that caused an error in the display section D when the error occurred at the time of inputting process command such as retrieval, substitution etc., correction can be made easily, and ease of using can be improved.

Description

【発明の詳細な説明】 〔技術分野〕 本発明は、キーボードより入力されたデータを表示装置
上に表示するとともにテキストメモリに記憶するワード
プロセッサに関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field] The present invention relates to a word processor that displays data input from a keyboard on a display device and stores it in a text memory.

(技術的背景) 本発明において対象とされるワードプロセッサは、所謂
電子タイプライタの機能を発展させ、テキストの挿入、
削除その他の編集を可能にした形で形成されるものが多
い。このようなワードプロセッサの基礎となる電子タイ
プライタは、打鍵時に直接印字することが可能であるこ
とはもとより、所望容量の記憶装置を内蔵させて、所定
時間後又は任意時間後に印字可能にしたものが多い。
(Technical background) The word processor targeted by the present invention has developed the functions of a so-called electronic typewriter, and has the ability to insert text,
Many of them are formed in a form that allows deletion and other editing. Electronic typewriters, which form the basis of such word processors, are not only capable of printing directly when the keys are pressed, but also have a built-in storage device of a desired capacity and can print after a predetermined or arbitrary time. many.

そのため所定プログラムの書き込まれたプログラムメモ
リ及び文字記号等のパターンを記憶するパターンメモリ
を含むリード・オンリ・メモリ (以下ROMと表記す
る)と書換え可能なメモリ (以下RAMと表記する)
とから構成される装置を内蔵している。この内蔵記憶装
置及びこれらを制御するための中央処理装置cpuによ
って多様な機能が発揮される。なお、印字機構としては
、小型、軽量、静粛性等の特徴からサーマルへ・7ドを
使用すると都合がよいが、その他公知の装置も使用可能
であることはいうまでもない。
Therefore, read-only memory (hereinafter referred to as ROM), which includes a program memory in which a predetermined program is written and a pattern memory that stores patterns such as characters and symbols, and rewritable memory (hereinafter referred to as RAM)
It has a built-in device consisting of. Various functions are performed by this built-in storage device and the central processing unit CPU for controlling them. As the printing mechanism, it is convenient to use a thermal printer because of its characteristics such as small size, light weight, and quietness, but it goes without saying that other known devices can also be used.

かかる電子タイプライタは、このような内蔵する機1構
を活用することによって、通常のタイプライタ及びワー
ドプロセッサとしての機能以外に、例えば各種コンピュ
ータや外部記憶装置等との間で情報の授受を行うデータ
送受信装置として使用できるものも存在する。一方、専
門技術者のみを対象とする機器と違って、かかる電子タ
イプライタのように幅広い需要層を対象とする機器にあ
っては、機器運用上できるだけ簡潔な操作で迅速にこれ
ら具備する機能を発揮させなりればならない要請がある
。にもかかわらず、従来のこの種機器においては発揮し
得る機能が多彩になるにつれて所要操作内容も煩雑にな
るのが通例であった。したがって、具備する機能が高度
化するにつれて使い勝手が悪くなり、折角の機能も十分
に活用し得ない憾みがあった。
By utilizing such a built-in mechanism, such electronic typewriters not only function as ordinary typewriters and word processors, but also can handle data exchange with various computers, external storage devices, etc. There are also devices that can be used as transmitting and receiving devices. On the other hand, unlike devices targeted only to specialized engineers, devices such as electronic typewriters that are targeted at a wide range of demand groups can be equipped with these functions quickly and with the simplest operation possible. There are demands that must be fulfilled. Nevertheless, in conventional devices of this type, as the functions that can be performed become more diverse, the required operations usually become more complicated. Therefore, as the functions provided become more sophisticated, it becomes less convenient to use, and there is a problem that the functions that are available cannot be fully utilized.

〔発明の開示〕[Disclosure of the invention]

本発明は、所要動作に必要なパラメータを使用者に問い
合わせ、このパラメータにエラーが発生した場合に適切
な表示及びエラー除去の簡潔な手段を設けることによっ
て使い勝手の改善されたワードプロセッサを提供するこ
とを目的とする。
The present invention aims to provide a word processor with improved usability by inquiring the user about the parameters necessary for the desired operation, and providing a simple means for appropriate display and error removal when an error occurs in the parameters. purpose.

この目的は、特許請求の範囲に記載の構成を有するワー
ドプロセッサ、すなわも、前記キーボード上に配置され
、各種のテキストメモリ操作命令を選択的に入力する入
力手段と、該入力手段により選択された命令を実行する
制御手段と、前記命令の実行中に前記キーボードより入
力されたパラメータを保存する保存バッファと、前記命
令の実行中に支障が発生したときエラー信号を発生する
手段と、該エラー信号を解除するとともに、前記保存バ
ッファの内容を読み出して、前記エラーの原因となった
パラメータを入力した状態を表示させる手段と、を備え
たワードプロセッサによって達成される。
This object is to provide a word processor having the structure set forth in the claims, that is, an input means disposed on the keyboard for selectively inputting various text memory manipulation commands, and a word processor having the structure described in the claims. control means for executing an instruction; a storage buffer for saving parameters input from the keyboard during execution of the instruction; means for generating an error signal when a problem occurs during execution of the instruction; and the error signal. This is accomplished by a word processor comprising means for canceling the error, reading the contents of the storage buffer, and displaying the input state of the parameter that caused the error.

本発明にかかるワードプロセッサよって、各種処理中に
発生したエラーの確認及びエラー原因の除去が容易とな
り、使い勝手が改善される。
With the word processor according to the present invention, it becomes easy to confirm errors that occur during various processes and eliminate the cause of the errors, thereby improving usability.

〔発明の実施態様〕[Embodiments of the invention]

以下、実施例を示す添付図を参照して本発明を詳述する
The invention will now be described in detail with reference to the accompanying drawings, which illustrate examples.

第1図は、本発明にかかるワードプロセッサを含む電子
タイプライタの1実施態様を示す斜視図であり、大別し
てキーボード部におよびプリンタ部Pとから構成される
。図中、キーボード部Kには、通常のタイプライタにお
いて周知のように、所要数の文字・数字キーをはじめ各
種記号キー等のキ一群、スヘー スハ−S P 1コ−
F’キーcoop。
FIG. 1 is a perspective view showing one embodiment of an electronic typewriter including a word processor according to the present invention, which is roughly divided into a keyboard section and a printer section P. In the figure, the keyboard section K includes a group of keys such as a required number of letter and number keys as well as various symbol keys, as is well known in ordinary typewriters.
F' key coop.

及び各種制御キ一群が配設される。またこれらキ一群に
は、通常のタイピングによって必要とされる左右マージ
ンセットキーLM、RM、タブセット/クリアキーTA
B+ 、TAB−等の書式設定キーやタブキー TAB
、キャリッジリターンキー C/11.マージンリリー
スキーMR,バンクスペースキーB、SPがあり、さら
に電子タイプライタに特有のキ一群がある。
and a group of various control keys. In addition, these key groups include the left and right margin set keys LM, RM, and tab set/clear keys TA, which are required for normal typing.
Formatting keys such as B+, TAB- and tab keys TAB
, carriage return key C/11. There are a margin release key MR, a bank space key B, and SP, as well as a group of keys specific to electronic typewriters.

電子タイプライタ制御用キ一群としては、例えば、同一
動作を繰り返すリピートキーRe、日付等のように右揃
え印字をするライトマージンフラッシュ RMF、左右
マージンの中央に印字するセンタリングCTR,アンダ
ーラインキーυn1印字モードを選択するためのモード
キーMo、行間隔設定のためのラインスペース切り換え
LS、モード切り換えMSがある。また、カーソル移動
キーCu、印字開始のためのプリントキーPRNT、初
期表示を出すイグジットキーEXIT、削除キーDEL
 、挿入キーINS、動作再開指示のためのコンティニ
ューキーC0NT、ファンクション中止のためのエスケ
ープキーESC等のような主にワードプロセッサとして
のモードにおいて使用されるキ一群を有する。なお、印
字用紙送り及び戻しのためのインデックスキー、リバー
スインデックスキー INDSR,INDも配設される
。なお、コードキーC0DEは、各種キ一群のいずれか
と同時に押下することによって機能を拡張する働きがあ
る。例えば、コードキーC0DEとタブセントキーTA
B+とを同時に押下すると現在のプリンタヘッドの位置
する桁にデシマルタブをセントするどとができる。また
、ワードプロセッサモードにおいて、通常の文字キー例
えば“F”や“R”の押下では、それぞれの文字が入力
されるが、コードキーC0DEとこれら文字キー“F 
”や“R”が同時に押下されると、検索(Find)モ
ード又は置換(Replace )モードが得られる。
The key group for electronic typewriter control includes, for example, the repeat key Re that repeats the same operation, the light margin flash RMF that prints right-aligned characters such as the date, the centering CTR that prints in the center of the left and right margins, and the underline key υn1 print. There is a mode key Mo for selecting a mode, a line space switching LS for setting line spacing, and a mode switching MS. Also, cursor movement key Cu, print key PRNT to start printing, exit key EXIT to display the initial display, and deletion key DEL.
, an insertion key INS, a continue key C0NT for instructing to resume operation, an escape key ESC for canceling a function, etc., which are mainly used in the mode as a word processor. Incidentally, index keys and reverse index keys INDSR and IND for feeding and returning printing paper are also provided. Note that the code key C0DE has the function of expanding its functions by pressing it simultaneously with any of a group of various keys. For example, code key C0DE and tab cent key TA
If you press B+ at the same time, you can move the decimal tab to the digit where the current printer head is located. In addition, in the word processor mode, pressing the normal character keys such as "F" and "R" inputs the respective characters, but when the code key C0DE and these character keys "F" are pressed, the respective characters are input.
” and “R” are pressed at the same time, a Find mode or a Replace mode is obtained.

このキーボード部Kには、適当な表示部りが配設され、
押下されたキーに相当する文字・数字等をはじめ、記憶
装置内のデータや設定モードに対応する表示を選択的に
行い、操作上の便宜を図っている。この表示部りは、例
えば消費電力や要素寸法等の点で有利な液晶表示装置(
LCD )の、適当な桁数のものとすることができるが
、機器全体をハンディにするために、20ないし30桁
程度に選定されることが多い。
This keyboard section K is provided with an appropriate display section,
In addition to letters and numbers corresponding to the pressed key, displays corresponding to data in the storage device and setting mode are selectively displayed for operational convenience. This display section is a liquid crystal display device (LCD) that is advantageous in terms of power consumption, element size, etc.
The number of digits can be any suitable number for the LCD (LCD), but in order to make the entire device handy, it is often selected to be around 20 to 30 digits.

なお、本機器をデータ送受信装置とし゛ζ使用する際の
コネクタCNがキーボード部側面等の適当な位置に設け
られる。また、本機器がハンディな携帯用として形成さ
れる場合には、キャリングハンドルCHが図示のように
設けられる。
In addition, when using this device as a data transmitting/receiving device, a connector CN is provided at an appropriate position such as on the side surface of the keyboard section. Furthermore, when the device is configured for handy portability, a carrying handle CH is provided as shown.

プリンタ部Pは、使用時に開放されると紙受けとなるカ
バーCを有する。カバーCの下にはプラテンPLがあり
、このプラテンに沿って移動するプリンタヘッドPHが
配設される。このプリンタヘッドPHは、周知構成のも
のを使用することができるが、小型・軽便且つ静粛性等
の点からはサーマルヘッドが有利である。サーマルヘッ
ドは感熱紙にはそのまま、普通紙には熱転写リボンを介
して印字することができる。
The printer section P has a cover C that serves as a paper receptacle when opened during use. There is a platen PL under the cover C, and a printer head PH that moves along the platen is disposed. This printer head PH can be of any known construction, but a thermal head is advantageous in terms of its small size, convenience, and quietness. The thermal head can print directly on thermal paper, or on plain paper via a thermal transfer ribbon.

プリンタヘッドPHは、ガイドバー〇Bによって案内さ
れるキャリッジCaに装着され、プラテンPLに沿って
破線で示した用紙上を移動しながら印字動作を行う。な
お、印字用紙をプラテンPL上に押さえておき必要に応
じてこれを解除するペーパーリリースレバーPRが設け
られる。
The printer head PH is mounted on a carriage Ca guided by a guide bar 〇B, and performs a printing operation while moving on a sheet of paper indicated by a broken line along a platen PL. Note that a paper release lever PR is provided for holding the printing paper on the platen PL and releasing it as necessary.

本発明にかかるワードプロセッサを含む電子タイプライ
タは、電源スィッチSWによってオンオフされる。この
電子タイプライタが携帯用として使用される場合は、主
として内蔵電池電源によって駆動されるが、その他の外
部電源、例えば適当なアダプタを使用して商用電源その
他によっても使用することができることは言うまでもな
い。
An electronic typewriter including a word processor according to the present invention is turned on and off by a power switch SW. When this electronic typewriter is used as a portable device, it is primarily powered by the built-in battery power supply, but it goes without saying that it can also be used with other external power sources, such as mains power or other power sources using a suitable adapter. .

第2図は、本発明にかかるワードプロセ・7すを含む電
子タイプライタの内部構成を示すブロック図である。こ
れら要素の各部は、キーボード部K、表示部り及びプリ
ンタ部Pのように第1図上に開示された部分と、本体ケ
ース内に内蔵される中央処理袋Ncpu、記11装置R
OM、RAM等の部分から成るものである。これら各部
に対しての補助回路としては、キーボードドライバKD
、表示部コントローラDC,及びプリンタドライバイン
ターフェースPI等を具備している。さらに、データ送
受信装置としてのモードにおける外部機器との接続を可
能にするために外部インタフェース用ドライバ・レシー
バIRを有している。したがって、同種機器をはしめ各
種コンピュータや外部記憶装置との間での情報の授受が
可能である。
FIG. 2 is a block diagram showing the internal structure of an electronic typewriter including a word processor 7 according to the present invention. Each of these elements includes the parts disclosed in FIG. 1 such as the keyboard part K, display part and printer part P, the central processing bag Ncpu built in the main body case, and the 11 device R.
It consists of parts such as OM and RAM. As an auxiliary circuit for each of these parts, the keyboard driver KD
, a display controller DC, a printer driver interface PI, and the like. Furthermore, it has an external interface driver/receiver IR to enable connection with external equipment in the mode as a data transmitting/receiving device. Therefore, it is possible to exchange information between devices of the same type and various computers and external storage devices.

第2図の各ブロックを形成する要素の各々については、
大部分が、周知の要素又は機器、例えばLSIその他の
回路素子をはじめプリンタ機構等をもって構成可能であ
ることは、当業者にとって明らかであろう。
For each of the elements forming each block in FIG.
It will be obvious to those skilled in the art that most of the components or devices can be constructed using well-known elements or equipment, such as LSI and other circuit elements, printer mechanisms, and the like.

本発明にかかるワードプロセッサは、第1図のモードセ
レククMSの切換えにより、通常のファイルの記憶・編
集・複写・印字等を行うWP (ワードプロセッサ)モ
ードの他に、文章の印字を行うNORMAL (タイプ
ライタ)モード及びデータ送受信のためのTIERMI
NALモードのいずれかで任意に使用することができる
。そのため、第3図(a)のようにROMには検索(F
ind )や置換(1?eplace)のためのプログ
ラムF、P+ R,Pが内蔵せしめられる。またRAM
内には、第3図fb)のように、テキストメモリ TM
はもとより、入カバソファ IB、ラインバッファ L
B、表示バッファ LCD B、カーソルポインタCu
、P 、文字保存エリアLHA、投入最大文字数詠ル等
の各部分を設けて、打鍵された内容又は外部から伝送さ
れた内容をRAM内の所要箇所に一旦記憶しておき、フ
ァイル内の複写・削除・結合・置換・検索等の編集や印
字を行うことができるように構成される。本実施例にか
かる電子タイプライタを、引】モード又はNORMAL
モードで使用する場合の書式設定は、左右マージンキー
LM、 RMやクフ゛セット/クリアキー TAB+、
TAB −等によって行われる。なお、設定されている
モード等は、表示部り上にガイダンス表示される。
The word processor according to the present invention has a WP (word processor) mode for storing, editing, copying, printing, etc. of normal files by switching the mode selector MS shown in FIG. 1, and a NORMAL (typewriter) mode for printing text. TIERMI for mode and data transmission/reception
Can be optionally used in either NAL mode. Therefore, as shown in Figure 3(a), the ROM has a search (F)
ind) and replacement (1?eplace) programs F, P+R, and P are built-in. Also RAM
Inside, as shown in Figure 3 fb), there is a text memory TM
In addition to the included cover sofa IB, line buffer L
B, Display buffer LCD B, Cursor pointer Cu
,P, character storage area LHA, maximum number of input characters, etc. are provided to temporarily store the key pressed contents or the contents transmitted from the outside in the required locations in the RAM, and copy and paste them in the file. It is configured so that editing such as deletion, combination, replacement, search, etc., and printing can be performed. The electronic typewriter according to this embodiment is set to [Pull] mode or NORMAL mode.
For formatting when used in mode, use the left and right margin keys LM, RM, set/clear key TAB+,
This is done by TAB-etc. Note that the set mode, etc. is displayed as guidance on the display section.

第4図は、本発明にかかるワードプロセッサにおける検
索(Find )モードの場合の処理動作を示すフロー
図である。他モードにおいてもほぼ同様なフローで処理
が行われる。検索コマンド(コードキーC0DEと文字
キーFとの同時押下による:以下、C0DIE+Fと略
記)によってこのフローがスタートすると、プロソーク
11において、ラインバッファ LBに塗りつぶしマー
ク■に関するデータが設定される。次いで、ブロック1
2のようにメソセージを編集し、表示バッファ LCD
 Bに設定する。この場合のカーソルポインタは、メソ
セージ長+1となる。次ぎに、ブロック、13で付加メ
ツセージがあるか否かが判断される。この判断がYの場
合は、ブロック14のように、付加メツセージが入カバ
ソファ IBに設定される。一方、Nの場合はブロック
14をスキップする。なお、第1回目のフローでは、f
=J加メソセージは存在しないので必ずNとなる。
FIG. 4 is a flowchart showing processing operations in the find mode in the word processor according to the present invention. Processing is performed in substantially the same flow in other modes as well. When this flow is started by a search command (by pressing the code key C0DE and character key F at the same time: hereinafter abbreviated as C0DIE+F), data regarding the fill mark ■ is set in the line buffer LB in the prosoak 11. Then block 1
Edit the message as shown in step 2 and open the display buffer on the LCD.
Set to B. In this case, the cursor pointer becomes message length +1. Next, in block 13, it is determined whether there is an additional message. If this determination is Y, as in block 14, an additional message is set in the incoming cover sofa IB. On the other hand, in the case of N, block 14 is skipped. Note that in the first flow, f
= J addition message does not exist, so it will always be N.

次いで、ブロック15のように、表示バッファLCD 
Bへ、付加メソセージとラインバッファ LBの内容と
を投入最大文字で合成する。この場合の表示部りの表示
ば、Find word ?と投入最大文字数に相当す
る塗りつぶしマーク■であり、他はスペースとなる。例
えば、この場合の表示は、下記のようになる。なお、 
はカーソルを示す。
Then, as in block 15, the display buffer LCD
To B, the additional message and the contents of the line buffer LB are combined using the maximum input characters. In this case, the display will show "Find word?" and a filled-in mark corresponding to the maximum number of characters that can be input, and the rest are spaces. For example, the display in this case is as follows. In addition,
indicates the cursor.

” Find word ? 1llllllllll
lllallll ”ここで、ブロック16のように文
字moonを入力すると、入カバソファにはこの文字が
記憶される。次いで、C0DE+ Fが押下されると、
投入された文字moonがブロック17のように保存エ
リアに保存され、さらにブロック18のように検索処理
が行われる。次いでブロック19のように、先に投入さ
れた検索すべき単語が正確であるか否かを、エラーの有
無と考え、エラーか否かが判断される。この判断がNで
あれば、正しい検索が可能であるから、ブロック20の
ように結果を表示部りに表示した後フローを終了する。
” Find word? 1llllllllllll
llalllll ”Here, if you input the character moon as in block 16, this character will be stored in the cover sofa.Next, when C0DE+F is pressed,
The input character "moon" is stored in a storage area as shown in block 17, and search processing is further performed as shown in block 18. Next, as in block 19, whether or not the previously inputted word to be searched is accurate is considered to be the presence or absence of an error, and it is determined whether or not there is an error. If this determination is N, a correct search is possible, so the result is displayed on the display section as shown in block 20, and then the flow is ended.

この結果は、例えば検索すべき単語“ moon”を含
む行数及びその文であり、1例を挙げれば下記のような
表示である。
The results are, for example, the number of lines and sentences containing the word "moon" to be searched, and one example is the following display.

” 4<] any 5tar、 The moon 
”一方、ブロック19の判断がYの場合は、ブロック2
1のように、表示部りにエラーメツセージを表示する。
” 4<] any 5tar, The moon
”On the other hand, if the judgment of block 19 is Y, block 2
1, an error message is displayed on the display.

このエラーメソセージは、例えば下記のようになる。An example of this error message is as follows.

“<l moon ff1l!I!all−II NO
T FOIIND C>この場合のエラー条件は、検索
すべき単語が、ファイル内に存在しないこと、及び検索
すべき単語が空であることである。
“<l moon ff1l!I!all-II NO
T FOIIND C>The error conditions in this case are that the word to be searched does not exist in the file and that the word to be searched is empty.

次いで、ブロック22のように、エスケープキー ES
Cが押下されたか否がか判断される。この判断がNの場
合は、このフローを終了する。
Then, as in block 22, press the escape key ES
It is determined whether or not C has been pressed. If this determination is N, this flow ends.

この判断がYの場合は、ESC押下に応じてブロック1
1に復帰して、2回目以降のフローを繰り返す。
If this judgment is Y, block 1 will be displayed in response to pressing ESC.
Return to step 1 and repeat the flow from the second time onwards.

エスケープキーESCの押下による2回目のフローでは
、もしエラーの原因を修正する必要があれば、ここで修
正を行う。いま、保存エリアLIIAには付加メツセー
ジとしての先の入力内容量oonが記憶されており、ブ
ロック15により表示バッファには例えば下記のような
検索問い合わせ画面の内容が記憶され、再び下記のよう
に表示部り上に表示される。
In the second flow when the escape key ESC is pressed, if the cause of the error needs to be corrected, the correction is made here. Now, the storage area LIIA stores the previous input content amount oon as an additional message, and block 15 stores the content of the search inquiry screen as shown below in the display buffer, and displays it again as shown below. displayed above the section.

” Find word ? moon 111111
1111111 ”3回目以降のフローでも、C0DE
+Fの押下で検索問い合わせ画面を表示する。
” Find word ? moon 111111
1111111 "C0DE even after the third flow
Press +F to display the search inquiry screen.

” Find word 7 moon 1lllil
ffll1日”ここで再び’ moon ”を含む行の
検索をするためにC0DE+Fが押下されると、検索処
理を行い、表示部りには例えば下記の表示が得られる。
” Find word 7 moon 1llil
When C0DE+F is pressed to search for a line containing 'moon' again on 'ffll1st', the search process is performed and, for example, the following display is obtained on the display.

” 1<J in the moon、 But lo
ng″以下、C0DE+Fの繰り返し入力により、検索
フローがスタートし、必要なだけ検索処理が実行され、
テキスト内の全てが検索される。
” 1<J in the moon, But lo
ng", the search flow will start by repeatedly inputting C0DE+F, and the search process will be executed as many times as necessary.
Everything in the text is searched.

次に、以上のように検索された単語を、なんらかの新し
い単語と置換する場合の置換モードについて説明する。
Next, a replacement mode for replacing the word searched as described above with some new word will be described.

本発明にかかるワードプロセッサにおける置換(Rep
lace)コマンドの場合の処理動作は、検索の場合と
ほぼ同様のフローにより以下のように実行される。置換
コマンド(コードキーC0DEと文字キーRの同時押下
による:以下C’ODE+Rと略記)を入力すると、表
示部りには置換問い合わせ画面(Replace Wo
rd? )が現れると同時に、有効文字数に相当する1
0個の塗りつぶしマーク■が例えば下記のように表示さ
れる。
Replacement (Rep) in the word processor according to the present invention
The processing operation for the (lace) command is executed as follows using a flow similar to that for the search. When you enter a replacement command (by pressing the code key C0DE and letter key R at the same time: hereinafter abbreviated as C'ODE+R), a replacement inquiry screen (Replace WoDE) will appear on the display.
rd? ) appears, at the same time 1 corresponding to the number of effective characters appears.
For example, 0 filled marks ■ are displayed as shown below.

” 1leplace word ?Il[1llll
llllllllli日”ここで、説明の例として、単
語“’ Country”から“Na口on I+に置
換する例について説明する。
” 1leplace word ?Il[1lllll
Here, as an example of explanation, an example in which the word "'Country" is replaced with "Naguchi on I+" will be described.

そこで、キーを押下して置換されるべき単語(オールド
ワード) ” Country”を入力する。すると検
索の場合の問い合わせ画面と同様に、下記のような表示
が現れる。
Then, press the key to input the word (old word) "Country" to be replaced. Then, similar to the inquiry screen for searching, the following display will appear.

” Replace word ? Country 
Iillml ”次いでアクセプトキーを兼用するキャ
リッジリターンキーC/Rを押下すると、新単語問い合
わせ画面(New Word? )が現れる。これは、
例えば下記のような表示となる。
”Replace word?Country
Next, press the carriage return key C/R, which also serves as the accept key, and a new word inquiry screen (New Word?) will appear.
For example, the following display will appear.

” New word ?■■−−11118■−−”
そこで、新たな単語” Nation ”を打鍵し下記
のような表示を得る。
"New word ?■■--11118■--"
Then, press the new word "Nation" and get the following display.

” Neu word ? Nation II■II
II ”ここでキャリッジリターンキーC/Rを押下す
ると、表示部りには全語置換か、1語のみ置換かの問い
合わせ画面が、下記のように現れる。
"Neu word? Nation II■II
II ``Here, press the carriage return key C/R, and a screen will appear on the display asking whether you want to replace all words or just one word, as shown below.

”ReplceAll −Y/N ? ”Yはファイル
中のカーソル位置以降の全ての対象単語を置換すること
を意味し、Nはカーソル位置以降の1単語のみの置換を
行うものである。
"ReplceAll -Y/N?" Y means to replace all target words after the cursor position in the file, and N means to replace only one word after the cursor position.

そこで、文字キーY又はNを押下し、次にキャリッジリ
ターンキーC/Rを押下することにより所定動作が実行
され、その結果が表示される。その後初期状態に復帰す
る。
Therefore, by pressing the character key Y or N and then pressing the carriage return key C/R, a predetermined operation is executed and the result is displayed. After that, it returns to the initial state.

このモードにおけるエラー条件は、置換すべき単語が存
在しないこと、置換処理を行った結果、メモリがオーバ
ーフローしたこと、及び置換すべき単語が空であること
で、この場合には、エラーの表示又は報知を行う。
The error conditions in this mode are that the word to be replaced does not exist, the replacement process resulted in memory overflow, and the word to be replaced is empty. In this case, an error message or Make announcements.

このように、本発明にかかるワードプロセツサによれば
、検索・置換等の処理コマンド入力の際のエラー発生時
に、その原因となった入力内容を表示することにより、
その修正が容易に実施し得るようになる。また、この修
正も全体によることなく、当該エラ一部分のみの修正入
力で済むことになり、使い勝手が向上する。
As described above, according to the word processor of the present invention, when an error occurs when inputting processing commands such as search and replace, by displaying the input content that caused the error,
The modification can be easily implemented. In addition, this correction does not have to be done entirely, but only a part of the error needs to be corrected, which improves usability.

好適な実施例に即して開示したが、本発明の範囲内にお
いて多くの変形又は変更が可能であることは″11業者
において明らかであろう。
Although the preferred embodiment has been disclosed, it will be apparent to those skilled in the art that many modifications and variations can be made within the scope of the invention.

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

第1図は、本発明にかかるワードプロセッサの機能を具
備する電子タイプライクの外部構成及び一部破断による
内部構造を示す斜視図である。 第2図は、本発明にかかるワードプロセツサを含む電子
タイプライタの構成を示すプロ・ツク図である。 第3図(al、(blは、本発明の詳細な説明するため
の記憶装置ROM及びRAMの構成を示す説明図である
。 第4図は、本発明にかかるワードブロセ・ノサの検索処
理動作を示すフロー図である。 図中、主な参照符号の対応は以下の通りである。 K:キーボード部 P:プリンタ部 D:表示部 C:カバー SPニスペースバー CN:コネクタ C/R:キャリソジリターンキー a、sp:ハソクスペースキー TAB +、TAB −:タフ゛セット/クリアキーC
u:カーソルキー TAB :タブキーMR;マージン
リリースキー LM:左マージン RM:右マージン Ca:キャリッジ GBニガイドバー PH:プリンタヘッド PL;プラテン PR:用紙解除レバーSW:電源スイ
ッチ GODE :コードキーESCコエスケープキー F、’P’:検索プログラム R,P:置換プログラム lB:入カバソファ LBニラインバッファLCD B
 :表示バッファ Cu、P:カーソルポインタ L HA :文字保存エリア Mx、L:投入最大文字数 TM:テキストメモリ 特許出願人 ブラザー工業株式会社 代理人 (弁理士) 江 崎 光 好 代理人 (弁理士) 江 崎 先 史
FIG. 1 is a perspective view showing the external structure and partially broken internal structure of an electronic type-like equipped with the function of a word processor according to the present invention. FIG. 2 is a block diagram showing the configuration of an electronic typewriter including a word processor according to the present invention. FIG. 3 (al, (bl) is an explanatory diagram showing the configuration of a storage device ROM and RAM for explaining the present invention in detail. FIG. This is a flowchart showing the main reference numerals in the figure. K: Keyboard section P: Printer section D: Display section C: Cover SP space bar CN: Connector C/R: Carriage solution Return key a, sp: Space key TAB +, TAB -: Tough set/clear key C
u: Cursor key TAB: Tab key MR; Margin release key LM: Left margin RM: Right margin Ca: Carriage GB Ni guide bar PH: Printer head PL; Platen PR: Paper release lever SW: Power switch GODE: Code key ESC co-escape key F , 'P': Search program R, P: Replacement program 1B: Input cover sofa LB Niline buffer LCD B
: Display buffer Cu, P: Cursor pointer L HA: Character storage area Mx, L: Maximum number of input characters TM: Text memory Patent applicant Brother Industries, Ltd. Agent (patent attorney) Hikaru Esaki Agent (patent attorney) E Saki Senfumi

Claims (1)

【特許請求の範囲】 1、キーJ(−ドより入力されたデータを表示装置上に
表示するとともにテキストメモリに記憶するワードプロ
セッサにおいて、 前記キーボード上に配置され、各種のテキストメモリ操
作命令を選択的に入力する入力手段と、 該入力手段により選択された命令を実行する制御手段と
、 前記命令の実行中に前記キーボードより入力されたパラ
メータを保存する保存バ・ンファと、前記命令の実行中
に支障が発生したときエラー信号を発生する手段と、 該エラー信号を解除するとともに、前記保存バッファの
内容を読み出して、前記エラーの原因となったパラメー
タを入力した状態を表示させる手段と、 を備えたことを特徴とするワードプロセッサ。
[Claims] 1. In a word processor that displays data input through a key J (-) on a display device and stores it in a text memory, the word processor is arranged on the keyboard and selectively executes various text memory operation commands. a control means for executing an instruction selected by the input means; a storage buffer for saving parameters input from the keyboard during execution of the instruction; means for generating an error signal when a failure occurs; and means for canceling the error signal, reading the contents of the storage buffer, and displaying the input state of the parameter that caused the error. A word processor that features:
JP59059595A 1984-03-29 1984-03-29 Word processor Pending JPS60205659A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59059595A JPS60205659A (en) 1984-03-29 1984-03-29 Word processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59059595A JPS60205659A (en) 1984-03-29 1984-03-29 Word processor

Publications (1)

Publication Number Publication Date
JPS60205659A true JPS60205659A (en) 1985-10-17

Family

ID=13117749

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59059595A Pending JPS60205659A (en) 1984-03-29 1984-03-29 Word processor

Country Status (1)

Country Link
JP (1) JPS60205659A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5759268A (en) * 1980-09-29 1982-04-09 Fujitsu Ltd Document producing device containing substituting function for full sentence
JPS5922125A (en) * 1982-07-27 1984-02-04 Toshiba Corp Document editing device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5759268A (en) * 1980-09-29 1982-04-09 Fujitsu Ltd Document producing device containing substituting function for full sentence
JPS5922125A (en) * 1982-07-27 1984-02-04 Toshiba Corp Document editing device

Similar Documents

Publication Publication Date Title
US5854884A (en) Character information processor for printing characters
US5331337A (en) Data processing apparatus with self-repeat function
US9218337B2 (en) Text editing apparatus and storage medium
JPS60207951A (en) Electronic typewriter
JPS60205659A (en) Word processor
US4971461A (en) Printing device for exchanging printing elements by use of character and identification code data
JPS60205658A (en) Word processor
JP4491220B2 (en) Small printed matter creating apparatus, small printed matter creating method, and small printed matter creating program
JPS60205657A (en) Word processor
EP0573262B1 (en) Wordprocessing device
JPH0624910Y2 (en) Word processor
JPS60207950A (en) Word processor
JPH057189B2 (en)
JPS60205771A (en) Electronic typewriter
JPS60209856A (en) Electronic equipment
JPS60209855A (en) Electronic apparatus
JPS60205742A (en) Electronic typewriter
JPS60208267A (en) Electronic typewriter having display device
JPS61122774A (en) Japanese input/output device
JPS60205770A (en) Electronic typewriter with display device
JPS60208272A (en) Electronic typewriting having decimal tab function
JPH06100977B2 (en) Data transfer device
JPS60204383A (en) Electronic typewriter
JPS60222953A (en) Electronic typewriter
JPH0422653A (en) Printer