JPS61285525A - Command input method - Google Patents

Command input method

Info

Publication number
JPS61285525A
JPS61285525A JP60126002A JP12600285A JPS61285525A JP S61285525 A JPS61285525 A JP S61285525A JP 60126002 A JP60126002 A JP 60126002A JP 12600285 A JP12600285 A JP 12600285A JP S61285525 A JPS61285525 A JP S61285525A
Authority
JP
Japan
Prior art keywords
command
screen
memory
input
written
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
JP60126002A
Other languages
Japanese (ja)
Inventor
Masayuki Tomizawa
富沢 正之
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP60126002A priority Critical patent/JPS61285525A/en
Publication of JPS61285525A publication Critical patent/JPS61285525A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To attain the reuse of a command by storing a command supplied by a key operation into a processing memory. CONSTITUTION:A command supplied through a keyboard 3 is stored in a memory 2 and also written to a screen buffer 4 and written on a CRT 5. The command written to the buffer 4 and displayed on the CRT 5 is erased out of the screen as soon as it is executed. If it is desired the previous screen is recovered after execution of the command and this command is edited on the screen for reuse, the contents written into the memory 2 are read out and written to the buffer 4 to be displayed again on the CRT 5. These displayed contents are edited for execution of a command. The screen is saved by key operations.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は、計算機等のコマンド入力方法、%に複雑なコ
マンドの繰返し入力に好適なコマンド入力方法に関する
DETAILED DESCRIPTION OF THE INVENTION [Field of Application of the Invention] The present invention relates to a command input method for a computer, etc., and a command input method suitable for repeatedly inputting extremely complex commands.

〔発明の背景〕[Background of the invention]

従来のコマンド入力方式は、一度入力したコマンドが、
画面上に残って表示されている場合に、カーソルをその
位置に持って行き1画面上で編集した後、工/ターキー
を押すと、そのコiンド行が実行されるものがある。
In the conventional command input method, once a command is input,
If it remains on the screen and is displayed, moving the cursor to that position and editing it on one screen, then pressing the ENTER key will execute the command line.

ところが、あるコマンドの実行によって画面が上書きさ
れたり、消えてしまうことがらるので。
However, sometimes the screen gets overwritten or disappears when a certain command is executed.

いつでもコマンドの再実行ができるわけではな匹点に問
題があった。
The problem was that it was not always possible to re-execute a command.

また、最新に入力したコマンド行を数行分コマンドバッ
ファにセーブしておき、このコマンド行を1行ずつ呼出
して、編集しそれを再実行することのできるものもめる
。しかし、この場合は、行単位とな)1前後のコマンド
の関係がわからなかったシ1編集の自由度が低くなシ、
1ンタラクテイブな操作には向かないとの問題があった
You can also save several lines of the most recently input command lines in a command buffer, call these command lines one by one, edit them, and re-execute them. However, in this case, the degree of freedom in editing is low because the relationship between the commands before and after 1 is unknown
One problem was that it was not suitable for interactive operation.

〔発明の目的〕[Purpose of the invention]

本発明の目的は1画面上の操作で、コマンドの編集、再
実行を可能とし、且つコマンドの実行によって消える以
前のコマンドを再利用可能なコマンド入力方法を提供す
るものである。
SUMMARY OF THE INVENTION An object of the present invention is to provide a command input method that allows commands to be edited and re-executed by operating on a single screen, and also enables reuse of commands that have been deleted by execution of the command.

〔発明の概要〕[Summary of the invention]

本発明は、以前に入力したコマンドを再現するには、画
面以外の所に記憶しておけばよいが、従来例のように時
間的な順で記憶したのでは使いにくいので、全問的に記
憶、再現させることとした。
In the present invention, in order to reproduce previously input commands, it is possible to store them somewhere other than the screen, but since it is difficult to use if the commands are stored in chronological order as in the conventional example, I decided to recreate the memory.

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

第1図は計算機システムの概要を示す図である。 FIG. 1 is a diagram showing an overview of the computer system.

この計算機システムは、CPUI、メモリ2.キーボー
ド8、画面バッファ4.CRT5より成る。
This computer system includes a CPUI, memory 2. Keyboard 8, screen buffer 4. Consists of CRT5.

メモリ2には各種のプログラムが格納してあり、CPU
1はこのプログラムをメモリ2から読取シ。
Memory 2 stores various programs, and the CPU
1 reads this program from memory 2.

処理を行う。このメモリ2は主メモリであるが。Perform processing. This memory 2 is the main memory.

CPUIの処理用メモリとも呼びうる。キーボード8は
、各種のキーを持ち、入力機器としての役割を持つ。コ
マンド人力にも供する。
It can also be called CPUI processing memory. The keyboard 8 has various keys and serves as an input device. It also provides command manpower.

画面バッファ4では、CRTK表示対象の画面を格納す
る。CRT5は1画面バッファ4内の格納画面の表示を
行う。
The screen buffer 4 stores a screen to be displayed on a CRTK. The CRT 5 displays the screen stored in the one-screen buffer 4.

キーボード8よシ入力したコマンドは、メモリ2に格納
させると同時に1画面バッファ4に書込み、CRT5に
表示させるととくなる。このコマンド入力の仕方を具体
的に説明する。
Commands input from the keyboard 8 are stored in the memory 2, simultaneously written to the one-screen buffer 4, and displayed on the CRT 5. The method of inputting this command will be explained in detail.

第2図は、CRT画百でのコマンド作成の様子を示す。FIG. 2 shows how commands are created on a CRT screen.

各行単位にコマンドが作成されている。A command is created for each line.

このコマンドの作成に当っては、キーボードを使用する
。行をカーソルで指示し、その行内にコマンドを構成す
る文字や記号を次々にキーボード8から指示する。この
指示した文字や記号は、画面バッファ4に一担格納され
た後、CRT5に表示される。
Use the keyboard to create this command. A line is indicated with a cursor, and characters and symbols constituting a command are indicated one after another on the keyboard 8 within that line. The designated characters and symbols are stored in the screen buffer 4 and then displayed on the CRT 5.

コマンド内の文字や記号の修正は、カーソル6の指示に
よって行う。この修正結果は、画面バッファ4にそのま
ま格納される。コマンド入力終了後1画面バッファ4の
内容をメモリ2に送シ、CPU I Kよる処理コマン
ドとして使用する。この際、メモリ2には、コマンド用
エリアを専用に持たせておく。
The characters and symbols in the command are corrected by instructions using the cursor 6. This modification result is stored as is in the screen buffer 4. After the command input is completed, the contents of the one-screen buffer 4 are sent to the memory 2 and used as processing commands by the CPU IK. At this time, the memory 2 is provided with a dedicated area for commands.

第3図は、更に具体的なコマンド入力のフローチャート
を示す。
FIG. 3 shows a more specific flowchart of command input.

第8図で、ステップ20では、キーボード3を操作して
1文字入力を行う。カーソルキーの操作を必要とすれば
、ステップ30でカーソルキー操作を行い、カーソル移
動となる(ステップ40)。
In FIG. 8, in step 20, one character is input by operating the keyboard 3. If cursor key operation is required, the cursor key operation is performed in step 30, and the cursor is moved (step 40).

更に、 バックスペース(ステラ7’50.60)、イ
ンサートキー(ステップ70%80)、プレートキー(
ステップ90,100)、クリアギ−(ステップ110
.120)を必要とする時には、その処理が実行される
。このステップ50〜120までの処理は、いわゆる編
集処理である。
In addition, backspace (Stella 7'50.60), insert key (step 70% 80), plate key (
Steps 90, 100), Clear Gear (Step 110)
.. 120), the process is executed. The processing from steps 50 to 120 is a so-called editing process.

通常文字キーの操作(ステップ150)であれば。If it is a normal character key operation (step 150).

ステップ160でそのキー人力した文字をCRT5に表
示させ、更にキー人力のステップ20に戻る。
At step 160, the characters manually input by the keys are displayed on the CRT 5, and the process returns to step 20 for manually inputting the keys.

ステップ170では、入力文字がコマンド最終キーによ
る場合を判断し、ステップ190でそのコマンドの行の
末である旨の表示を行わせる。次いで、ステップ200
で画面バッファ4の内容をセーブし、更にステップ21
0で1行年位のコマンドをメモリ2に送シ格納させる。
In step 170, it is determined whether the input character is the command final key, and in step 190, a display indicating that the input character is the end of the command line is displayed. Then step 200
Save the contents of screen buffer 4 with , and then proceed to step 21.
When set to 0, the command of the first line is sent and stored in the memory 2.

メモリ2内の格納エリアは、キーボード入力による取込
みエリアであシ、事前に決めておく。
The storage area in the memory 2 is a capture area by keyboard input, and is determined in advance.

ステップ220では、CPUIがメモリ2内の上記エリ
ア上のコマンドを読取シ、コマンド実行処理を行う。
In step 220, the CPUI reads the command on the area in the memory 2 and executes the command.

冑、ステップ180,140の機能は以下となる。The functions of steps 180 and 140 are as follows.

コマンドの実行が終ると、再びステップ20に戻シ次の
コマンド入力を待つ。このとき、再表示キーをステップ
180で押すと、ステップ140で直前のコマンドが入
力したときの画面バッファ4の内容を読出し、CRTS
上に表示させる。この際、画面バッファ4の内容は、画
面バッファ4内にあるのではなく、メモリa内に格納さ
れている故、メモリ8から読出して表示させることにな
る。
When the execution of the command is completed, the process returns to step 20 and waits for the next command input. At this time, when the redisplay key is pressed in step 180, the contents of the screen buffer 4 when the previous command was input are read out in step 140, and the CRTS
display on top. At this time, since the contents of the screen buffer 4 are not stored in the screen buffer 4 but in the memory a, they are read out from the memory 8 and displayed.

この操作によれば、直前のコマンドを入力したときの画
面が再表示され、再利用をはかることができる。また、
直前のコマンドの点検や、一部修正等の処理に供するこ
ともできる。再利用に際し、そのまま新しいコマンドと
して入力させてもよく。
According to this operation, the screen when the previous command was input is redisplayed, allowing reuse. Also,
It can also be used for processing such as checking the immediately previous command and making some corrections. When reusing it, you may enter it as a new command.

一部修正して新しいコマンドとして入力させてもよい。You may modify some of the commands and input them as new commands.

これにより、コマンドの入力から実行までの時間も短縮
できる利点を持つ。更に、コマンドの再実行が簡単にで
きるとの利点を持つ。
This has the advantage of shortening the time from command input to execution. Furthermore, it has the advantage that commands can be easily re-executed.

同、コマンド最終キーをステップ170で押下しない場
合、ステップ180でブザーが鳴り、押し忘れ等の警告
となる。
Similarly, if the final command key is not pressed in step 170, a buzzer will sound in step 180 to warn you that you have forgotten to press it.

本実施では、コマンド入力を行うととに、自動的に直前
の画面をセーブする様にしたが、場合によっては、使い
K〈いことも考えられるので1画面セーブキーを設けて
、このキーを押したときKのみ画面をセーブするやシ方
をとってもよい。この場合には、画面セーブキーを押し
忘れることがあるので、先に述べた実施例と切替えがで
きるようにすることが望ましい。
In this implementation, when you enter a command, the previous screen is automatically saved, but in some cases it may not be useful, so we have provided a save one screen key and press this key. When this happens, you can save the screen only with K and take the other option. In this case, it is possible to forget to press the screen save key, so it is desirable to be able to switch from the previous embodiment.

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

本発明によれば、以前入力したコマンド行が。 According to the invention, the previously entered command line.

コマンドの実行によって画面から消えてしまった場合に
おいても、以前の画面を回復し、画面上でそのコマンド
行の編集を行って、その都度、同じようなコマンドを入
力しなくても、連続してコマンドの入力を可能にせしめ
るとの効果を持つ。また、コマンドの再実行が簡単にで
きるとの利点も持つ。
Even if it disappears from the screen due to execution of a command, you can restore the previous screen and edit the command line on the screen so that it can be used continuously without having to enter the same command each time. This has the effect of allowing command input. Another advantage is that commands can be easily re-executed.

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

第1図は計算機システム図、第2図は本発明でのCR7
画面でのコマンド設定側図、第8図は本発明でのコマン
ド設定から処理までのフローチャート図である。 1・・・CPU、2・・・メモリ、3・・・キーボード
、4・・・画面バッファ、5・・・CRT、6・・・カ
ーノル。 第  1  口 $  2  図
Figure 1 is a computer system diagram, Figure 2 is CR7 in the present invention.
The side view of command setting on the screen, FIG. 8, is a flowchart from command setting to processing in the present invention. 1...CPU, 2...Memory, 3...Keyboard, 4...Screen buffer, 5...CRT, 6...Kernol. 1st mouth $2 figure

Claims (1)

【特許請求の範囲】[Claims] キーボードのキー操作によるコマンドを画面バッファを
介してCRT上に表示させると共に、該画面バッファ内
のコマンドを処理用メモリに格納させることとしたコマ
ンド入力方法。
A command input method in which commands by key operations on a keyboard are displayed on a CRT via a screen buffer, and the commands in the screen buffer are stored in a processing memory.
JP60126002A 1985-06-12 1985-06-12 Command input method Pending JPS61285525A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60126002A JPS61285525A (en) 1985-06-12 1985-06-12 Command input method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60126002A JPS61285525A (en) 1985-06-12 1985-06-12 Command input method

Publications (1)

Publication Number Publication Date
JPS61285525A true JPS61285525A (en) 1986-12-16

Family

ID=14924293

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60126002A Pending JPS61285525A (en) 1985-06-12 1985-06-12 Command input method

Country Status (1)

Country Link
JP (1) JPS61285525A (en)

Similar Documents

Publication Publication Date Title
JPH07120285B2 (en) How to use the syntax checker and text editor
JPS61285525A (en) Command input method
JP3163627B2 (en) Display device for OHP projector with editing function
JPH03256116A (en) Information processor
JPS63211433A (en) Prior error check system for generating command procedure/job control language
JPH0435955Y2 (en)
JPH0228757A (en) Document generating device
JPS6050589A (en) Document generation system
JPH01248269A (en) System information setting system for japanese word processor
JPS63180141A (en) Debugging system by conversational debugger
JPH02157963A (en) Document preparing device
JPH1185733A (en) Document editing device and its method and recording medium
JPH04232510A (en) Editing device for robot controller
JPH0352019A (en) Data nonediting display system
JPH052587A (en) Document preparation device
JPH03108017A (en) Guide information display system
JPH01287723A (en) Key input information display device
JPS6225788A (en) Display control system for auxiliary screen
JPH02144715A (en) Editing range setting system
JPH03127167A (en) Document processor
JPS62222366A (en) Area specifying system
JPH05113816A (en) Interactive numerical controller
JPH0567977B2 (en)
JPH03174617A (en) Computer
JPH04155538A (en) Conversational debugger