JPS62139025A - Controller for input given from keyboard - Google Patents

Controller for input given from keyboard

Info

Publication number
JPS62139025A
JPS62139025A JP60280528A JP28052885A JPS62139025A JP S62139025 A JPS62139025 A JP S62139025A JP 60280528 A JP60280528 A JP 60280528A JP 28052885 A JP28052885 A JP 28052885A JP S62139025 A JPS62139025 A JP S62139025A
Authority
JP
Japan
Prior art keywords
input
character
characters
keyboard
key
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
JP60280528A
Other languages
Japanese (ja)
Inventor
Chizuko Inoue
井上 千寿子
Naoko Tazaki
田崎 尚子
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP60280528A priority Critical patent/JPS62139025A/en
Publication of JPS62139025A publication Critical patent/JPS62139025A/en
Pending legal-status Critical Current

Links

Landscapes

  • Input From Keyboards Or The Like (AREA)

Abstract

PURPOSE:To facilitate an easy processing and easy handling with the titled controller by inhibiting the display of the out-range input characters until a CR key is depressed by a character type deciding means in case the number of input characters exceeds the limit value when the characters are supplied from a keyboard. CONSTITUTION:When the presence or absence of the input signal given from a keyboard 1 is decided together with an input action, a limit range deciding means 41 counts the number of input characters to decide whether or not the number of these characters is set within the limit range. If it is decided the number of input characters exceeds the limit range, the position of a cursor is moved back by a step by the cursor control. Then the input characters out of the limit range are disued to a read- away part 2. While it is decided whether the input signal is equal to a CR key or not if the number of input characters is set within the limit range. Then an operation is started if a CR key is confirmed. When the CR key input signal is transmitted, the character type is decided by a character deciding means 42 and the designated character type is displayed on a CRT3. If no coincidence of character types is obtained, the input data is read away and not displayed. Then the cursor is set to its original position.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は会話型処理におけるキーボードからの入力制
御装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an input control device from a keyboard in conversational processing.

〔従来の技術〕[Conventional technology]

一般に、フォートランやベーシックによるキーボードか
らの入力文字を読み敗る動作は、キャリッジ・リターン
キー(以下、くCR〉キーという)が押されるととによ
りなされる。従って、(CR)キーが押されるまで、指
定された文字型であれば入力が可能となる。また、入力
された文字数の判断ができないため正誤の判定をする必
要がある。
Generally, the operation of reading input characters from a keyboard using Fortran or Basic is performed when a carriage return key (hereinafter referred to as CR key) is pressed. Therefore, until the (CR) key is pressed, input of the specified character type is possible. Furthermore, since it is not possible to determine the number of characters input, it is necessary to determine whether the input is correct or incorrect.

第3図は従来のこの種のキーボードからの入力制御装置
を示すブロック図であ夛、図において、1はキーボード
、2は読み捨て部、3はブラウン管表示装置の如き視覚
表示装置(以下、CRTという)、4は文字型判定手段
である。
FIG. 3 is a block diagram showing a conventional keyboard input control device of this type. In the figure, 1 is a keyboard, 2 is a disposable reading section, and 3 is a visual display device such as a cathode ray tube display device (hereinafter referred to as CRT). ), 4 is a character type determination means.

次に動作につ込て説明する。キーボード1から送られて
ぐる入力文字信号は、文字型判定手段4での判定動作で
文字型が一致していると判断されると、結果をCRT3
へ表示出力する。ここで、文字型が一致していないと判
断されるとエラーとなり、読み捨て部2に読み捨てられ
、会話型処理が強制終了となる。キーボード1からの入
力信号は、<CR>キーが押されるまでCRT3へ表示
出力がなされる。
Next, the operation will be explained in detail. When the character type determination means 4 determines that the character types match, the input character signal sent from the keyboard 1 is transferred to the CRT 3.
Display output to. Here, if it is determined that the character types do not match, an error will occur and the text will be discarded by the discard unit 2, and the conversational processing will be forcibly terminated. Input signals from the keyboard 1 are displayed and output to the CRT 3 until the <CR> key is pressed.

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

従来のキーボードからの入力制御装置は以上のように構
成されているので、キーボードからの入力は、フォート
ランではリード(Read )文で読む必要があり、そ
のため入力文字の判定が難しい上に、(CR)キーが押
されるまで入力が自由であるので入力制限枠を画面上で
表現できないなどの問題点があった。
Conventional keyboard input control devices are configured as described above, so input from the keyboard must be read as a read statement in Fortran, which makes it difficult to judge input characters, and makes it difficult to read (CR) input characters. ) Since input is free until the key is pressed, there are problems such as the input restriction frame cannot be expressed on the screen.

また、ベーシックでは、入力制限枠を越えて入力した場
合、枠外文字が画面に残ってしまうという問題点があっ
た。
Another problem with Basic was that if an input exceeded the input limit, characters outside the frame would remain on the screen.

さらK、入力文字が指定の文字型と異なると、エラー強
制終了となるなどの問題点があった。
Additionally, there were problems such as a forced termination due to an error if the input character was different from the specified character type.

この発明は上記のような問題点を解消するためになされ
たもので、キーボードからの入力文字数を制御できると
ともに入力文字を判定できるキーボードからの入力制御
装置を得ることを目的とする。
The present invention has been made to solve the above-mentioned problems, and an object of the present invention is to provide a keyboard input control device that can control the number of characters input from the keyboard and can determine the input characters.

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

この発明に係るキーボードからの入力制御装置は、文字
型判定手段内の制限枠判定手段でキーボードから入力さ
れる入力文字数を判定し、制限枠外の文字数になった際
にはその旨表示してその制限外の文字を読み捨てるよう
くし、くCR〉キーが押された際に前記制限枠判定手段
から出力される制限枠内の文字信号の文字型を文字判断
手段で正誤判断して文字型が一致しているときKは視覚
表示装置に出力して表示を行い、一致してないときには
読み捨てるようKしたものである。
The input control device from the keyboard according to the present invention determines the number of characters input from the keyboard by the limit frame determining means in the character type determining means, and when the number of characters is outside the limit frame, displays a message to that effect. Characters outside the limit are read and discarded, and when the CR> key is pressed, the character type of the character signal within the limit frame outputted from the limit frame judger is judged as correct or incorrect by the character judge means, and the character type is determined. When they match, K is output to the visual display device and displayed, and when they do not match, K is read and discarded.

〔作 用〕[For production]

この発明における文字型判定手段は、キーボードからの
文字入力時、入力文字数が制限を越えた場合、くCR〉
キーが押されるまで枠外入力文字を画面上に表示しない
ように制御する。
The character type determination means in this invention is configured to detect the character type when the number of input characters exceeds the limit when inputting characters from the keyboard.
Controls characters input outside the frame not to be displayed on the screen until a key is pressed.

〔実施例〕〔Example〕

以下、この発明の一実施例を図について説明する。第1
図において、前述した第3図と同一、又は相当部分には
同一符号を付して示している。
An embodiment of the present invention will be described below with reference to the drawings. 1st
In the figure, the same or corresponding parts as in FIG. 3 described above are designated by the same reference numerals.

41は入力文字数の判定を行い制限枠を越えて文字信号
が入力された際にはその旨表示を行ってその制限枠外の
文字信号は読み捨て部2へ読み捨てる制御を行う制限枠
判定手段、42はくCR〉キーが押された際に制限枠判
定手段41から出力される制限枠内の文字信号の文字型
の正誤判断を行ない文字型が一致していると判定される
とCRT3に出力し一致してないと判定すると読み捨て
部2に読み捨てる制御をする文字判断手段である。
41 is a limit frame determining means for determining the number of input characters, and when a character signal exceeding the limit frame is input, displays a message to that effect, and controls character signals outside the limit frame to be discarded to the discard section 2; 42; When the CR key is pressed, it is determined whether the character type of the character signal within the limit frame outputted from the limit frame determining means 41 is correct or incorrect, and if it is determined that the character types match, the character signal is output to the CRT 3. If it is determined that they do not match, the character determination means controls the discard unit 2 to discard the characters.

第2図は第1図の入力制御装置に組み込まれたプログラ
ムを示すフローチャート図である。
FIG. 2 is a flowchart showing a program installed in the input control device of FIG.

次に動作について説明する。第1図、第2図を参照しな
がら説明する。
Next, the operation will be explained. This will be explained with reference to FIGS. 1 and 2.

if、ステップ4Aでキーボード1から送られてくる入
力信号の有無の判定動作が行なわれる。
If, in step 4A, the presence or absence of an input signal sent from the keyboard 1 is determined.

この動作で入力があると判定されると、ステップ4Bで
入力文字数をカウントし、予め与えられた制限枠内かを
判断する。制限枠を越えたと判定されると、カーソル制
御4CKよりカーソル位置を1つ元に戻し、ステップ4
AK動作を戻す。枠外入力文字は全て読み捨て部2に読
み捨てられる。
If it is determined that there is an input through this operation, the number of input characters is counted in step 4B, and it is determined whether it is within a predetermined limit frame. If it is determined that the limit frame has been exceeded, the cursor position is returned by one position using the cursor control 4CK, and the process proceeds to step 4.
Return AK operation. All characters input outside the frame are discarded by the discard section 2.

制限枠内であると判定されると、ステップ4Dで入力信
号が〈CR〉キーであるかどうかの判定動作が行なわれ
る。ここで、くCR〉キーであると判定されると、ステ
ップ4E〜4Gからなる動作が開始される。くCR〉キ
ーでなければ、ステップ4AK動作を戻す。
If it is determined that the input signal is within the limit frame, a determination operation is performed in step 4D to determine whether the input signal is the <CR> key. Here, if it is determined that the key is pressed, the operation consisting of steps 4E to 4G is started. If it is not the CR> key, return to step 4AK operation.

キーボード1からくCR〉キー人力信号が送信されると
、〈CR〉キーまでに送信された入力文字は、文字判断
手段42によシステップ4Eが実行される。ステップ4
E、4Fで文字型の判断動作が行なわれる。この動作で
予め指定された文字型であると判断されると、ステップ
4Gが実行され、C几T3の画面上に入力データが表示
される。
When the <CR> key manual signal is transmitted from the keyboard 1, the input characters transmitted up to the <CR> key are subjected to step 4E by the character determining means 42. Step 4
Character type determination operation is performed at E and 4F. If it is determined in this operation that the character type is a prespecified character type, step 4G is executed and the input data is displayed on the screen of C-T3.

ここで、文字型が一致しないと判断されると、入力デー
タは読み捨て部2に読み捨てられ、入力データは表示さ
れず、カーソルを元に戻し、再び入力待ちの状態となシ
、ステップ4AK動作を戻す。
Here, if it is determined that the character types do not match, the input data is discarded by the discard section 2, the input data is not displayed, the cursor is returned to the original state, and the state of waiting for input is resumed. Step 4AK operation is performed. return.

なお、上記実施例では、カーソル位置を1つ戻すことに
より入力制限を表わしたが、音により表わしてもよい。
In the above embodiment, the input restriction is indicated by moving the cursor position back one position, but it may also be indicated by a sound.

また、入力最大文字であることを画面上で入力文字色を
かえること、さらに制限を越えた時、入力文字を全て消
去し、カーソルを自動的に元の位置に戻してもよい。
Furthermore, the input character color may be changed on the screen to indicate that the maximum input character has been reached, and furthermore, when the limit is exceeded, all input characters may be erased and the cursor may be automatically returned to its original position.

〔発明の効果〕〔Effect of the invention〕

以上のようKこの発明によれば、キーボードからの入力
について、入力文字数が制限枠を越えたときその旨表示
を行って制限枠を越えた分を読み捨てるように制限枠判
定手段で制御し、t+<CR〉キーが押されたとき制限
枠判定手段から送られてくる文字信号の正誤判断を文字
判断手段で行い文字型が一致していないと読み捨てるよ
うに制御し、一致していたときKはCRTに表示させる
制御を行うようKし九ので、会話型処理が容易となり、
ユーザーが使い易いシステムが得られるという効果があ
る。
As described above, according to the present invention, when the number of input characters exceeds the limit frame, the limit frame determining means controls the input from the keyboard so that when the number of input characters exceeds the limit frame, a display to that effect is displayed and the portion exceeding the limit frame is discarded, When the t+<CR> key is pressed, the character determining means determines whether the character signal sent from the restriction frame determining means is correct or not, and if the character types do not match, it is controlled to be discarded, and when they match. Since K controls the display on the CRT, interactive processing is facilitated.
This has the effect of providing a system that is easy for users to use.

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

第1図はこの発明の一実施例によるキーボードからの入
力制御装置を示すブロック図、第2図は第1図の入力制
御装置の動作を示すフローチャート図、第3図は従来の
キーボードからの入力制御装置を示すブロック図である
。 1はキーボード、3はCRT”、4は文字型判定手段、
41は制限枠判定手段、42は文字判断手段。 なお、図中、同一符号は同一、または相当部分を示す。 特許出願人  三菱電機株式会社 代理人 弁理士  1)澤 博 昭  1(外2名) 第2図
FIG. 1 is a block diagram showing a keyboard input control device according to an embodiment of the present invention, FIG. 2 is a flowchart showing the operation of the input control device shown in FIG. 1, and FIG. 3 is a conventional keyboard input control device. FIG. 2 is a block diagram showing a control device. 1 is a keyboard, 3 is a CRT", 4 is a character type determination means,
41 is a limit frame determining means, and 42 is a character determining means. In addition, in the figures, the same reference numerals indicate the same or equivalent parts. Patent applicant Mitsubishi Electric Corporation Agent Patent attorney 1) Hiroshi Sawa 1 (2 others) Figure 2

Claims (1)

【特許請求の範囲】[Claims] キーボードから入力される文字を文字型判定手段で判定
し、文字型が一致していると判定した際には視覚表示装
置に表示する会話型処理におけるキーボードからの入力
制御装置において、前記文字型判定手段は入力文字数の
判定を行い制限枠を越えて文字信号が入力された際には
その旨表示を行ってその制限枠外の文字信号は読み捨て
る制御を行う制限枠判定手段と、前記キーボードのキャ
リッジ・リターンキーが押された際に前記制限枠判定手
段から出力される制限枠内の文字信号の文字型の正誤判
断を行ない文字型が一致していると判断されると前記視
覚表示装置に出力し一致していないと判断すると読み捨
てる制御を行う文字判断手段とを備えて構成されている
ことを特徴とするキーボードからの入力制御装置。
Character type determination means determines characters input from a keyboard, and displays the character type on a visual display device when character types are determined to match. The means includes a limit frame determining means for determining the number of input characters, displaying a display to that effect when a character signal is input exceeding the limit frame, and discarding character signals outside the limit frame, and a carriage of the keyboard. - Determine whether the character type of the character signal within the limit frame outputted from the limit frame determining means when the return key is pressed is correct, and if it is determined that the character types match, output to the visual display device. 1. A keyboard input control device comprising: a character determining means for discarding characters when it is determined that they do not match.
JP60280528A 1985-12-13 1985-12-13 Controller for input given from keyboard Pending JPS62139025A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60280528A JPS62139025A (en) 1985-12-13 1985-12-13 Controller for input given from keyboard

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60280528A JPS62139025A (en) 1985-12-13 1985-12-13 Controller for input given from keyboard

Publications (1)

Publication Number Publication Date
JPS62139025A true JPS62139025A (en) 1987-06-22

Family

ID=17626355

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60280528A Pending JPS62139025A (en) 1985-12-13 1985-12-13 Controller for input given from keyboard

Country Status (1)

Country Link
JP (1) JPS62139025A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5907375A (en) * 1996-03-01 1999-05-25 Fuji Xerox Co., Ltd. Input-output unit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5907375A (en) * 1996-03-01 1999-05-25 Fuji Xerox Co., Ltd. Input-output unit

Similar Documents

Publication Publication Date Title
KR910006697B1 (en) Guidance message display control method
US4458311A (en) Text processor having an interactive display terminal which alternately functions as a data processing terminal
JPH1031477A (en) Method and device for image display
JPS62139025A (en) Controller for input given from keyboard
JPS57113135A (en) Method and device for inputting cursor information
JPH04195626A (en) Guidance display device
JPS6126087B2 (en)
JPS6132109A (en) Data setting screen display system in numerical controller
JPH0195352A (en) System for correcting data interaction
JPS63132367A (en) Interactive processing logoff system
JPH06195356A (en) Deciding system for processing procedure for on-line system
JPH0581198A (en) Process procedure deciding method in on-line system
JPS6275715A (en) Plant supervisory device
JPH0580959A (en) Command redisplay system
JPH0216615A (en) Automatic selecting system for optimum error message
JPH0216614A (en) Established value pre-registration input system for general purpose terminal equipment
JPS6341977A (en) Table form data display system
JPH02121040A (en) Error message display processing method
JPS62262136A (en) Program edition and display system
JPS6364158A (en) Terminal control system
JPS63231623A (en) Interactive processing closing system
JPS63276089A (en) Cursor control system
JPH0477944A (en) Automatic transmission system
JPH03246685A (en) Wire pattern changing system
JPH07200232A (en) Contention control method for message output