JPH06230943A - Program controller - Google Patents

Program controller

Info

Publication number
JPH06230943A
JPH06230943A JP4220693A JP4220693A JPH06230943A JP H06230943 A JPH06230943 A JP H06230943A JP 4220693 A JP4220693 A JP 4220693A JP 4220693 A JP4220693 A JP 4220693A JP H06230943 A JPH06230943 A JP H06230943A
Authority
JP
Japan
Prior art keywords
program
unix
file
simple language
input
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
JP4220693A
Other languages
Japanese (ja)
Inventor
Junichi Imura
淳一 井村
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP4220693A priority Critical patent/JPH06230943A/en
Publication of JPH06230943A publication Critical patent/JPH06230943A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

PURPOSE:To provide a program controller which can designate an input data file to a started UNIX program when this program is started by the instruction of a simple language program that can program a processing operation in a desk top environment. CONSTITUTION:A program controller points an input data file by a simple language program which can program a processing operation in a desk top environment 6 and starts a UNIX program 18. A program interpreter means 11 is added to the program controller to interpret the simple language program and instructs the start of the program 18 together with a processing control means which designates an icon on a desk top as an input data file of the program 18 that starts by the designation of the language program and then starts the program 18.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、プログラム制御装置に
関し、特に、デスクトップ環境における処理操作をプロ
グラムできる簡易言語プログラムの指示によりUNIX
プログラムの起動する場合に、起動するUNIXプログ
ラムに対して入力データファイルを指定できるプログラ
ム制御装置に関すものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a program control device, and more particularly, to a UNIX based on an instruction of a simple language program capable of programming a processing operation in a desktop environment.
The present invention relates to a program control device capable of designating an input data file for a UNIX program to be activated when the program is activated.

【0002】[0002]

【従来の技術】近年、ワークステーション,パーソナル
コンピュータなどにおいては、ハードウェア装置の発展
に伴い、また、スクリプト言語およびグラフィカル・ユ
ーザ・イタフェース(GUI)環境などのシステムプロ
グラムの発展に伴い、ユーザが複雑なプログラムを作成
することなく、机上で日常の業務を行う操作感覚と同様
な操作感覚で、ディスプレイ画面上でのマウス操作を行
うことにより、日常の業務処理を任意に行え、また、同
じくディスプレイ画面上でのマウス操作により、各種の
アプリケーションプログラムを動作させるシステムプロ
グラムが提供されるに至っている。
2. Description of the Related Art In recent years, in workstations, personal computers, etc., with the development of hardware devices, and with the development of system programs such as script languages and graphical user interface (GUI) environments, users have been Without creating a complicated program, you can perform daily business processing arbitrarily by operating the mouse on the display screen with the same operational feeling as you do daily business on the desk. System programs for operating various application programs have been provided by operating a mouse on a screen.

【0003】このようなディスプレイ画面上でのマウス
操作により各種のアプリケーションプログラムを動作さ
せるシステムプログラムにおいては、ディスプレイ画面
がデスクトップ環境となり、このデスクトップ環境にお
いて、マウス操作およびキーボード操作により各種のア
プリケーションプログラムを動作させる。この場合、定
形の業務処理を行うために、更に、デスクトップ環境で
のマウス操作による操作処理をプログラムできる簡易言
語プログラムが開発されている。
In such a system program for operating various application programs by operating the mouse on the display screen, the display screen serves as a desktop environment, and in the desktop environment, various application programs are operated by mouse operation and keyboard operation. Let In this case, in order to perform a routine business process, a simple language program that can program an operation process by mouse operation in a desktop environment has been developed.

【0004】このため、簡易言語プログラムを解釈し
て、当該簡易言語プログラムに従い各々のマウス操作お
よびキー入力操作と同様な処理を実行するプログラム
が、アプリケーションプログラムの1つとして提供され
ているので、このような簡易言語プログラムは、例え
ば、ユーザが行う定形の業務処理のために、デスクトッ
プ環境でのマウス操作およびキー入力操作による順次の
操作処理をそのまま順次に記述し、定形の業務処理プロ
グラム(簡易言語プログラム)として作成して、利用さ
れる。
Therefore, a program that interprets the simple language program and executes the same processing as each mouse operation and key input operation according to the simple language program is provided as one of the application programs. Such a simple language program, for example, describes the sequential operation processing by the mouse operation and the key input operation in the desktop environment as it is for the fixed-form business processing performed by the user. Created as a program) and used.

【0005】[0005]

【発明が解決しようとする課題】従来、デスクトップ環
境において、簡易言語プログラムを解釈して、当該簡易
言語プログラムに従い各々の処理を実行できるように構
成されたデータ処理装置においては、簡易言語プログラ
ムのコマンドにおいて、UNIXプログラムを起動でき
る簡易言語コマンドが用意されているものの、これま
で、簡易言語プログラムの起動コマンドの実行におい
て、起動するUNIXプログラムに対して、入力データ
としてファイルを渡す場合、渡したい入力データのファ
イルが何処にあるのか、簡易言語プログラムの側で直接
に指定することは不可能であった。
Conventionally, in a data processing device configured to interpret a simple language program in a desktop environment and execute each processing in accordance with the simple language program, a command of the simple language program is used. Although a simple language command that can start a UNIX program is prepared in, in the past, when a file is passed as input data to the UNIX program to be started in executing the start command of the simple language program, the input data to be passed It was impossible for the simple language program to directly specify the location of the file.

【0006】そのため、渡したいデータファイルを一旦
どこかのUNIXファイルシステム上のファイルとして
作成し、それを簡易言語プログラムの側ではなく、利用
したいUNIXプログラムの側が直接に参照するように
して、処理を行なわなければならなかった。したがっ
て、利用するUNIXプログラムにおいて、入力データ
の参照処理がプログラムされていなければならなかっ
た。
Therefore, the data file to be delivered is once created as a file on a UNIX file system somewhere, and the process is performed by directly referring to it, not the simple language program side, but the UNIX program side to use. I had to do it. Therefore, in the UNIX program to be used, the reference processing of the input data must be programmed.

【0007】このように、従来においては、簡易言語プ
ログラムの側で動的に入力データの受け渡しファイル指
定を行うことが不可能なため、UNIXプログラムを起
動する場合に、入力データの受渡しが煩雑になり、UN
IXプログラムを起動する簡易言語プログラムのプログ
ラムステップの複雑化にもつながるという問題があっ
た。
As described above, conventionally, it is impossible for the simplified language program to dynamically specify the transfer file of the input data. Therefore, when the UNIX program is started, the transfer of the input data is complicated. Become UN
There is a problem in that the program steps of the simple language program for starting the IX program are also complicated.

【0008】更に、デスクトップ環境において、既に入
力データファイルとしてのアイコンが存在している場合
にも、わざわざ当該アイコンのファイルをUNIXファ
イルシステム上のファイルとして作成し直し、UNIX
プログラムに参照させなければならなかった。このよう
に、入力データの受渡しを、アイコン指定やUNIXフ
ァイル指定により直接に簡易言語プログラムの側から行
えないため、プログラムの処理の効率の低下にもつなが
った。
Further, even when an icon as an input data file already exists in the desktop environment, the file of the icon is purposely recreated as a file on the UNIX file system, and the UNIX
I had to refer to the program. As described above, since the input data cannot be directly transferred from the simple language program side by designating the icon or the UNIX file, the processing efficiency of the program is lowered.

【0009】本発明は上記のような問題点を解決するた
めになされたものであり、本発明の目的は、デスクトッ
プ環境における処理操作をプログラムできる簡易言語プ
ログラムの指示によりUNIXプログラムの起動する場
合に、起動するUNIXプログラムに対して入力データ
ファイルを指定できるプログラム制御装置を提供するこ
とにある。
The present invention has been made to solve the above problems, and an object of the present invention is to start a UNIX program by instructing a simple language program capable of programming a processing operation in a desktop environment. , To provide a program control device capable of designating an input data file for a UNIX program to be started.

【0010】[0010]

【課題を解決するための手段】上述のような目的を達成
するため、本発明の第1の特徴とするプログラム制御装
置は、デスクトップ環境における処理操作をプログラム
できる簡易言語プログラムにより入力データファイルを
指示してUNIXプログラムの起動を行うプログラム制
御装置であって、簡易言語プログラムを解釈してUNI
Xプログラムの起動指示を行うプログラム解釈手段(1
1)と、簡易言語プログラムの起動指定により起動する
UNIXプログラム(18)の入力データファイルとし
てデスクトップ(6)上のアイコン(7)を指定して、
UNIXプログラムの起動を行う処理制御手段(14)
とを備えることを特徴とする。
In order to achieve the above-mentioned object, the program control apparatus which is the first feature of the present invention indicates an input data file by a simple language program capable of programming a processing operation in a desktop environment. A program control device for activating a UNIX program by interpreting a simple language program
Program interpreting means (1 for instructing to start the X program
1) and the icon (7) on the desktop (6) is designated as an input data file of the UNIX program (18) which is activated by the activation designation of the simplified language program,
Processing control means (14) for activating a UNIX program
And is provided.

【0011】また、本発明の第2の特徴とするプログラ
ム制御装置は、デスクトップ環境における処理操作をプ
ログラムできる簡易言語プログラムにより入力データフ
ァイルを指示してUNIXプログラムの起動を行うプロ
グラム制御装置であって、簡易言語プログラムを解釈し
てUNIXプログラムの起動指示を行うプログラム解釈
手段(11)と、簡易言語プログラムの起動指定により
起動するUNIXプログラム(18)の入力データファ
イルとしてUNIXファイルシステムのファイル(1
9)を指定して、UNIXプログラムの起動を行う処理
制御手段(14)とを備えることを特徴とする。
A second aspect of the program control apparatus of the present invention is a program control apparatus for instructing an input data file by a simple language program capable of programming a processing operation in a desktop environment and activating a UNIX program. , A file interpreting means (11) for interpreting a simple language program and instructing to start a UNIX program, and a UNIX file system file (1) as an input data file of a UNIX program (18) which is started by specifying start of a simple language program
9) is designated and a process control means (14) for activating a UNIX program is provided.

【0012】[0012]

【作用】本発明の第1の特徴とするプログラム制御装置
においては、デスクトップ環境における処理操作をプロ
グラムできる簡易言語プログラムにより入力データファ
イルを指示してUNIXプログラムの起動を行う場合、
まず、プログラム解釈手段(11)が、簡易言語プログ
ラムを解釈してUNIXプログラムの起動指示を行う
と、処理制御手段(14)が、簡易言語プログラムの起
動指定により起動するUNIXプログラム(18)の入
力データファイルとしてデスクトップ(6)上のアイコ
ン(7)を指定して、UNIXプログラムの起動を行
う。
In the program control device having the first feature of the present invention, when the UNIX program is activated by instructing the input data file by the simple language program capable of programming the processing operation in the desktop environment,
First, when the program interpreting means (11) interprets the simple language program and gives an instruction to activate the UNIX program, the processing control means (14) inputs the UNIX program (18) to be activated by the activation designation of the simple language program. The UNIX program is activated by designating the icon (7) on the desktop (6) as a data file.

【0013】また、本発明の第2の特徴とするプログラ
ム制御装置においては、デスクトップ環境における処理
操作をプログラムできる簡易言語プログラムにより入力
データファイルを指示してUNIXプログラムの起動を
行う場合、プログラム解釈手段(11)が、簡易言語プ
ログラムを解釈してUNIXプログラムの起動指示を行
うと、処理制御手段(14)が、簡易言語プログラムの
起動指定により起動するUNIXプログラム(18)の
入力データファイルとしてUNIXファイルシステムの
ファイル(19)を指定して、UNIXプログラムの起
動を行う。
In the second aspect of the program control apparatus of the present invention, when the UNIX program is activated by instructing the input data file by the simple language program capable of programming the processing operation in the desktop environment, the program interpreting means. When (11) interprets the simple language program and gives an instruction to activate the UNIX program, the process control means (14) inputs the UNIX file as an input data file of the UNIX program (18) which is activated by the activation designation of the simple language program. The UNIX file is started by designating the system file (19).

【0014】このように、デスクトップ環境に用意され
ている簡易言語プログラムの処理により、UNIXプロ
グラムを起動を行う場合に、当該UNIXプログラムに
対して、簡易言語プログラムの側からの指定により、入
力データとして入力データファイルを指定ることができ
る。この場合、既にデスクトップ上に渡したいデータフ
ァイルがアイコンとして存在している場合は、そのアイ
コンを簡易言語プログラムにより指定して直接にUNI
Xプログラムの入力データファイルとして渡すことがで
きる。また、渡したいデータファイルがUNIXファイ
ルシステム上にある場合は、同じく、簡易言語プログラ
ムの側からの指定により、そのUNIXファイルシステ
ムにあるファイルを直接にUNIXプログラムの入力デ
ータファイルとして渡すことができる。
As described above, when the UNIX program is started by the processing of the simple language program prepared in the desktop environment, the UNIX program is specified as input data by the simple language program side. You can specify the input data file. In this case, if the data file you want to pass on the desktop already exists as an icon, specify the icon with a simple language program and directly
It can be passed as an input data file for the X program. When the data file to be passed is on the UNIX file system, the file in the UNIX file system can be directly passed as the input data file of the UNIX program by the designation from the side of the simple language program.

【0015】このため、UNIXプログラムを起動を行
う場合に、例えば、当該UNIXプログラムに対して、
そのプログラムの入力データとして渡すベき入力データ
ファイルがなく、新たにデータファイルを作成する場合
にも、簡易言語プログラムの側からの指示により、ユー
ザはUNIXプログラムのデータということを意識する
ことなく、例えば、デスクトップ環境におけるアイコン
作成と同等の操作により、手軽にデータファイルを作成
して入力データファイルを渡すことが可能となる。これ
により、入力データ受け渡しに関しての簡易言語プログ
ラムが簡素化され、プログラムの処理効率の向上する。
Therefore, when the UNIX program is started, for example, for the UNIX program,
Even if there is no input data file to be passed as the input data of the program and a new data file is created, the user does not have to be aware of the UNIX program data by the instruction from the simplified language program side. For example, it becomes possible to easily create a data file and pass the input data file by an operation equivalent to the icon creation in the desktop environment. This simplifies the simple language program for passing the input data and improves the processing efficiency of the program.

【0016】[0016]

【実施例】以下、本発明の一実施例を図面により具体的
に説明する。図1は、本発明の一実施例にかかるプログ
ラム制御装置の要部の構成を示すブロック図である。図
1において、1はマウス、2はマウスドライバ、3はキ
ーボード、4はディスプレイ装置、5はグラフィカル・
ユーザ・インタフェース制御部、6はデスクトップ環
境、7は入力文書アイコンのファイルを示している。ま
た、11はプログラム解釈処理部、12は構文解析部、
13は仮想実行部、14はプログラム起動処理部、15
はファイルバッファ、16はコード変換処理部、17は
UNIXシステム、18はUNIXプログラム、19は
UNIXファイルシステムの各々のファイルを示してい
る。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be specifically described below with reference to the drawings. FIG. 1 is a block diagram showing a configuration of a main part of a program control device according to an embodiment of the present invention. In FIG. 1, 1 is a mouse, 2 is a mouse driver, 3 is a keyboard, 4 is a display device, and 5 is a graphical device.
A user interface controller, 6 is a desktop environment, and 7 is a file of an input document icon. Further, 11 is a program interpretation processing unit, 12 is a syntax analysis unit,
13 is a virtual execution unit, 14 is a program start-up processing unit, 15
Is a file buffer, 16 is a code conversion processing unit, 17 is a UNIX system, 18 is a UNIX program, and 19 is a file of the UNIX file system.

【0017】グラフィカル・ユーザ・インタフェース制
御部5は、ディスプレイ装置4の表示画面を用いて、表
示画面に表示されたグラフィック表示に応じて、キーボ
ード3の操作やマウスドライバ2を介してのマウス1の
操作などによる入出力操作が行なわれた場合、入力操作
にかかるイベント情報を判別して、例えば、図示しない
起動中のアプリケーションプロセスに対して入力情報を
送り、また、マウス操作にかかる信号を判別して、アイ
コン操作のイベント情報としてデスクトップ管理部によ
り管理されているデスクトップ環境6に送出するインタ
フェース制御を行う。これにより、いわゆる表示画面を
デスクトップとして各操作の処理が実行できるデスクト
ップ環境を提供している。
The graphical user interface control section 5 uses the display screen of the display device 4 to operate the keyboard 3 or operate the mouse 1 via the mouse driver 2 according to the graphic display displayed on the display screen. When an input / output operation such as an operation is performed, the event information related to the input operation is determined, and for example, the input information is sent to a running application process (not shown), and the signal related to the mouse operation is determined. Then, interface control is performed to send the event information of the icon operation to the desktop environment 6 managed by the desktop management unit. As a result, the so-called display screen is used as a desktop to provide a desktop environment in which processing of each operation can be executed.

【0018】ここでのデスクトップ環境において動作す
る簡易言語プログラム(図示せず)が起動された場合、
プログラム解釈処理部11は、起動を行う該当簡易言語
プログラムの供給を受けると、構文解析部12により、
そのプログラム本体部のプログラムステートメントの各
々の構文を順次に解析して、仮想実行部13によりマウ
ス操作およびキーボード操作と同様なイベント情報を生
成し、デスクトップ環境において簡易言語プログラムを
実行し、また、各種のアプリケーションプログラムを起
動させる。
When a simple language program (not shown) operating in the desktop environment is started,
When the program interpretation processing unit 11 receives the supply of the corresponding simple language program to be activated, the syntax analysis unit 12
The syntax of each program statement of the program body is sequentially analyzed, event information similar to mouse operation and keyboard operation is generated by the virtual execution unit 13, a simple language program is executed in the desktop environment, and various Start the application program of.

【0019】このようなデスクトップ環境における簡易
言語プログラムの実行により起動されるアプリケーショ
ンプログラムの1つとして、ここではプログラム起動制
御部14が、UNIXシステム17において処理の実行
が行なわれるUNIXプログラム18の起動を行う。U
NIXプログラム18の起動を行う際に、入力データと
して与える入力データファイルは、デスクトップ環境6
における入力文書アイコンのファイル7を入力データフ
ァイルとして利用するため、UNIXプログラム18の
標準入力に結合する処理を行う。この処理のため、プロ
グラム起動制御部14には、ファイルバッファ15およ
びコード変換処理部16が備えられており、ファイルバ
ッファ15は、入力文書アイコンのファイル7からのフ
ァイルデータを一時的に格納し、また、入力データをコ
ード変換する必要がある場合に、コード変換処理部16
によりコード変換処理が行なわれる。
As one of the application programs activated by the execution of the simple language program in such a desktop environment, the program activation control section 14 activates the UNIX program 18 in which the UNIX system 17 executes the processing. To do. U
The input data file given as the input data when the NIX program 18 is started is the desktop environment 6
In order to use the file 7 of the input document icon in (3) as an input data file, a process of connecting to the standard input of the UNIX program 18 is performed. For this processing, the program activation control unit 14 is provided with a file buffer 15 and a code conversion processing unit 16, and the file buffer 15 temporarily stores the file data from the file 7 of the input document icon, In addition, when it is necessary to perform code conversion on the input data, the code conversion processing unit 16
The code conversion process is performed by.

【0020】デスクトップ環境における簡易言語プログ
ラムの実行により、起動されるアプリケーションプログ
ラムの1つとして、UNIXプログラム18が指定され
て起動された場合、このUNIXプログラム18は、U
NIXシステム17においてシェルプロセスを生成して
実行される。UNIXプログラム18に与える入力デー
タは標準入力として結合され、またた、UNIXプログ
ラム18の処理結果のデータは、特に出力ファイルが指
定されない場合、標準出力に出力され、また、エラーが
生じた場合には、その時のエラー情報は標準エラー出力
として出力される。
When the UNIX program 18 is designated and started as one of the application programs started by the execution of the simple language program in the desktop environment, the UNIX program 18 is
A shell process is created and executed in the NIX system 17. The input data given to the UNIX program 18 is combined as the standard input, and the data of the processing result of the UNIX program 18 is output to the standard output unless an output file is specified, or if an error occurs, , The error information at that time is output as the standard error output.

【0021】また、簡易言語プログラムの側の起動コマ
ンドにより、このUNIXプログラム18を起動する場
合において、UNIXファイルシステムのファイル19
が入力データファイルとして指定され起動された場合、
このUNIXプログラム18への入力データは、指定さ
れた入力データファイルのUNIXファイルシステムの
ファイル19から入力される。
When the UNIX program 18 is started by a start command on the side of the simplified language program, the file 19 of the UNIX file system is used.
Is specified as the input data file and is started,
The input data to the UNIX program 18 is input from the file 19 of the UNIX file system of the designated input data file.

【0022】次に、更に詳細に本発明の実施例を具体的
に説明する。図2は、本発明の一実施例にかかるプログ
ラム制御装置が組込まれたデータ処理装置のハードウェ
ア構成を示すブロック図である。図2において、21は
キーボード、22はマウス、23はディスプレイ装置、
24はワークステーション本体部、25はローカル記憶
装置、26はプロセッ部、27はメインメモリ部であ
る。
Next, the embodiments of the present invention will be specifically described in more detail. FIG. 2 is a block diagram showing a hardware configuration of a data processing device incorporating a program control device according to an embodiment of the present invention. In FIG. 2, 21 is a keyboard, 22 is a mouse, 23 is a display device,
Reference numeral 24 is a workstation main unit, 25 is a local storage device, 26 is a processor unit, and 27 is a main memory unit.

【0023】図3は、本発明の一実施例のプログラム制
御装置が組込まれたデータ処理装置のシステム構成を示
すブロック図である。図3において、31はアプリケー
ションプログラム本体部、32はユーザインタフェース
制御部、33はオペレーティングシステム、34は入出
力デバイス制御部、35は入出力デバイスである。これ
らのシステム構成の主な要素は、図2に示すようなハー
ドウェア装置におけるプロセッサ部26,主メモリ部2
7,およびローカル記憶装置25を中心としたハードウ
ェア資源の上に実現される。
FIG. 3 is a block diagram showing the system configuration of a data processing apparatus in which the program control apparatus of one embodiment of the present invention is incorporated. In FIG. 3, 31 is an application program main unit, 32 is a user interface control unit, 33 is an operating system, 34 is an input / output device control unit, and 35 is an input / output device. The main elements of these system configurations are the processor unit 26 and the main memory unit 2 in the hardware device as shown in FIG.
7, and the local storage device 25 as a central component.

【0024】図2および図3を参照して説明を続ける
と、入出力デバイス35には、表示出力装置のディスス
プレイ装置23,表示画面での位置を指示するポインテ
ィングデバイスのマウス22,文字入力装置のキーボー
ド21、また、外部記憶装置としてローカル記憶装置2
5が用いられる。これらの入出力デバイス35は、入出
力デバイス制御部34により制御される。入出力デバイ
ス制御部34はオペレーティングシステム33により管
理され、また、オペレーティングシステム33は各々の
アプリケーションプログラムが動作するシステム環境を
提供し、ハードウェア装置の全体を管理して制御する。
ユーザインタフェース制御部32は、オペレーティング
システム33の各機能を用いてアプリケーションプログ
ラム本体部31との間で、各々のユーザインタフェース
機能の制御を行い、表示画面上でのグラフィカル・ユー
ザ・インタフェース環境(デスクトップ環境)を提供す
る。この表示画面上でのグラフィカル・ユーザ・インタ
フェース環境におけるデスクトップ環境において、各種
のアプリケーションプログラム本体部31の処理が実行
されることになる。
Continuing the description with reference to FIGS. 2 and 3, the input / output device 35 includes a display device 23 as a display output device, a mouse 22 as a pointing device for indicating a position on the display screen, and a character input device. Keyboard 21 and local storage device 2 as an external storage device
5 is used. These input / output devices 35 are controlled by the input / output device controller 34. The input / output device controller 34 is managed by the operating system 33, and the operating system 33 provides a system environment in which each application program operates, and manages and controls the entire hardware device.
The user interface control unit 32 controls each user interface function with the application program main unit 31 by using each function of the operating system 33, and a graphical user interface environment (desktop environment) on the display screen. )I will provide a. In the desktop environment in the graphical user interface environment on this display screen, various processings of the application program main unit 31 will be executed.

【0025】本発明の一実施例にかかるプログラム制御
装置は、例えば、ここでのアプリケーションプログラム
本体部31の1つとして起動されて実行されることにな
る。例えば、図1に示す装置の構成要素のプログラム解
釈処理部11,プログラム起動制御部14などが、それ
ぞれにアプリケーションプログラム本体部31の1つと
して起動されて実行される。
The program control device according to one embodiment of the present invention is started and executed as one of the application program main body 31 here, for example. For example, the program interpretation processing unit 11, the program activation control unit 14, and the like of the components of the apparatus shown in FIG. 1 are activated and executed as one of the application program main body units 31, respectively.

【0026】図4は、プログラム起動制御部におけるU
NIXプログラムの起動処理を説明する説明するフロー
チャートである。次に、図4を参照して、簡易言語プロ
グラムにおけるUNIX起動コマンドの処理について説
明する。簡易言語プログラムが起動され、プログラム解
釈処理部(11:図1)において簡易言語プログラムの
コマンドの構文解析を行い、簡易言語プログラムの各々
のコマンドで指定された各操作の処理は、プログラム解
釈処理部がデスクトップ環境におけるイベント情報を発
生させて処理が進行する。そして、簡易言語プログラム
におけるUNIX起動コマンドの処理は、プログラム起
動制御部(14:図1)により、その処理が実行され
る。
FIG. 4 shows U in the program start control unit.
9 is a flowchart illustrating a start-up process of a NIX program. Next, with reference to FIG. 4, the processing of the UNIX start command in the simple language program will be described. When the simplified language program is started, the program interpretation processing unit (11: FIG. 1) parses the commands of the simplified language program, and the processing of each operation specified by each command of the simplified language program is performed by the program interpretation processing unit. Causes event information in the desktop environment to proceed. Then, the processing of the UNIX activation command in the simple language program is executed by the program activation control unit (14: FIG. 1).

【0027】プログラム起動制御部がUNIXプログラ
ムの起動処理を開始すると、まず、ステップ41におい
て、UNIX起動コマンドには、起動するUNIXプロ
グラムの標準入力として、デスクトップのファイルが指
定されているか否かを判定する。標準入力としてデスク
トップのファイルが指定されている場合には、次のステ
ップ42において、アイコン名から指定されたデスクト
ップのファイルを特定する。次に、ステップ43におい
て、デスクトップのファイル内容を装置内バッファに取
り込む。
When the program activation control unit starts the UNIX program activation process, first, at step 41, it is determined whether or not a desktop file is designated in the UNIX activation command as the standard input of the UNIX program to be activated. To do. When the desktop file is specified as the standard input, the specified desktop file is specified from the icon name in the next step 42. Next, in step 43, the contents of the file on the desktop are loaded into the internal buffer.

【0028】次に、ステップ44において、装置内バッ
ファに取り込んだデータのコード変換が必要か否かの判
定を行い、取り込んだデータのコード変換が必要である
場合に、次のステップ45においてUNIXプログラム
が解釈できるコードに変換する。データのコード変換が
必要でない場合は、そのままでよいので、次のステップ
46に進み、ステップ46において、入力データとして
UNIXプログラムに渡すデータ(装置内バッファのデ
ータ)をUNIXプログラムの標準入力に割り当てて一
連の処理を完了する。これにより、デスクトップ上のア
イコンのファイルをそのUNIXプログラムの入力デー
タファイルとして利用できる。
Next, at step 44, it is judged whether or not the code conversion of the data taken into the internal buffer is necessary, and when the code conversion of the taken data is necessary, at the next step 45 the UNIX program is executed. To a code that can be interpreted by. If the code conversion of the data is not necessary, the data may be left as it is, so the process proceeds to the next step 46, and in step 46, the data to be passed to the UNIX program as input data (data in the device buffer) is assigned to the standard input of the UNIX program. A series of processing is completed. Thereby, the file of the icon on the desktop can be used as the input data file of the UNIX program.

【0029】一方、処理を開始した最初のステップ41
の判定において、UNIX起動コマンドに、起動するU
NIXプログラムの標準入力としてデスクトップのファ
イルが指定されていると判定されない場合は、ステップ
47に進み、起動するUNIXプログラムの標準入力と
してUNIXファイルが指定されているか否かを判定す
る。ステップ47の判定において、UNIXプログラム
の標準入力としてUNIXファイルが指定されていると
判定された場合には、次に、ステップ46に進み、指定
されたUNIXファィルのファイルデータを入力データ
としてUNIXプログラムに渡すため、ステップ46の
処理において、渡すデータ(UNIXファイルシステム
のファイルデータ)をUNIXプログラムの標準入力に
割り当てて一連の処理を完了する。
On the other hand, the first step 41 when the processing is started
In the UNIX start command, the U to be started
If it is not determined that the desktop file is designated as the standard input of the UNIX program, the process proceeds to step 47, and it is determined whether or not the UNIX file is designated as the standard input of the UNIX program to be started. When it is determined in step 47 that the UNIX file is designated as the standard input of the UNIX program, the process proceeds to step 46, and the file data of the designated UNIX file is input to the UNIX program. In order to deliver the data, in the process of step 46, the data to be delivered (file data of UNIX file system) is assigned to the standard input of the UNIX program, and the series of processes is completed.

【0030】また、ステップ41の判定において、起動
するUNIXプログラムの標準入力としてデスクトップ
のファイルが指定されている判定できず、また、更に、
次のステップ47の判定においても、起動するUNIX
プログラムの標準入力としてUNIXファイルが指定さ
れていると判定できない場合は、標準入力の割り当ては
行なわず、処理を終了する。
Further, in the judgment of step 41, it cannot be judged that the desktop file is designated as the standard input of the UNIX program to be started, and further,
Also in the judgment of the next step 47, UNIX to be activated
If it cannot be determined that the UNIX file is designated as the standard input of the program, the standard input is not assigned and the process is terminated.

【0031】このように、デスクトップ環境において、
そのデスクトップ環境に用意されている簡易言語プログ
ラムのコマンドにより、UNIXプログラムの起動を行
う場合、簡易言語プログラムの起動コマンドのパラメー
タ指定により、起動するUNIXプログラムに対して入
力する入力データのデータファイル指定を行うことがで
きる。入力データファイルとして、例えば、簡易言語プ
ログラムの側の指定により、デスクトップ上のアイコン
を指定し、あるいはUNIXファイルシステム上のファ
イルを指定し、起動するUNIXプログラムの入力デー
タファイルとすることができる。
Thus, in the desktop environment,
When the UNIX program is started by the command of the simple language program prepared in the desktop environment, the data file specification of the input data to be input to the UNIX program to be started is specified by the parameter specification of the start command of the simple language program. It can be carried out. As the input data file, for example, an icon on the desktop or a file on the UNIX file system can be designated by the designation on the side of the simple language program and used as the input data file of the UNIX program to be activated.

【0032】次に、簡易言語プログラムにおいてUNI
Xプログラム起動コマンドのパラメータ設定の操作例を
説明する。図5は、UNIXプログラム起動コマンドの
入力先のパラメータとしてデスクトップ上のアイコンを
指定する場合の操作例を説明する図である。図5におい
て、50はディスプレイ画面、51はアプリケーション
ウィンドウ、52はインタフェース部品のボタン、53
はボタン属性を表示するサブウィンドウ、54はボタン
に組込まれている簡易言語プログラムのプログラム本体
部、55は標準入力への入力データファイルとして指定
されている入力文書アイコンをそれぞれ示している。
Next, in the simple language program, UNI
An operation example of parameter setting of the X program start command will be described. FIG. 5 is a diagram illustrating an operation example when an icon on the desktop is designated as a parameter of an input destination of a UNIX program start command. In FIG. 5, 50 is a display screen, 51 is an application window, 52 is a button of an interface component, 53
Indicates a sub-window displaying button attributes, 54 indicates a program body of a simple language program incorporated in the button, and 55 indicates an input document icon designated as an input data file for standard input.

【0033】ここでは、図5に示すように、デスクトッ
プ環境となっているディスプレイ画面50には、このデ
スクトップ環境において実行されているアプリケーショ
ンプログラムのアプリケーションウィンドウ51が開か
れており、アプリケーションウィンドウ51には、イン
タフェース部品のボタン52が表示されている。インタ
フェース部品のボタン52には、その属性として簡易言
語プログラムが組み込まれており、このインタフェース
部品のボタン52に組み込まれている簡易言語プログラ
ムは、ボタン属性を表示するサブウィンドウ53を開く
ことにより表示される。サブウィンドウ53は、そのま
ま、ボタン52に簡易言語プログラムを組み込み、プロ
グラムの編集を行う際のプログラムエディタにもなる。
このサブウィンドウ53を開き、ボタン52に組み込む
簡易言語プログラムとして、プログラム本体部54に、
例えば、入力データファイルを指定してUNIXプログ
ラムを起動する起動コマンドの設定を行う。
Here, as shown in FIG. 5, an application window 51 of an application program executed in the desktop environment is opened on the display screen 50 which is the desktop environment, and the application window 51 includes , The interface component button 52 is displayed. A simple language program is incorporated in the button 52 of the interface component as its attribute, and the simple language program incorporated in the button 52 of the interface component is displayed by opening a subwindow 53 displaying the button attribute. . The sub-window 53 also functions as a program editor when the simple language program is incorporated into the button 52 and the program is edited.
This sub window 53 is opened, and as a simple language program to be incorporated in the button 52, the program body 54 is
For example, a start command for starting a UNIX program by designating an input data file is set.

【0034】例えば、図5に示すように、デスクトップ
上において名前が“DATA−A”となっているアイコ
ン55が存在している場合、入力データファイルとし
て、このデスクトップ上のアイコン55を利用すること
ができる。この場合、プログラム本体部54に設定する
UNIXプログラムを起動する起動コマンドは、例え
ば、“CALL UNIX [“DATA−A”,
…]”とし、入力先のパラメータとして、アイコン名
“DATA−A”を設定する。このように、起動コマン
ドの入力先のパラメータは、当該起動を行うUNIXプ
ログラムの標準入力に割り当てるファイル名をデスクト
ップ上のアイコン名“DATA−A”とし、デスクトッ
プ環境の側の簡易言語プログラムにより指定することが
できる。これにより、起動されたUNIXプログラム
は、パラメータで指定された名前のアイコン55のファ
イルを、入力データファイルとして入力処理を行い、プ
ログラム処理を実行する。
For example, as shown in FIG. 5, when the icon 55 having the name "DATA-A" exists on the desktop, the icon 55 on the desktop should be used as the input data file. You can In this case, the start command for starting the UNIX program set in the program body 54 is, for example, "CALL UNIX [" DATA-A ",
...] ”, and the icon name“ DATA-A ”is set as the input destination parameter. In this way, the parameter of the input destination of the start command is the file name assigned to the standard input of the UNIX program to be started. The icon name above can be designated as "DATA-A" by a simple language program on the side of the desktop environment, whereby the started UNIX program inputs the file of the icon 55 having the name designated by the parameter. Input processing is performed as a data file, and program processing is executed.

【0035】図6は、UNIXプログラム起動コマンド
の入力先のパラメータとして、UNIXファイルシステ
ムのファイルを指定する場合の操作例を説明する図であ
る。図6において、60はディスプレイ画面、61はア
プリケーションウィンドウ、62はインタフェース部品
のボタン、63はボタン属性を表示するサブウィンドウ
である。64はボタンに組込まれている簡易言語プログ
ラムのプログラム本体部である。前述の場合と同様に、
デスクトップ環境となっているディスプレイ画面60に
は、このデスクトップ環境において実行されているアプ
リケーションプログラムのアプリケーションウィンドウ
61が開かれており、アプリケーションウィンドウ61
には、インタフェース部品のボタン62が表示されてい
る。
FIG. 6 is a diagram for explaining an operation example when a file of the UNIX file system is designated as a parameter of the input destination of the UNIX program start command. In FIG. 6, reference numeral 60 is a display screen, 61 is an application window, 62 is a button of an interface component, and 63 is a subwindow for displaying button attributes. Reference numeral 64 is a program body of a simple language program incorporated in the button. As in the previous case,
An application window 61 of an application program executed in this desktop environment is opened on the display screen 60 which is the desktop environment.
, A button 62 of the interface component is displayed.

【0036】インタフェース部品のボタン62には、そ
の属性として簡易言語プログラムが組み込まれており、
このボタン62に組み込まれている簡易言語プログラム
の内容は、ボタン属性を表示するサブウィンドウ63を
開くことにより表示される。サブウィンドウ63は、ボ
タン62に簡易言語プログラムを組み込み、プログラム
を編集を行う際のプログラムエディタにもなる。このサ
ブウィンドウ63を開いて、ボタン62に組み込む簡易
言語プログラムとして、プログラム本体部64に、例え
ば、入力先のパラメータとしてUNIXファイルシステ
ムのファイルを指定したUNIXプログラム起動コマン
ドの設定を行う。
A simple language program is incorporated in the button 62 of the interface component as its attribute,
The contents of the simple language program incorporated in the button 62 are displayed by opening a subwindow 63 that displays the button attributes. The sub-window 63 also serves as a program editor when a simple language program is incorporated in the button 62 and the program is edited. This sub-window 63 is opened, and a UNIX program start command that specifies a file of the UNIX file system as a parameter of the input destination is set in the program body 64 as a simple language program to be incorporated in the button 62.

【0037】この場合、UNIXプログラムを起動する
起動コマンドは、コマンドのパラメータとして、UNI
Xプログラムの標準入力に割り当てる入力データファア
ルとして、UNIXファイルシステム上にあるファイル
を指定する。標準入力ととして渡したい入力データファ
イルのディレクトリとファイル名は、例えば“/home/A/
data”となっており、既に分っているため、プログラム
本体部64に設定するUNIXプログラムを起動する起
動コマンドは“CALL UNIX [“/home/A/dat
a”,…]”と設定される。これにより、起動コマンド
のパラメータとして指定されたUNIXファイルシステ
ム上のファイルが、UNIXプログラムの標準入力に割
り当てられて、UNIXプログラムが起動される。
In this case, the start command for starting the UNIX program uses the UNI as a command parameter.
A file on the UNIX file system is specified as the input data file to be assigned to the standard input of the X program. For example, "/ home / A /" is the directory and file name of the input data file you want to pass as the standard input.
Since it is already "data" and is already known, the start command for starting the UNIX program set in the program body 64 is "CALL UNIX [" / home / A / dat
It is set as a ", ...]". As a result, the file on the UNIX file system specified as the parameter of the start command is assigned to the standard input of the UNIX program, and the UNIX program is started.

【0038】図7は、UNIXプログラムに対する入出
力のファイルをデスクトップ上のアイコン名により指定
した場合のUNIXプログラム起動コマンドの一例を説
明する図である。図7の上部側に示すように、ここでの
UNIXプログラム起動コマンド71は、UNIX起動
コマンドであることを示すコマンド名称の“CALLU
NIX”と共に、そのパラメータとして、起動するUN
IXプログラムのプログラム名“/home/imura/work/pro
g”と、標準入力として指定するファイルのアイコン名
“入力文書"と、標準出力として指定するファイルのア
イコン名“出力文書"と、標準エラー出力として指定す
るファイルのアイコン名“エラー文書"と、この起動コ
マンドを実行するワークステーションのマシン名“bent
en"とが設定されている。この起動コマンドをデスクト
ップ環境72における簡易言語プログラムの処理により
実行することにより、図7の下部側に示すように、起動
されたUNIXプログラム“/home/imura/work/prog”
は、デスクトップ上のアイコン名“入力文書"のファイ
ル73のデータを入力データとして読み込み、プログラ
ム処理を行い、その出力結果(標準出力,標準エラー出
力)のファイルデータを、デスクトップ上のアイコン名
“出力文書"のファイル74として、また、アイコン名
“エラー文書"のファイル75として出力する。
FIG. 7 is a diagram for explaining an example of a UNIX program start command when an input / output file for the UNIX program is designated by an icon name on the desktop. As shown in the upper part of FIG. 7, the UNIX program start command 71 here is a command name “CALLU” indicating that it is a UNIX start command.
With "NIX", the UN to be started as its parameter
Program name of IX program "/ home / imura / work / pro
g ”, the icon name“ input document ”of the file specified as standard input, the icon name“ output document ”of the file specified as standard output, the icon name“ error document ”of the file specified as standard error output, The machine name of the workstation that executes this startup command is "bent
"en" is set. By executing this start command by the processing of the simple language program in the desktop environment 72, the started UNIX program "/ home / imura / work" is displayed as shown in the lower part of FIG. / prog ”
Reads the data of the file 73 of the icon name "input document" on the desktop as input data, performs the program processing, and outputs the file data of the output result (standard output, standard error output) to the icon name "output on desktop". It is output as the file 74 of “Document” and the file 75 of icon name “Error Document”.

【0039】図8は、UNIXプログラムに対する入出
力ファイルをUNIXファイルシステムのファイル名に
より指定した場合のUNIXプログラム起動コマンドの
一例を説明する図である。この場合には、図8の上部側
に示すように、UNIXプログラム起動コマンド81
は、起動コマンドであることを示すコマンド名称の“C
ALL UNIX”と共に、そのパラメータとして、起
動するUNIXプログラムのプログラム名“/home/imur
a/work/prog”と、標準入力として指定するファイルの
ファイル名“/home/imura/work/in.txt”と、標準出力
として指定するファイルのファイル名“/home/imura/wo
rk/out.txt”と、標準エラー出力として指定するファイ
ルのファイル名“/home/imura/work/err.txt”と、この
起動コマンドを実行するワークステーションのマシン名
“benten"とが設定されている。この起動コマンドをデ
スクトップ環境における簡易言語プログラムの処理によ
り実行することにより、図8の下部側に示すように、起
動されたUNIXプログラム“/home/imura/work/pro
g”は、UNIXシステム82のファイルシステムにお
いて、ファイル名“/home/imura/work/in.txt”のファ
イル83のデータを入力として読み込み、プログラム処
理を行い、その出力結果(標準出力,標準エラー出力)
のファイルデータを、ファイル名“/home/imura/work/o
ut.txt”のファイル84として、また、ファイル名“/h
ome/imura/work/err.txt”のファイル85として出力す
る。
FIG. 8 is a view for explaining an example of the UNIX program start command when the input / output file for the UNIX program is designated by the file name of the UNIX file system. In this case, as shown in the upper part of FIG.
Is the command name "C
With "ALL UNIX", the program name "/ home / imur" of the UNIX program to be started as its parameter
a / work / prog ”, the file name of the file specified as standard input“ /home/imura/work/in.txt ”, and the file name of the file specified as standard output“ / home / imura / wo ”
"rk / out.txt", the file name "/home/imura/work/err.txt" of the file specified as standard error output, and the machine name "benten" of the workstation that executes this startup command are set. By executing this startup command by the processing of the simple language program in the desktop environment, the started UNIX program “/ home / imura / work / pro” is displayed as shown in the lower part of FIG.
g ”reads the data of the file 83 of the file name“ /home/imura/work/in.txt ”as an input in the file system of the UNIX system 82, executes the program processing, and outputs the result (standard output, standard error). output)
File data of the file name “/ home / imura / work / o
As the file 84 of "ut.txt", the file name "/ h
Output as file 85 of "ome / imura / work / err.txt".

【0040】以上に説明したように、本実施例のプログ
ラム制御装置によれば、デスクトップ環境に用意されて
いる簡易言語プログラムの起動コマンドにより、UNI
Xプログラムの入力データファイルとして、デスクトッ
プ上に存在しているアイコンのファイルを直接に指定し
て起動することができる。また、入力データファイルが
存在しない場合、例えば、ユーザはデスクトップ上にお
いて、起動するUNIXプログラムに対して渡したいデ
ータファイルのアイコンを作成する。作成するアイコン
のデータファイルの内容は、例えば、数字列や文字列で
ある。したがって、ユーザはUNIXプログラムのデー
タということを意識することなく、デスクトップ環境で
提供されている統一されたユーザインタフェースによ
り、通常の文書処理など行うアイコン作成と同様に操作
で、手軽にUNIXプログラムに対する入力データファ
イルを作成することが可能になる。
As described above, according to the program control apparatus of the present embodiment, the UNI command is issued by the start command of the simple language program prepared in the desktop environment.
An icon file existing on the desktop can be directly designated and activated as an input data file of the X program. If the input data file does not exist, for example, the user creates an icon of the data file to be passed to the UNIX program to be started on the desktop. The content of the data file of the created icon is, for example, a number string or a character string. Therefore, the user does not have to be aware of the data of the UNIX program, and the unified user interface provided in the desktop environment allows the user to easily input data to the UNIX program by the same operation as icon creation for performing normal document processing. It becomes possible to create a data file.

【0041】また、デスクトップ環境に用意された簡易
言語コマンド(簡易言語プログラム)を用いてUNIX
プログラムの起動を行う際、起動したいUNIXプログ
ラムの標準入力として、ファイル名を渡さなければなら
ない場合にも、デスクトップ上においてユーザが作成し
たアイコン名を指定するだけで良い。あるいは、もし、
その簡易言語コマンドにアイコンを指定する機能(マク
ロ機能)が用意されている場合、UNIXプログラムの
起動を行う簡易言語コマンドが実行される時に、更に、
そのアイコンがセレクトされていれば、名前指定を行う
ことなく、ファイル名を渡すことができる。
Also, a simple language command (simple language program) prepared in the desktop environment is used for UNIX.
When the program is started, even if the file name has to be passed as the standard input of the UNIX program to be started, it is sufficient to specify the icon name created by the user on the desktop. Or, if
When a function (macro function) for designating an icon is prepared for the simple language command, when the simple language command for starting the UNIX program is executed,
If the icon is selected, the file name can be passed without specifying the name.

【0042】このようにして、実際に、この簡易言語コ
マンドを用いて作成されたプログラムが実行されると、
この実施例にかかるプログラム制御装置が、起動をかけ
たいUNIXプログラムに渡すベきデータファイルアイ
コンをデスクトップ上から捜し出し、その中身のデータ
をプログラム制御装置内に取り込む。この際、必要であ
れば、その取り込んだデータをUNIXプログラムが解
釈できるコードに変換を行う。特に、日本語をやり取り
する場合には、デスクトップ環境内のコード体系とUN
IXプログラムが扱うことができるコード体系とは、そ
のコード体系が異なっている場合があるため、コード変
換の処理は必須となる。コード変換後は、それをデータ
として、起動したいUNIXプログラムの標準入力に割
り当てを行い、該当のUNIXプログラムを起動する。
In this way, when a program created using this simple language command is actually executed,
The program control device according to this embodiment searches the desktop for a data file icon to be passed to the UNIX program to be activated, and fetches the data of its contents into the program control device. At this time, if necessary, the fetched data is converted into a code that can be interpreted by the UNIX program. Especially when exchanging Japanese, the code system and UN in the desktop environment
Since the code system may be different from the code system that can be handled by the IX program, the code conversion process is essential. After the code conversion, it is assigned as the data to the standard input of the UNIX program to be started, and the corresponding UNIX program is started.

【0043】また、本実施例のプログラム制御装置によ
れば、簡易言語プログラムの起動コマンドの入力先のパ
ラメータ指定により、UNIXプログラムの入力データ
ファイルとしてUNIXファイルシステム上に存在する
ファイルを直接渡すこともできる。この場合は、既に渡
したいファイルがあるディレクトリは分かっているた
め、直接にそのディレクトリとファイル名とを指定す
る。実際に、この簡易言語プログラムの起動コマンドを
含むプログラムが実行されると、ここでのプログラム制
御装置が、起動をかけるUNIXプログラムに渡すベき
入力データファイルを該当ディレクトリから起動するU
NIXプログラムの標準入力として割当てることにな
る。
Further, according to the program control apparatus of the present embodiment, a file existing in the UNIX file system can be directly passed as an input data file of the UNIX program by specifying the parameter of the input destination of the start command of the simple language program. it can. In this case, since the directory containing the file to be passed is already known, the directory and file name are directly specified. When the program including the start command of this simple language program is actually executed, the program control device here starts the input data file to be passed to the UNIX program to be started from the corresponding directory U.
It will be assigned as the standard input of the NIX program.

【0044】[0044]

【発明の効果】以上に述べたように、本発明のプログラ
ム制御装置によれば、ディクストップ環境において、そ
のデスクトップ環境に用意されている簡易言語プログラ
ムの処理によりUNIXプログラムの起動を行う場合、
そのUNIXプログラムに対して、簡易言語プログラム
の側の指定により、入力データファイルを指定すること
ができる。起動するUNIXプログラムに入力データフ
ァイルを渡す場合、例えば、既にデスクトップ上に渡し
たいデータファイルがアイコンとして存在している場
合、そのアイコンを直接に当該UNIXプログラムの入
力データファイルとして渡すことできる。また、UNI
Xファイルシステム上に渡したいデータファイルがある
場合は、そのUNIXファイルシステム上のファイルを
直接UNIXプログラムの入力データファイルとして渡
すことができる。更に、また、UNIXプログラムの起
動を行う場合に、入力データファイルがなく、新たに作
成する場合にも、デスクトップ環境で入力データファイ
ルを作成できるので、ユーザはUNIXプログラムのデ
ータということを意識することなく、デスクトップ環境
で提供されている統一されたユーザインタフェース機能
を用いて、文書作成におけるアイコン作成と同等の操作
で、手軽に入力データファイルを作成することができ
る。これにより、入力データ受け渡し処理に関して簡易
言語プログラムを簡素化することができ、プログラムの
処理効率の向上する。
As described above, according to the program control device of the present invention, in the disk stop environment, when the UNIX program is started by the processing of the simple language program prepared in the desktop environment,
With respect to the UNIX program, the input data file can be designated by the designation of the simplified language program. When the input data file is passed to the UNIX program to be started, for example, when the data file to be passed on the desktop already exists as an icon, the icon can be directly passed as the input data file of the UNIX program. Also, UNI
If there is a data file to be passed on the X file system, the file on the UNIX file system can be passed directly as the input data file of the UNIX program. Furthermore, when the UNIX program is started, even if there is no input data file and it is newly created, the input data file can be created in the desktop environment, so the user should be aware of the UNIX program data. Instead, using the unified user interface function provided in the desktop environment, it is possible to easily create an input data file by an operation equivalent to icon creation in document creation. As a result, the simplified language program can be simplified with respect to the input data transfer processing, and the processing efficiency of the program is improved.

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

【図1】 図1は本発明の一実施例にかかるプログラム
制御装置の要部の構成を示すブロック図、
FIG. 1 is a block diagram showing a configuration of a main part of a program control device according to an embodiment of the present invention,

【図2】 図2は本発明の一実施例にかかるプログラム
制御装置が組込まれたデータ処理装置のハードウェア構
成を示すブロック図、
FIG. 2 is a block diagram showing a hardware configuration of a data processing device incorporating a program control device according to an embodiment of the present invention,

【図3】 図3は本発明の一実施例のプログラム制御装
置が組込まれたデータ処理装置のシステム構成を示すブ
ロック図、
FIG. 3 is a block diagram showing a system configuration of a data processing device incorporating a program control device according to an embodiment of the present invention;

【図4】 図4は、プログラム起動制御部におけるUN
IXプログラムの起動処理を説明する説明するフローチ
ャート、
[FIG. 4] FIG.
A flow chart explaining the start processing of the IX program,

【図5】 図5はUNIXプログラム起動コマンドの入
力先のパラメータとしてデスクトップ上のアイコンを指
定する場合の操作例を説明する図、
FIG. 5 is a diagram illustrating an operation example when an icon on a desktop is designated as a parameter of an input destination of a UNIX program start command,

【図6】 図6は同じくUNIXプログラム起動コマン
ドの入力先のパラメータとしてUNIXファイルシステ
ムのファイルを指定する場合の操作例を説明する図、
FIG. 6 is a diagram for explaining an operation example when a file of the UNIX file system is designated as a parameter of an input destination of a UNIX program start command,

【図7】 図7はUNIXプログラムに対する入出力の
ファイルをデスクトップ上のアイコンにより指定した場
合のUNIXプログラム起動コマンドの一例を説明する
図、
FIG. 7 is a diagram illustrating an example of a UNIX program start command when an input / output file for the UNIX program is designated by an icon on the desktop;

【図8】 図8はUNIXプログラムに対する入出力を
UNIXファイルシステムのファイルにより指定した場
合のUNIXプログラム起動コマンドの一例を説明する
図である。
FIG. 8 is a diagram illustrating an example of a UNIX program start command when input / output to / from a UNIX program is specified by a file of a UNIX file system.

【符号の説明】 1…マウス、2…マウスドライバ、3…キーボード、4
…ディスプレイ装置、5…グラフィカル・ユーザ・イン
タフェース制御部、6…デスクトップ環境、7…入力文
書アイコンのファイル、11…プログラム解釈処理部、
12…構文解析部、13…仮想実行部、14…プログラ
ム起動処理部、15…ファイルバッファ、16…コード
変換処理部、17…UNIXシステム、18…UNIX
プログラム、18…UNIXファイルシステムのファイ
ル、21…キーボード、22…マウス、23…ディスプ
レイ装置、24…ワークステーション本体部、25…ロ
ーカル記憶装置、26…プロセッサ部、27…メインメ
モリ部、31…アプリケーションプログラム本体部、3
2…ユーザインタフェース制御部、33…オペレーティ
ングシステム、34…入出力デバイス制御部、35…入
出力デバイス、50…ディスプレイ画面、51…アプリ
ケーションウィンドウ、52…インタフェース部品のボ
タン、53…サブウィンドウ、54…プログラム本体
部、55…出力文書アイコン、56…エラー文書アイコ
ン、60…ディスプレイ画面、61…アプリケーション
ウィンドウ、62…インタフェース部品のボタン、63
…サブウィンドウ、64…プログラム本体部。
[Explanation of symbols] 1 ... Mouse, 2 ... Mouse driver, 3 ... Keyboard, 4
... Display device, 5 ... Graphical user interface control unit, 6 ... Desktop environment, 7 ... Input document icon file, 11 ... Program interpretation processing unit,
12 ... Syntax analysis unit, 13 ... Virtual execution unit, 14 ... Program start processing unit, 15 ... File buffer, 16 ... Code conversion processing unit, 17 ... UNIX system, 18 ... UNIX
Program, 18 ... UNIX file system file, 21 ... Keyboard, 22 ... Mouse, 23 ... Display device, 24 ... Workstation main unit, 25 ... Local storage device, 26 ... Processor unit, 27 ... Main memory unit, 31 ... Application Program body, 3
2 ... User interface control unit, 33 ... Operating system, 34 ... Input / output device control unit, 35 ... Input / output device, 50 ... Display screen, 51 ... Application window, 52 ... Interface component button, 53 ... Sub window, 54 ... Program Main body, 55 ... Output document icon, 56 ... Error document icon, 60 ... Display screen, 61 ... Application window, 62 ... Interface component button, 63
... Sub-window, 64 ... Program main body.

─────────────────────────────────────────────────────
─────────────────────────────────────────────────── ───

【手続補正書】[Procedure amendment]

【提出日】平成5年7月27日[Submission date] July 27, 1993

【手続補正1】[Procedure Amendment 1]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0001[Correction target item name] 0001

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0001】[0001]

【産業上の利用分野】本発明は、プログラム制御装置に
関し、特に、デスクトップ環境における処理操作をプロ
グラムできる簡易言語プログラムの指示によりUNIX
プログラムの起動する場合に、起動するUNIXプログ
ラムに対して入力データファイルを指定できるプログラ
ム制御装置に関すものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a program control device, and more particularly, to a UNIX based on an instruction of a simple language program capable of programming a processing operation in a desktop environment.
When starting the program, those related to the program control device capable of specifying an input data file for UNIX program to start.

【手続補正2】[Procedure Amendment 2]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0004[Correction target item name] 0004

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0004】このため、簡易言語プログラムを解釈し
て、当該簡易言語プログラムに従い各々のマウス操作お
よびキー入力操作と同様な処理を実行するプログラム
が、アプリケーションプログラムの1つとして提供され
ているので、このような簡易言語プログラムを用いて
例えば、ユーザが行う定形の業務処理のために、デスク
トップ環境でのマウス操作およびキー入力操作による順
次の操作処理をそのまま順次に記述し、定形の業務処理
プログラム(簡易言語プログラム)として作成して、利
用される。
Therefore, a program that interprets the simple language program and executes the same processing as each mouse operation and key input operation according to the simple language program is provided as one of the application programs. using a simple language programs such as,
For example, for a routine business process performed by a user, sequential operation processes by mouse operation and key input operation in a desktop environment are described as they are and created as a regular business process program (simple language program). Used.

【手続補正3】[Procedure 3]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0026[Correction target item name] 0026

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0026】図4は、プログラム起動制御部におけるU
NIXプログラムの起動処理を説明するフローチャート
である。次に、図4を参照して、簡易言語プログラムに
おけるUNIX起動コマンドの処理について説明する。
簡易言語プログラムが起動され、プログラム解釈処理部
(11:図1)において簡易言語プログラムのコマンド
の構文解析を行い、簡易言語プログラムの各々のコマン
ドで指定された各操作の処理は、プログラム解釈処理部
がデスクトップ環境におけるイベント情報を発生させて
処理が進行する。そして、簡易言語プログラムにおける
UNIX起動コマンドの処理は、プログラム起動制御部
(14:図1)により、その処理が実行される。
FIG. 4 shows U in the program start control unit.
Is a flow chart that describes the start-up process of NIX program. Next, with reference to FIG. 4, the processing of the UNIX start command in the simple language program will be described.
When the simplified language program is started, the program interpretation processing unit (11: FIG. 1) parses the commands of the simplified language program, and the processing of each operation specified by each command of the simplified language program is performed by the program interpretation processing unit. Causes event information in the desktop environment to proceed. Then, the processing of the UNIX activation command in the simple language program is executed by the program activation control unit (14: FIG. 1).

【手続補正4】[Procedure amendment 4]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】図4[Name of item to be corrected] Fig. 4

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【図4】図4は、プログラム起動制御部におけるUNI
Xプログラムの起動処理を説明するフローチャート、
FIG. 4 is a UNI in the program activation control unit.
X program flow chart that describes the start-up process of,

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 デスクトップ環境における処理操作をプ
ログラムできる簡易言語プログラムにより入力データフ
ァイルを指示してUNIXプログラムの起動を行うプロ
グラム制御装置であって、 簡易言語プログラムを解釈してUNIXプログラムの起
動指示を行うプログラム解釈手段と、 簡易言語プログラムの起動指定により起動するUNIX
プログラムの入力データファイルとしてデスクトップ上
のアイコンを指定して、UNIXプログラムの起動を行
う処理制御手段と、を備えることを特徴とするプログラ
ム制御装置。
1. A program control device for activating a UNIX program by instructing an input data file by a simple language program capable of programming a processing operation in a desktop environment, the simple language program being interpreted to issue a UNIX program start instruction. UNIX to be executed by the program interpreting means to be executed and by specifying the start of the simple language program
A program control device, comprising: a process control unit that activates a UNIX program by designating an icon on a desktop as an input data file of the program.
【請求項2】 デスクトップ環境における処理操作をプ
ログラムできる簡易言語プログラムにより入力データフ
ァイルを指示してUNIXプログラムの起動を行うプロ
グラム制御装置であって、 簡易言語プログラムを解釈してUNIXプログラムの起
動指示を行うプログラム解釈手段と、 簡易言語プログラムの起動指定により起動するUNIX
プログラムの入力データファイルとしてUNIXファイ
ルシステムのファイルを指定して、UNIXプログラム
の起動を行う処理制御手段と、を備えることを特徴とす
るプログラム制御装置。
2. A program control device for instructing an input data file by a simple language program capable of programming a processing operation in a desktop environment to start a UNIX program, wherein the simple language program is interpreted to give a start instruction of the UNIX program. UNIX to be executed by the program interpreting means to be executed and by specifying the start of the simple language program
A program control device comprising: a process control means for activating a UNIX program by designating a file of a UNIX file system as an input data file of the program.
JP4220693A 1993-02-07 1993-02-07 Program controller Pending JPH06230943A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4220693A JPH06230943A (en) 1993-02-07 1993-02-07 Program controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4220693A JPH06230943A (en) 1993-02-07 1993-02-07 Program controller

Publications (1)

Publication Number Publication Date
JPH06230943A true JPH06230943A (en) 1994-08-19

Family

ID=12629546

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4220693A Pending JPH06230943A (en) 1993-02-07 1993-02-07 Program controller

Country Status (1)

Country Link
JP (1) JPH06230943A (en)

Similar Documents

Publication Publication Date Title
US5929852A (en) Encapsulated network entity reference of a network component system
US5864850A (en) Asynchronous-event opening component of a network component system
JPH07104765B2 (en) Electronic documentation as a user interface to computer-resident software systems
JPH08137646A (en) Method and system for displaying dialogue box
JPH07160608A (en) System and method for display of program application
JPH05197536A (en) Method and system for generating plurality of panel version from single panel definition file
EP1025489B1 (en) System to associate control with applications using drag and drop interface
JPH06230943A (en) Program controller
JPH05216641A (en) Graphical user interface control program generator
JP3254793B2 (en) Control method of interactive processing system
JPH06230947A (en) Program starting device
JPH06230942A (en) Program controller
Pasian et al. User interfaces in astronomy
JPH07219753A (en) Conversational program development support system
JPH0744497A (en) Shell starter
JPH07239791A (en) Simple program language processor
JPH11327885A (en) Call-back function calling control method and its system
JPH0744363A (en) Program starting device
JPH06230948A (en) Automatic programming device
JP2023055965A (en) Information processing apparatus, information processing method, and program
JP2022113110A (en) Information processing apparatus, information processing method, and program
JPH052477A (en) Graphical user interface preparing system
JPH07239790A (en) Simple program language processor
JPH0916383A (en) Application development method and device
JPH0635688A (en) Conversational processing system