JPH06230942A - Program controller - Google Patents

Program controller

Info

Publication number
JPH06230942A
JPH06230942A JP4220393A JP4220393A JPH06230942A JP H06230942 A JPH06230942 A JP H06230942A JP 4220393 A JP4220393 A JP 4220393A JP 4220393 A JP4220393 A JP 4220393A JP H06230942 A JPH06230942 A JP H06230942A
Authority
JP
Japan
Prior art keywords
program
unix
output
file
processing
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
JP4220393A
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 JP4220393A priority Critical patent/JPH06230942A/en
Publication of JPH06230942A publication Critical patent/JPH06230942A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To provide a program controller which can designate a file to acquire the processing result from a UNIX program when this program is started by the instruction of a simple language program which can program a processing operation in a desk top environment. CONSTITUTION:A UNIX program 18 is started by the instruction of a simple language program which can program a processing operation in a desk top environment 6. Then the processing result is acquired from the program 18. In such a constitution of a program controller, a program interpreting part 11 is added to interpret the simple language program and instructs the start of the program 18. Furthermore a processing control means 14 outputs the processing result of the started program 18 to a desk top as an icon file or a UNIX file system file by the start of the program 18 designated by the language program.

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 starting a program and designating a file for obtaining a processing result from a UNIX program.

【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プログラムの側から、直接に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 the simple language command that can start the UNIX program is prepared in the above, in the execution of the simple language program, the output result (standard output) of the processing result of the UNIX program is directly issued from the side of the started UNIX program. ) Or when receiving error information (standard error output), it is impossible for the simplified language program to directly specify the destination.

【0006】そのため、一旦、起動されたUNIXプロ
グラムにおいて、その出力結果、エラー情報などをどこ
かのUNIXファイルシステム上のファイルに書き出さ
せた後、それを参照することにより、その出力結果、エ
ラー情報等のデータを受け取っていた。このため、出力
データの受け取りの処理が複雑となり、プログラムの複
雑化にもつながるという問題点があった。
Therefore, in the UNIX program that has been started up once, the output result, error information, etc. are written to a file on a UNIX file system somewhere, and then the output result and error are referred to. I received data such as information. Therefore, there is a problem in that the process of receiving the output data becomes complicated and the program becomes complicated.

【0007】このように、簡易言語プログラムの側にお
いては、出力データの受け取り先としてのアイコン指定
や、UNIXファイル指定を行えないため、プログラム
の処理の効率の低下にもつながった。更に、簡易言語プ
ログラムにより処理を行っているユーザは、デスクトッ
プ環境にいるため、起動したUNIXプログラムの出力
結果、エラー情報などは、即座にそのままディスプレイ
画面で見ることはできないという問題点があった。
As described above, on the side of the simple language program, since it is not possible to specify the icon as the receiving destination of the output data and the UNIX file, the processing efficiency of the program is lowered. Further, since the user who is performing the processing by the simple language program is in the desktop environment, the output result of the started UNIX program, the error information, and the like cannot be immediately viewed as they are on the display screen.

【0008】本発明は上記のような問題点を解決するた
めになされたものであり、本発明の目的は、デスクトッ
プ環境における処理操作をプログラムできる簡易言語プ
ログラムの指示により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. Another object of the present invention is to provide a program control device capable of designating a file for obtaining a processing result from a UNIX program.

【0009】[0009]

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

【0010】本発明の第2の特徴とするプログラム制御
装置では、デスクトップ環境における処理操作をプログ
ラムした簡易言語プログラムの指示によりUNIXプロ
グラムの起動を行い、UNIXプログラムからの処理結
果を得るためのプログラム制御装置であって、簡易言語
プログラムを解釈してUNIXプログラムの起動指示を
行うプログラム解釈手段(11)と、起動したUNIX
プログラム(18)からの処理結果を簡易言語プログラ
ムによるUNIXプログラムの起動指定によりUNIX
ファイルシステムのファイル(19)を作成して出力す
る処理制御手段(14)とを備えることを特徴とする。
According to the second aspect of the program control device of the present invention, the program control for activating the UNIX program in accordance with the instruction of the simple language program that programs the processing operation in the desktop environment and obtaining the processing result from the UNIX program. A program interpreting means (11) for interpreting a simple language program and instructing to start a UNIX program, and a started UNIX
The processing result from the program (18) can be set to UNIX by specifying to start the UNIX program by the simple language program.
And a processing control means (14) for creating and outputting a file (19) of a file system.

【0011】[0011]

【作用】本発明の第1の特徴とするプログラム制御装置
においては、デスクトップ環境における処理操作をプロ
グラムできる簡易言語プログラムの指示によりUNIX
プログラムの起動を行い、UNIXプログラムからの処
理結果を得る場合、プログラム解釈手段(11)が、簡
易言語プログラムを解釈してUNIXプログラムの起動
指示を行うと、処理制御手段(14)は、起動を行なっ
たUNIXプログラム(18)からの処理結果を、簡易
言語プログラムによるUNIXプログラムの起動指定に
よりデスクトップ(6)上にアイコンのファイル(7,
8)として出力する。これにより、起動を行ったUNI
Xプログラムからの処理結果は、直ちにデスクトップ環
境においてユーザにより確認可能となる。
In the program control device having the first feature of the present invention, UNIX is instructed by the instruction of the simple language program capable of programming the processing operation in the desktop environment.
When the program is started up and the processing result from the UNIX program is obtained, when the program interpreting means (11) interprets the simple language program and gives an instruction to start up the UNIX program, the processing control means (14) starts up the program. The processing result from the executed UNIX program (18) is displayed on the desktop (6) as an icon file (7, 7) by the start specification of the UNIX program by the simple language program.
Output as 8). As a result, the UNI
The processing result from the X program can be immediately confirmed by the user in the desktop environment.

【0012】また、本発明の第2の特徴とするプログラ
ム制御装置においては、デスクトップ環境における処理
操作をプログラムした簡易言語プログラムの指示により
UNIXプログラムの起動を行い、UNIXプログラム
からの処理結果を得る場合、プログラム解釈手段(1
1)が、簡易言語プログラムを解釈してUNIXプログ
ラムの起動指示を行うと、処理制御手段(14)が、起
動したUNIXプログラム(18)からの処理結果を、
簡易言語プログラムによるUNIXプログラムの起動指
定によりUNIXファイルシステムのファイル(19)
を作成して出力する。これにより、UNIXプログラム
の処理結果が直ちに利用可能となる。このため、簡易言
語プログラムの処理効率が向上し、また、簡易言語プロ
グラムの出力処理系を簡素化することができる。
In the second aspect of the program control apparatus of the present invention, when the UNIX program is started by the instruction of the simple language program that programs the processing operation in the desktop environment and the processing result from the UNIX program is obtained. , Program interpretation means (1
When 1) interprets the simple language program and gives an instruction to start the UNIX program, the processing control means (14) displays the processing result from the started UNIX program (18).
File of UNIX file system by specifying startup of UNIX program by simple language program (19)
Create and output. As a result, the processing result of the UNIX program is immediately available. Therefore, the processing efficiency of the simple language program is improved, and the output processing system of the simple language program can be simplified.

【0013】このように、デスクトップ環境において、
そのデスクトップ環境に用意されている簡易言語プログ
ラムを介して、UNIXプログラムの起動を行なうが、
この場合、そのUNIXプログラムからの出力結果(標
準出力)、エラー情報(標準エラー出力)は、簡易言語
プログラムの側からの指示により、デスクトップ上のア
イコンのファイルとして作成するか、あるいはUNIX
ファイルシステム上にあるファイルとして作成するかを
指定することが可能となる。このため、出力データ受け
取り処理部の簡素化および簡易言語プログラムの簡素化
が可能となり、プログラムの処理効率が向上する。ま
た、アイコンのファイルを作成して、UNIXプログラ
ムの出力結果を出力した場合は、ユーザは出力結果、エ
ラー情報等の即座の確認を行うことが可能となる。
Thus, in the desktop environment,
The UNIX program is started via the simple language program prepared for the desktop environment.
In this case, the output result (standard output) and error information (standard error output) from the UNIX program are created as an icon file on the desktop according to an instruction from the side of the simple language program, or UNIX.
It is possible to specify whether to create it as a file on the file system. Therefore, the output data receiving processing unit and the simplified language program can be simplified, and the processing efficiency of the program is improved. In addition, when the icon file is created and the output result of the UNIX program is output, the user can immediately check the output result, error information, and the like.

【0014】[0014]

【実施例】以下、本発明の一実施例を図面により具体的
に説明する。図1は、本発明の一実施例にかかるプログ
ラム制御装置の要部の構成を示すブロック図である。図
1において、1はマウス、2はマウスドライバ、3はキ
ーボード、4はディスプレイ装置、5はグラフィカル・
ユーザ・インタフェース制御部、6はデスクトップ環
境、7は出力文書アイコンのファイル、8はエラー文書
アイコンのファイルを示している。また、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, 7 is an output document icon file, and 8 is an error document icon file. Further, 11 is a program interpretation processing unit, 12 is a syntax analysis unit, 13 is a virtual execution unit, 14 is a program activation control unit, 15 is a file buffer, 16 is a code conversion processing unit, 17 is a UNIX system, 18 is a UNIX program, Reference numeral 19 indicates each file of the UNIX file system.

【0015】グラフィカル・ユーザ・インタフェース制
御部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. With this, a so-called display screen is provided as a desktop to provide a desktop environment in which processing operations can be executed.

【0016】ここでのデスクトップ環境において動作す
る簡易言語プログラム(図示せず)が起動された場合、
プログラム解釈処理部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 in the desktop environment is executed, and various Start the application program of.

【0017】このようなデスクトップ環境における簡易
言語プログラムの実行により起動されるアプリケーショ
ンプログラムの1つとして、ここではプログラム起動制
御部14が、UNIXシステム17において処理の実行
が行なわれるUNIXプログラム18の起動を行い、起
動されたUNIXプログラム18からの出力結果(標準
出力およな標準エラー出力)をデスクトップ環境6にお
ける出力文書アイコンのファイル7およびエラー文書ア
イコンのファイル8に出力する処理を行う。この処理の
ため、プログラム起動制御部14には、ファイルバッフ
ァ15およびコード変換処理部16が備えられており、
ファイルバッファ15は、UNIXプログラム18から
の出力結果を一時的に格納し、また、出力結果のデータ
がコード変換する必要がある場合に、コード変換処理部
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. Then, the output result (standard output and standard error output) from the started UNIX program 18 is output to the output document icon file 7 and the error document icon file 8 in the desktop environment 6. For this processing, the program activation control unit 14 includes a file buffer 15 and a code conversion processing unit 16,
The file buffer 15 temporarily stores the output result from the UNIX program 18, and when the output result data needs to be code-converted, the code conversion processing unit 16 performs a code conversion process.

【0018】デスクトップ環境における簡易言語プログ
ラムの実行により起動されるアプリケーションプログラ
ムの1つとして、UNIXプログラム18が起動された
場合、このUNIXプログラム18は、UNIXシステ
ム17においてシェルプロセスが生成されて実行され、
UNIXプログラム18の処理結果のデータは、特に出
力ファイルが指定されない場合、標準出力に出力され、
また、エラーが生じた場合には、その時のエラー情報は
標準エラー出力として出力される。
When the UNIX program 18 is 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 executed and a shell process is generated in the UNIX system 17.
The data of the processing result of the UNIX program 18 is output to the standard output unless an output file is specified,
When an error occurs, the error information at that time is output as the standard error output.

【0019】また、UNIXプログラム18が起動され
る場合、出力ファイルを指定して起動された場合には、
このUNIXプログラム18からの出力結果は、指定さ
れた出力ファイル19に出力される。この場合にも、U
NIXプログラム18から出力される出力結果は、正常
の出力情報とエラー情報と分けられて出力データが出力
されるので、それぞれの出力に対応して、UNIXファ
イルシステムの出力ファイル19を指定しておくことが
できる。
Further, when the UNIX program 18 is started, when the output file is specified and started,
The output result from the UNIX program 18 is output to the designated output file 19. Also in this case, U
The output result output from the UNIX program 18 is divided into normal output information and error information and output data is output. Therefore, the output file 19 of the UNIX file system is designated corresponding to each output. be able to.

【0020】次に、更に詳細に本発明の実施例を具体的
に説明する。図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.

【0021】図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.

【0022】図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 a 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.

【0023】本発明の一実施例にかかるプログラム制御
装置は、例えば、ここでのアプリケーションプログラム
本体部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.

【0024】図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 designated by each command of the simplified language program is performed by the program interpretation processing. The department generates event information in the desktop environment and the process proceeds. And regarding the processing of the UNIX start command in the simple language program,
The processing is executed by the program activation control unit (14: FIG. 1).

【0025】プログラム起動制御部がUNIXプログラ
ムの起動処理を開始すると、まず、ステップ41におい
て、UNIX起動コマンドには、起動するUNIXプロ
グラムの標準出力として、デスクトップのファイルが指
定されているか否かを判定する。標準出力としてデスク
トップのファイルが指定されている場合には、次のステ
ップ42において、起動したUNIXプログラムが標準
出力,標準エラー出力にデータを書き出した後、そのデ
ータを内部データとして装置内バッファに取り込む。次
に、ステップ43において、装置内バッファのデータを
デスクトップ環境の側のバッファに当該データを転送す
る。
When the program activation control unit starts the UNIX program activation process, first, in step 41, it is determined whether or not a desktop file is designated as the standard output of the UNIX program to be activated in the UNIX activation command. To do. When a desktop file is designated as the standard output, in the next step 42, the started UNIX program writes the data to the standard output and standard error output, and then fetches the data as internal data into the internal buffer. . Next, in step 43, the data in the device buffer is transferred to the buffer on the desktop environment side.

【0026】次に、ステップ44において、転送したデ
ータのコード変換が必要か否かの判定を行い、転送した
データのコード変換が必要である場合、次のステップ4
5において、デスクトップ環境において解釈できるコー
ドに変換する処理を行う。転送したデータのコード変換
が必要でない場合は、そのままでよいので、次のステッ
プ46に進み、ステップ46において、デスクトップ上
に指定の名前で文書アイコンを作成して出力する。
Next, in step 44, it is judged whether or not the code conversion of the transferred data is necessary. If the code conversion of the transferred data is necessary, the following step 4 is executed.
In step 5, processing for converting into a code that can be interpreted in the desktop environment is performed. If the code conversion of the transferred data is not necessary, the code may be left as it is, so the process proceeds to the next step 46, and in step 46, a document icon is created with a designated name on the desktop and is output.

【0027】一方、処理を開始した最初のステップ41
の判定において、UNIX起動コマンドに、起動するU
NIXプログラムの標準出力としてデスクトップのファ
イルが指定されていない場合には、ステップ47に進
み、起動するUNIXプログラムの標準出力としてUN
IXファイルが指定されているか否かを判定する。ステ
ップ47の判定において、UNIXプログラムの標準出
力としてUNIXファイルが指定されていると判定され
た場合には、次のステップ48において、指定されたU
NIXファイルを、標準出力および標準エラー出力の書
出し先として、当該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 the desktop file is not designated as the standard output of the UNIX program, the process proceeds to step 47, and the standard output of the UNIX program to be started is UN.
It is determined whether or not the IX file is designated. If it is determined in step 47 that the UNIX file is specified as the standard output of the UNIX program, the specified U file is selected in step 48.
The UNIX file is specified as the writing destination of the standard output and the standard error output when the UNIX program is started. As a result, the process in which the UNIX program is activated is performed.

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

【0029】このように、デスクトップ環境において、
そのデスクトップ環境に用意されている簡易言語プログ
ラムのコマンドにより、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 output information of the output result output from the started UNIX program by specifying the parameters of the UNIX start command of the simple language program The error information and the like can be output by creating an icon on the desktop or by creating a file on the UNIX file system.

【0030】次に、簡易言語プログラムにおいてUNI
Xプログラム起動コマンドのパラメータ設定の操作例を
説明する。図5は、UNIXプログラム起動コマンドの
出力先のパラメータとしてデスクトップ上のアイコンを
指定する場合の操作例を説明する図である。図5におい
て、50はディスプレイ画面、51はアプリケーション
ウィンドウ、52はインタフェース部品のボタン、53
はボタン属性を表示するサブウィンドウ、54はボタン
に組込まれている簡易言語プログラムのプログラム本体
部、55は標準出力の出力先として指定され作成された
出力文書アイコン、56は標準エラー出力の出力先とし
て指定され作成されたエラー文書アイコンをそれぞれ示
している。
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 specified as a parameter of the output destination of the 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
Is a sub-window displaying the button attributes, 54 is the program body of the simplified language program incorporated in the button, 55 is an output document icon created as a standard output destination, and 56 is a standard error output destination. Each of the designated and created error document icons is shown.

【0031】ここでは、図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 serves as a program editor when the simple language program is incorporated into the button 52 as it is and the program is edited. As a simple language program that opens this sub-window 53 and is embedded in the button 52, for example, the file of the icon of the output destination is specified in the program body 54, and UNIX
Set the start command to start the program.

【0032】プログラム本体部54に設定されるUNI
Xプログラムを起動する起動コマンドは、例えば、“C
ALL UNIX [“OUT-file”,“ERR-fil
e”,…]”と設定されており、起動コマンドのパラメー
タとしては、当該起動を行うUNIXプログラムの標準
出力のファイル名を“OUT-file”とし、標準エラー
出力のファイル名を“ERR-file”とするように、デ
スクトップ環境の側の簡易言語プログラムで指定してい
る。これにより、起動したUNIXプログラムから得ら
れた出力結果は、起動コマンドのパラメータで設定した
名前のアイコンのファイル(アイコン55,アイコン5
6)として、デスクトップ環境のディスプレイ画面50
上に作成され、ユーザ側は即座にその内容の確認が可能
となる。
UNI set in the program body 54
The start command for starting the X program is, for example, "C
ALL UNIX ["OUT-file", "ERR-fil
e ", ...]" is set, and as the parameters of the start command, the standard output file name of the UNIX program that executes the start is "OUT-file", and the standard error output file name is "ERR-file". "," Is specified in the simple language program on the desktop environment side. As a result, the output result obtained from the started UNIX program is the icon file (icon 55, icon 5) having the name set by the parameter of the start command.
6) As a display screen 50 of the desktop environment
Created on top, the user can immediately check the contents.

【0033】図6は、UNIXプログラム起動コマンド
の出力先のパラメータとして、UNIXファイルシステ
ムのファイルを指定する場合の操作例を説明する図であ
る。図6において、60はディスプレイ画面、61はア
プリケーションウィンドウ、62はインタフェース部品
のボタン、63はボタン属性を表示するサブウィンドウ
である。64はボタンに組込まれている簡易言語プログ
ラムのプログラム本体部である。前述の場合と同様に、
デスクトップ環境となっているディスプレイ画面60に
は、このデスクトップ環境において実行されているアプ
リケーションプログラムのアプリケーションウィンドウ
61が開かれており、アプリケーションウィンドウ61
には、インタフェース部品のボタン62が表示されてい
る。
FIG. 6 is a view for explaining an operation example when a file of the UNIX file system is designated as a parameter of the output 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.

【0034】インタフェース部品のボタン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 functions 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 as a simple language program to be incorporated in the button 62, in the program body 64, for example,
A UNIX program start-up command that specifies a UNIX file system file as an output destination parameter is set.

【0035】この場合、UNIXプログラムを起動する
UNIX起動コマンドは、コマンドのパラメータとし
て、UNIXプログラムの出力先の標準出力および標準
エラー出力として、UNIXファイルシステム上にある
ファイルを指定する。標準出力および標準エラー出力を
書き出して欲してディレクトリとファイル名は既に分っ
ているため、プログラム本体部64に設定するUNIX
プログラムを起動する起動コマンドとしては、例えば
“CALL UNIX [“/rhome/imura/temp/out.fi
le”,“/rhome/imura/temp/err.file”,…]”と設定
する。これにより、UNIXプログラムが起動された場
合、起動コマンドの出力先のパラメータとして指定され
たUNIXファイルシステム上のファイルに、UNIX
プログラムの標準出力および標準エラー出力が書き出さ
れ、直ちにそのファイルが利用可能となる。
In this case, the UNIX start command for starting the UNIX program specifies a file on the UNIX file system as a standard output and a standard error output of the output destination of the UNIX program as a parameter of the command. I want the standard output and standard error output to be written out. Since the directory and file name are already known, the UNIX to be set in the program body 64
As a start command for starting the program, for example, "CALL UNIX [" /rhome/imura/temp/out.fi
Set le ”,“ /rhome/imura/temp/err.file ”,…]”. As a result, when the UNIX program is started, the UNIX file system is specified in the file specified as the output destination parameter of the start command.
The standard output and standard error output of the program are written and the file is immediately available.

【0036】図7は、UNIXプログラムからの出力を
デスクトップ上にアイコンを作成して出力する場合のU
NIXプログラム起動コマンドの一例を説明する図であ
る。図7の上部側に示すように、UNIXプログラム起
動コマンド71は、起動コマンドであることを示すコマ
ンド名称の“CALL UNIX”と共に、そのパラメ
ータとして、起動するUNIXプログラムのプログラム
名“/home/imura/work/prog”と、標準入力として指定
するファイルのアイコン名“入力文書"と、標準出力と
して指定するファイルのアイコン名“出力文書"と、標
準エラー出力として指定するファイルのアイコン名“エ
ラー文書"と、この起動コマンドを実行するワークステ
ーションのマシン名“benten"とが設定されている。こ
の起動コマンドをデスクトップ環境72における簡易言
語プログラムの処理により実行することにより、図7の
下部側に示すように、起動されたUNIXプログラム
“/home/imura/work/prog”は、アイコン名“入力文書"
のファイル73のデータを入力として読み込み、プログ
ラム処理を行い、その出力結果(標準出力,標準エラー
出力)のファイルデータを、アイコン名“出力文書"の
ファイル74として、また、アイコン名“エラー文書"
のファイル75として出力する。
FIG. 7 shows a case where the output from the UNIX program is output by creating an icon on the desktop.
It is a figure explaining an example of a NX program starting command. As shown in the upper part of FIG. 7, the UNIX program start-up command 71 has a command name “CALL UNIX” indicating that it is a start-up command, and the program name of the UNIX program to be started “/ home / imura /” as its parameter. work / prog ", the icon name" input document "of the file specified as standard input, the icon name" output document "of the file specified as standard output, and the icon name" error document "of the file specified as standard error output And the machine name "benten" of the workstation that executes this startup command is set. By executing this startup command by the processing of the simple language program in the desktop environment 72, the started UNIX program “/ home / imura / work / prog” is displayed as the icon name “input” as shown in the lower part of FIG. documents"
The data of the file 73 is read as an input, the program processing is performed, and the file data of the output result (standard output, standard error output) is used as the file 74 of the icon name "output document" and the icon name "error document".
Is output as the file 75.

【0037】また、図8は、UNIXプログラムからの
出力をUNIXファイルシステムのファイルとして出力
する場合のUNIXプログラム起動コマンドの一例を説
明する図である。この場合には、図8の上部側に示すよ
うに、UNIXプログラム起動コマンド81は、起動コ
マンドであることを示すコマンド名称の“CALLUN
IX”と共に、そのパラメータとして、起動するUNI
Xプログラムのプログラム名“/home/imura/work/pro
g”と、標準入力として指定するファイルのファイル名
“/home/imura/work/in.txt”と、標準出力として指定
するファイルのファイル名“/home/imura/work/out.tx
t”と、標準エラー出力として指定するファイルのファ
イル名“/home/imura/work/err.txt”と、この起動コマ
ンドを実行するワークステーションのマシン名“bente
n"とが設定されている。この起動コマンドをデスクトッ
プ環境における簡易言語プログラムの処理により実行す
ることにより、図8の下部側に示すように、起動された
UNIXプログラム“/home/imura/work/prog”は、U
NIXシステム82のファイルシステムにおいて、ファ
イル名“/home/imura/work/in.txt”のファイル83の
データを入力として読み込み、プログラム処理を行い、
その出力結果(標準出力,標準エラー出力)のファイル
データを、ファイル名“/home/imura/work/out.txt”の
ファイル84として、また、ファイル名“/home/imura/
work/err.txt”のファイル85として出力する。
FIG. 8 is a diagram for explaining an example of a UNIX program start command when the output from the UNIX program is output as a file of the UNIX file system. In this case, as shown in the upper part of FIG. 8, the UNIX program start command 81 has a command name “CALLUN” indicating that it is a start command.
UNI "and the UNI to start as its parameter
Program name of X program “/ home / imura / work / pro
g ”, 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/work/out.tx
t ”, the file name“ /home/imura/work/err.txt ”of the file specified as the standard error output, and the machine name“ bente of the workstation that executes this startup command.
n "is set. By executing this start command by the processing of the simple language program in the desktop environment, the started UNIX program" / home / imura / work / "is displayed as shown in the lower part of FIG. prog ”is U
In the file system of the NIX system 82, the data of the file 83 with the file name "/home/imura/work/in.txt" is read as an input and the program processing is performed.
The file data of the output result (standard output, standard error output) is used as the file 84 of the file name "/home/imura/work/out.txt", and the file name "/ home / imura /
Output as a file 85 of "work / err.txt".

【0038】以上に説明したように、本実施例のプログ
ラム制御装置によれば、デスクトップ環境に用意された
簡易言語プログラムのコマンドを用いて、UNIXプロ
グラムの起動を行う際、起動したUNIXプログラムか
ら得られる標準出力,標準エラー出力のファイル指定が
コマンドのパラメータ指定により可能となる。デスクト
ップ上のアイコンのファイルとして得たい場合には、単
にデスクトップ上に作成して欲しいアイコンのファイル
の名前を指定するだけで良い。実際にUNIXプログラ
ムが実行されると、ここでのプログラム制御装置が直接
に実行された当該UNIXプログラムの標準出力、標準
エラー出力からデータを読み込み、それらのデータを内
部データとして取り込み、簡易言語プログラム側で指定
されている名前を用いて、内部に取り込んだデータを使
ってデスクトップ上にアイコンのファイルを作成する。
これにより、ユーザ側は即座にその内容の確認が可能と
なる。
As described above, according to the program control apparatus of the present embodiment, when the UNIX program is started by using the command of the simple language program prepared in the desktop environment, it is obtained from the started UNIX program. The standard output and standard error output files can be specified by specifying the command parameters. If you want to get the icon file on the desktop, simply specify the name of the icon file you want to create on the desktop. When the UNIX program is actually executed, the program control device here reads the data from the standard output and standard error output of the UNIX program directly executed, takes in the data as internal data, and the simplified language program side Creates an icon file on the desktop with the data imported internally using the name specified in.
As a result, the user side can immediately confirm the contents.

【0039】UNIXプログラムからの標準出力、標準
エラー出力として、UNIXファイルシステム上のある
ファイルを指定する場合も同様である。この場合は、既
に標準出力、標準エラー出力を書き出して欲しいディレ
クトリとファイル名は分かっているため、直接そのディ
レクトリとファイル名を簡易言語プログラムの側で指定
する。UNIXプログラムの起動が行なわれると、簡易
言語プログラム側で標準出力、標準エラー出力の書き出
し先として指定されたUNIXファイルシステムのディ
レクトリとファイルに標準出力、標準エラー出力の書き
出される。
The same applies when a certain file on the UNIX file system is designated as the standard output and standard error output from the UNIX program. In this case, the directory and file name for which you want to write the standard output and standard error output are already known, so specify the directory and file name directly on the simple language program side. When the UNIX program is started, the standard output and standard error output are written to the directory and file of the UNIX file system designated as the write destination of the standard output and standard error output on the simple language program side.

【0040】[0040]

【発明の効果】以上に述べたように、本発明のプログラ
ム制御装置によれば、デスクトップ環境において、その
デスクトップ環境に用意されている簡易言語プログラム
を介して、UNIXプログラムの起動を行なう場合、そ
のUNIXプログラムからの出力結果(標準出力)、エ
ラー情報(標準エラー出力)の出力先として、簡易言語
プログラムの側からの指示により、デスクトップ上のア
イコンのファイルを作成して出力するか、あるいはUN
IXファイルシステム上にあるファイルを作成して出力
するかを指定して起動することが可能となる。このた
め、出力データの受け取り処理部の簡素化および簡易言
語プログラムの簡素化が可能となり、プログラムの処理
効率が向上する。また、アイコンを作成して出力した場
合は、ユーザは出力結果、エラー情報等の即座の確認が
可能となる。
As described above, according to the program control device of the present invention, when a UNIX program is started up in a desktop environment via a simple language program prepared in the desktop environment, As a destination of the output result (standard output) and error information (standard error output) from the UNIX program, an icon file on the desktop is created and output according to an instruction from the side of the simple language program, or UN
It is possible to start by designating whether to create and output a file on the IX file system. Therefore, the output data receiving processing unit and the simplified language program can be simplified, and the processing efficiency of the program is improved. In addition, when the icon is created and output, the user can immediately check the output result, error information and the like.

【図面の簡単な説明】[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 specified as a parameter of an output 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 the output destination of the UNIX program start command,

【図7】 図7はUNIXプログラムからの出力をデス
クトップ上にアイコンを作成して出力する場合のUNI
Xプログラム起動コマンドの一例を説明する図、
[Fig. 7] Fig. 7 shows a UNI when the output from the UNIX program is created by outputting an icon on the desktop.
A diagram illustrating an example of an X program start command,

【図8】 図8はUNIXプログラムからの出力をUN
IXファイルシステムのファイルとして出力する場合の
UNIXプログラム起動コマンドの一例を説明する図で
ある。
FIG. 8 shows the output from the UNIX program UN
It is a figure explaining an example of a UNIX program starting command at the time of outputting as a file of an IX file system.

【符号の説明】[Explanation of symbols]

1…マウス、2…マウスドライバ、3…キーボード、4
…ディスプレイ装置、5…グラフィカル・ユーザ・イン
タフェース制御部、6…デスクトップ環境、7…出力文
書アイコンのファイル、8…エラー文書アイコンのファ
イル、11…プログラム解釈処理部、12…構文解析
部、13…仮想実行部、14…プログラム起動制御部、
15…ファイルバッファ、16…コード変換処理部、1
7…UNIXシステム、18…UNIXプログラム、1
9…UNIXファイルシステムのファイル、21…キー
ボード、22…マウス、23…ディスプレイ装置、24
…ワークステーション本体部、25…ローカル記憶装
置、26…プロセッサ部、27…メインメモリ部、31
…アプリケーションプログラム本体部、32…ユーザイ
ンタフェース制御部、33…オペレーティングシステ
ム、34…入出力デバイス制御部、35…入出力デバイ
ス、50…ディスプレイ画面、51…アプリケーション
ウィンドウ、52…インタフェース部品のボタン、53
…サブウィンドウ、54…プログラム本体部、55…出
力文書アイコン、56…エラー文書アイコン、60…デ
ィスプレイ画面、61…アプリケーションウィンドウ、
62…インタフェース部品のボタン、63…サブウィン
ドウ、64…プログラム本体部。
1 ... Mouse, 2 ... Mouse driver, 3 ... Keyboard, 4
... display device, 5 ... graphical user interface control unit, 6 ... desktop environment, 7 ... output document icon file, 8 ... error document icon file, 11 ... program interpretation processing unit, 12 ... syntax analysis unit, 13 ... Virtual execution unit, 14 ... Program start control unit,
15 ... File buffer, 16 ... Code conversion processing unit, 1
7 ... UNIX system, 18 ... UNIX program, 1
9 ... 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 main body part, 32 ... user interface control part, 33 ... operating system, 34 ... input / output device control part, 35 ... input / output device, 50 ... display screen, 51 ... application window, 52 ... interface component button, 53
... sub-window, 54 ... program body, 55 ... output document icon, 56 ... error document icon, 60 ... display screen, 61 ... application window,
62 ... Interface component buttons, 63 ... Sub-window, 64 ... Program body section.

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

【手続補正書】[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.
Perform startup programs, those related to the program control unit to specify file to obtain the processing result from the UNIX program.

【手続補正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

【補正対象項目名】0024[Name of item to be corrected] 0024

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

【補正内容】[Correction content]

【0024】図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 simple language program is started, the program interpretation processing unit (11: FIG. 1) parses the commands of the simple language program, and the processing of each operation designated by each command of the simple language program is performed by the program interpretation processing. The department generates event information in the desktop environment and the process proceeds. 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】 デスクトップ環境における処理操作をプ
ログラムできる簡易言語プログラムの指示によりUNI
Xプログラムの起動を行い、UNIXプログラムからの
処理結果を得るためのプログラム制御装置であって、 簡易言語プログラムを解釈してUNIXプログラムの起
動指示を行うプログラム解釈手段と、 起動したUNIXプログラムからの処理結果を簡易言語
プログラムによるUNIXプログラムの起動指定により
デスクトップ上にアイコンのファイルとして出力する処
理制御手段と、を備えることを特徴とするプログラム制
御装置。
1. A UNI is instructed by a simple language program capable of programming processing operations in a desktop environment.
A program control device for activating an X program and obtaining a processing result from the UNIX program, comprising: a program interpreting means for interpreting a simple language program and instructing to activate the UNIX program; and a process from the activated UNIX program A program control device, comprising: a process control unit that outputs a result as an icon file on a desktop by designating a UNIX program to be activated by a simple language program.
【請求項2】 デスクトップ環境における処理操作をプ
ログラムした簡易言語プログラムの指示によりUNIX
プログラムの起動を行い、UNIXプログラムからの処
理結果を得るためのプログラム制御装置であって、 簡易言語プログラムを解釈してUNIXプログラムの起
動指示を行うプログラム解釈手段と、 起動したUNIXプログラムからの処理結果を簡易言語
プログラムによるUNIXプログラムの起動指定により
UNIXファイルシステムのファイルを作成して出力す
る処理制御手段と、を備えることを特徴とするプログラ
ム制御装置。
2. A UNIX is instructed by a simple language program in which a processing operation in a desktop environment is programmed.
A program control device for activating a program to obtain a processing result from a UNIX program, a program interpreting means for interpreting a simple language program and instructing to activate the UNIX program, and a processing result from the activated UNIX program And a processing control unit that creates and outputs a file of the UNIX file system by designating the start of the UNIX program by the simple language program.
JP4220393A 1993-02-07 1993-02-07 Program controller Pending JPH06230942A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4220393A JPH06230942A (en) 1993-02-07 1993-02-07 Program controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4220393A JPH06230942A (en) 1993-02-07 1993-02-07 Program controller

Publications (1)

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

Family

ID=12629457

Family Applications (1)

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

Country Status (1)

Country Link
JP (1) JPH06230942A (en)

Similar Documents

Publication Publication Date Title
JP3317763B2 (en) Program starting method and processing device thereof
JPH07104765B2 (en) Electronic documentation as a user interface to computer-resident software systems
JPH08137646A (en) Method and system for displaying dialogue box
KR20040068464A (en) Method and Apparatus For Interoperation Between Legacy Software and Screen Reader Programs
JPH0458052B2 (en)
JP2000003274A (en) Method for generating text element of editor executable on computer and device therefor and computer-readable storing medium for storing program constituted for generating text element on editor
JPH03144846A (en) Application input server cooperating method
AU748105B2 (en) System to associate control with applications using drag and drop interface
JPH06230942A (en) Program controller
JP3254793B2 (en) Control method of interactive processing system
JPH05216641A (en) Graphical user interface control program generator
JPH06230943A (en) Program controller
JPH07152550A (en) Method for preparing object-oriented system
JPH06230947A (en) Program starting device
JPH07239791A (en) Simple program language processor
JPH0744497A (en) Shell starter
JP7231864B2 (en) Information processing device, information processing method and program
JPH0744363A (en) Program starting device
JPH06242941A (en) Interactive processing system
JPH06230948A (en) Automatic programming device
Johnson et al. Cross Platform Support in Tk.
JPH07239790A (en) Simple program language processor
JP2023055965A (en) Information processing apparatus, information processing method, and program
JPH04305764A (en) Document preparing device
Fox An Introduction to ESS+ XEmacs for Windows Users of R