JPH02191014A - Program function key processing system - Google Patents

Program function key processing system

Info

Publication number
JPH02191014A
JPH02191014A JP1012444A JP1244489A JPH02191014A JP H02191014 A JPH02191014 A JP H02191014A JP 1012444 A JP1012444 A JP 1012444A JP 1244489 A JP1244489 A JP 1244489A JP H02191014 A JPH02191014 A JP H02191014A
Authority
JP
Japan
Prior art keywords
application program
key
processing
logical
code
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
JP1012444A
Other languages
Japanese (ja)
Inventor
Tetsutaro Yanase
梁瀬 鉄太郎
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP1012444A priority Critical patent/JPH02191014A/en
Publication of JPH02191014A publication Critical patent/JPH02191014A/en
Pending legal-status Critical Current

Links

Landscapes

  • Input From Keyboards Or The Like (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 〔概 要〕 計算機の端末装置から処理を指定するための、いわゆる
プログラムファンクションキーの処理に関し、 応用プログラムの処理と、プログラムファンクションキ
ーとの対応の変更が容易なプログラムファンクションキ
ー処理方式を目的とし、1以上のキーを有する端末装置
の、該キーに対応して割り当てた処理を、該キーの押下
が検出された場合に実行するための応用プログラムを有
する計算機において、該処理ごとに固有の論理アテンシ
ョン信号と、該処理を割り当てた該キーのコードとの対
応を示す対応表と、該キーの押下によって発生される該
コードによって該対応表を索引し、該コートに対応する
該論理アテンション信号を決定して、該応用プログラム
に通知する手段とを設け、該応用プログラムは、該通知
される論理アテンション信号によって定まる処理を実行
するように構成する。
[Detailed Description of the Invention] [Summary] Regarding the processing of so-called program function keys for specifying processing from a computer terminal device, a program function is provided that allows easy modification of the correspondence between application program processing and program function keys. For the purpose of a key processing method, a computer having an application program for executing a process assigned to a terminal device having one or more keys when the press of the key is detected. A correspondence table showing the correspondence between the logical attention signal unique to each process and the code of the key to which the process is assigned, and the code generated by pressing the key are used to index the correspondence table and correspond to the code. means for determining the logic attention signal to be sent and notifying the application program, and the application program is configured to execute a process determined by the notified logic attention signal.

〔産業上の利用分野〕[Industrial application field]

本発明は、計算機の端末装置から処理を指定するための
、いわゆるプログラムファンクションキー(以下におい
てPF平キーいう)の処理に関する。
The present invention relates to the processing of so-called program function keys (hereinafter referred to as PF plain keys) for specifying processing from a terminal device of a computer.

〔従来の技術と発明が解決しようとする課題〕第4図は
計算機の構成例を示すブロック図であり、端末装置1の
キーボードのキーを押下することにより発生され、転送
される各キーのコードを入出力制御部2で受信し、応用
プログラム3に渡す。
[Prior art and problems to be solved by the invention] FIG. 4 is a block diagram showing an example of the configuration of a computer, in which the codes of each key generated and transferred by pressing a key on the keyboard of the terminal device 1. is received by the input/output control unit 2 and passed to the application program 3.

応用プログラム3は、例えばある処理のデータ待ちの状
態であれば、渡されたコードをデータとして処理し、又
処理の指定待ちの状態であれば、そのコードによりPF
平キ一種類を識別し、キーに割り当てられている処理を
開始さゼる。
For example, if the application program 3 is in a state of waiting for data for a certain process, it processes the passed code as data, and if it is in a state of waiting for a process to be designated, it processes the PF using that code.
It identifies one type of flat key and starts the process assigned to the key.

第5図は処理の指定待ちで入力コートを受は取った場合
の処理の流れを示し、処理ステップ10、処理ステップ
11のように人力コードを判定して該当する処理A、B
、−Nへ分岐し、予定のPF平キー何れでもなければ、
入力誤りとして例えば端末に再入力を促すメツセージを
出す等の処理を行うようにする。
FIG. 5 shows the flow of processing when an input coat is received while waiting for processing to be specified, and the manual code is determined as in processing step 10 and processing step 11, and the corresponding processing A and B are performed.
, branches to -N, and if none of the planned PF plain keys is selected,
For example, processing such as displaying a message on the terminal prompting the user to re-enter the input information is performed in response to an input error.

このような用途におけるPF平キーある処理への割当は
、他の応用プログラムの処理との関係や、端末の利用者
の操作の馴れ等から、しばしば変更を要する場合がある
The assignment of the PF flat key to a certain process in such applications often requires changes due to the relationship with the processes of other application programs, the familiarity of the terminal user's operations, etc.

他方前記第5図に示したような、PF平キー識別して所
要の処理を開始するためのプログラムは応用プログラム
3の各所に散在しているので、処理とPF平キーの対応
を変更する場合には、プログラム全体を調べて必要な個
所を修正することが必要になるので、修正に手間がかか
り、且つ修正漏れ等の誤りも生じ易いという問題がある
On the other hand, as shown in FIG. 5, programs for identifying PF plain keys and starting required processing are scattered throughout the application program 3, so when changing the correspondence between processing and PF plain keys, it is necessary to Since it is necessary to examine the entire program and modify the necessary parts, there is a problem that modification is time-consuming and errors such as omission of modifications are likely to occur.

、本発明は、応用プログラムの処理と、PF平キーの対
応の変更が容易なプログラムファンクションキー処理方
式を目的とする。
The object of the present invention is to provide a program function key processing method that facilitates processing of application programs and changing the correspondence between PF plain keys.

〔課題を解決するだめの手段〕[Failure to solve the problem]

第1図は、本発明の構成を示すブロック図である。 FIG. 1 is a block diagram showing the configuration of the present invention.

図は計算機の構成を示し、20は端末装置1から入出力
制御部2を経て受は取るキーのコードによって対応表2
1を検索して変換した論理アテンション信号を応用プロ
グラム22に渡す変換制御部であり、応用プログラム2
2は論理アテンション信号によって処理を識別するよう
に構成する。
The figure shows the configuration of the computer, and 20 is a correspondence table 2 according to the key code that is received from the terminal device 1 via the input/output control section 2.
1 is a conversion control unit that searches for and converts the logical attention signal to the application program 22, and the application program 2
2 is configured to identify processing by a logical attention signal.

〔作 用〕[For production]

応用プログラム22は、1以上のキーを有する端末装置
1の、該キーに対応して割り当てた処理を、該キーの押
下が検出された場合に実行するために、各処理ごとに固
有の論理アテンション信号と、各処理を割り当てたキー
のコードとの対応を示す対応表21と、それらのキーの
押下によって発生されるコードを入出力制御部2から受
は取り、そのコードによって対応表21を索引し、コー
ドに対応する論理アテンション信号を決定して、応用プ
ログラム22に通知する手段である変換制御部20とを
設ける。応用プログラム22は、前記の通知される論理
アテンション信号によって定まる処理を実行するように
構成する。
The application program 22 generates a unique logical attention for each process in order to execute a process assigned to a key of the terminal device 1 having one or more keys when the press of the key is detected. Receives from the input/output control unit 2 a correspondence table 21 showing the correspondence between signals and codes of keys to which each process is assigned, and codes generated by pressing those keys, and indexes the correspondence table 21 using the codes. A conversion control unit 20 is provided which is a means for determining a logical attention signal corresponding to the code and notifying the application program 22 of the determined logical attention signal. The application program 22 is configured to execute processing determined by the notified logical attention signal.

この処理方式により、応用プログラムの内部は修正しな
いで、対応表のみを変更すれば、処理へのキーの割当を
変更することができる。
With this processing method, the assignment of keys to processes can be changed by changing only the correspondence table without modifying the internals of the application program.

〔実施例〕〔Example〕

前記従来の例と同様に、応用プログラムの処理を指定す
るキーとしてPF平キー使用するものとし、第1図の対
応表21は、例えば第2図に説明的に例示するように、
PF平キー各コードと論理アテンション信号として定め
た各名前との対からなる表形式の制御情報とする。
As in the conventional example, the PF plain key is used as the key for specifying the processing of the application program, and the correspondence table 21 in FIG. 1 is, for example, as illustrated in FIG.
The control information is in a tabular format consisting of pairs of each PF flat key code and each name defined as a logical attention signal.

図示の部分は例えば画面の上方へのスクロール処理を指
定するための論理アテンション信号をrUPJ 、下方
へのスクロール処理を指定するための論理アテンション
信号をrDOWN、とじ、それらにコードが16進表示
でFOO7とFOO8のPFキーをそれぞれ割り当てた
例を示している。
In the illustrated part, for example, a logical attention signal for specifying upward scrolling of the screen is rUPJ, a logical attention signal for specifying downward scrolling is rDOWN, and the codes for these are FOO7 in hexadecimal representation. An example of assigning PF keys to FOO8 and FOO8 is shown.

従来のように端末装置1で押下されたキーのコードを、
入出力制御部2を経て変換制御部20が受は取ると、例
えば第3図(a)に示すように処理ステップ30でPF
主キーコードか識別して、PF主キーあれば処理ステッ
プ31て、そのコートにより対応表21を索引して、対
応する論理アテンション信号を読み出し、処理ステップ
32で応用プログラム22にこの信号を渡す。又、PF
主キーコードでない場合には、処理ステップ33で入力
コードをそのま\応用プログラム22に渡す。
As in the past, the code of the key pressed on the terminal device 1 is
When the conversion control unit 20 receives the data through the input/output control unit 2, the PF is processed in a processing step 30 as shown in FIG.
A primary key code is identified, and if there is a PF primary key, a processing step 31 indexes the correspondence table 21 based on the code, reads out a corresponding logical attention signal, and passes this signal to the application program 22 in a processing step 32. Also, PF
If it is not the primary key code, the input code is passed as is to the application program 22 in processing step 33.

これに対応して、応用プログラム22における処理指定
待ちのプログラムは、例えば第3図(b)に示すように
、処理ステップ40、処理ステップ41のように論理ア
テンション信号を判定して該当する処理A、B、−Nへ
分岐し、予定の論理アテンション信号の何れでもなけれ
ば、例えば再入力を促すメツセージを出すようにする。
Correspondingly, the program waiting for process designation in the application program 22 determines the logical attention signal as in process step 40 and process step 41 as shown in FIG. , B, -N, and if none of the planned logical attention signals is present, a message prompting re-input is issued, for example.

このように応用プログラム22は論理アテンション信号
によって処理を判定するので、PF主キー割当を変える
場合には、対応表21でPF主キー論理アテンション信
号との対応を変更して、同一処理は常に同じ論理アテン
ション信号で指定されるようにすることにより、応用プ
ログラム22の各所に散在する第3図(b)のようなプ
ログラムを修正する必要が無くなる。
In this way, the application program 22 determines the process based on the logical attention signal, so when changing the PF primary key assignment, change the correspondence with the PF primary key logical attention signal in the correspondence table 21, so that the same process is always the same. By specifying the logical attention signal, there is no need to modify programs such as those shown in FIG. 3(b) that are scattered throughout the application program 22.

以上の説明では応用プログラム22に対し1個の対応表
21を使用したが、1応用プログラムに対して2種類以
上の対応表を設けて、利用者が入力する所定の指定を変
換制御部20が識別することにより、使用する対応表を
選択できるようし、例えば利用者のグループ別にPF主
キー割当を変えることもできる。
In the above explanation, one correspondence table 21 was used for the application program 22, but two or more types of correspondence tables may be provided for one application program so that the conversion control unit 20 can input a predetermined designation input by the user. By identifying them, it is possible to select the correspondence table to be used, and for example, it is also possible to change the PF primary key assignment for each user group.

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

以上の説明から明らかなように本発明によれば、計算機
において端末装置から処理を指定するための、いわゆる
PF主キ一対応を変更して、利用者に適切なキー割当を
行うことが容易になるという著しい工業的効果がある。
As is clear from the above description, according to the present invention, it is easy to change the so-called PF primary key correspondence for specifying processing from a terminal device in a computer, and to assign appropriate keys to the user. This has a significant industrial effect.

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

第1図は本発明の構成を示すブロック図、第2図は対応
表の説明図、 第3図は本発明の処理の流れ図、 第4図は従来の構成例を示すブロック図、第5図は従来
の処理の流れ図 である。 図において、 ■は端末装置、     2は人出力制御部、3.22
は応用プログラム、 10〜12.30〜33.40〜42は処理ステップ、
20は変換制御部、   21は対応表を示す。
Fig. 1 is a block diagram showing the configuration of the present invention, Fig. 2 is an explanatory diagram of the correspondence table, Fig. 3 is a flowchart of the processing of the present invention, Fig. 4 is a block diagram showing an example of the conventional configuration, Fig. 5 is a flowchart of conventional processing. In the figure, ■ is a terminal device, 2 is a human output control unit, and 3.22
is the application program, 10-12.30-33.40-42 is the processing step,
20 is a conversion control unit, and 21 is a correspondence table.

Claims (1)

【特許請求の範囲】 1以上のキーを有する端末装置(1)の、該キーに対応
して割り当てた処理を、該キーの押下が検出された場合
に実行するための応用プログラム(22)を有する計算
機において、 該処理ごとに固有の論理アテンション信号と、該処理を
割り当てた該キーのコードとの対応を示す対応表(21
)と、 該キーの押下によって発生される該コードによって該対
応表(21)を索引し、該コードに対応する該論理アテ
ンション信号を決定して、該応用プログラム(22)に
通知する手段(2、20)とを設け、該応用プログラム
(22)は、該通知される論理アテンション信号によっ
て定まる処理を実行するように構成されていることを特
徴とするプログラムファンクションキー処理方式。
[Claims] An application program (22) for executing a process assigned to a terminal device (1) corresponding to one or more keys when the press of the key is detected. A correspondence table (21
), and means (2) for indexing the correspondence table (21) according to the code generated by pressing the key, determining the logical attention signal corresponding to the code, and notifying the application program (22). , 20), and the application program (22) is configured to execute a process determined by the notified logical attention signal.
JP1012444A 1989-01-20 1989-01-20 Program function key processing system Pending JPH02191014A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1012444A JPH02191014A (en) 1989-01-20 1989-01-20 Program function key processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1012444A JPH02191014A (en) 1989-01-20 1989-01-20 Program function key processing system

Publications (1)

Publication Number Publication Date
JPH02191014A true JPH02191014A (en) 1990-07-26

Family

ID=11805489

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1012444A Pending JPH02191014A (en) 1989-01-20 1989-01-20 Program function key processing system

Country Status (1)

Country Link
JP (1) JPH02191014A (en)

Similar Documents

Publication Publication Date Title
US7996570B1 (en) Usage of keyboard driver in extensible firmware interface for adding new hot keys at firmware level
JPH01287740A (en) Character string converter
JPH04268633A (en) data processing equipment
JP2900071B2 (en) Programming device for programmable controller
JP2512215B2 (en) Program creation device
JPS62216036A (en) Program deciding system
JPH03229322A (en) Automatic transcribing system
JPH0568279A (en) Digital phone
JPS5960664A (en) Output system of message of data base managing system
JP2002183075A (en) Io port connection system
JPH0231208A (en) Programming unit
JPH01152506A (en) Editing system for ladder program
JPS6214219A (en) Keyboard control method
JPS5870361A (en) Input controlling system
JPS6167172A (en) Device for coding internally chinese characters
JPH0250754A (en) 'kanji' code conversion system
JPH05204860A (en) Job identification mark input conversion system
JPH05341898A (en) Setting method for key code mapping
JPS6210768A (en) Designating system for data format of output information
JPH02108112A (en) Crt data input control system
JPH0210430A (en) Online program generating system
JPS63167958A (en) Character-string classification processor
JPS6368929A (en) System for displaying format of language in-use in information processor
JPH02136933A (en) Test data editing system
JPH03224030A (en) Set-up processing system for byte position identification code