JPH05181860A - File editor controller for information processing system - Google Patents
File editor controller for information processing systemInfo
- Publication number
- JPH05181860A JPH05181860A JP3360217A JP36021791A JPH05181860A JP H05181860 A JPH05181860 A JP H05181860A JP 3360217 A JP3360217 A JP 3360217A JP 36021791 A JP36021791 A JP 36021791A JP H05181860 A JPH05181860 A JP H05181860A
- Authority
- JP
- Japan
- Prior art keywords
- file
- editing
- temporary
- operator
- write
- 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.)
- Withdrawn
Links
Landscapes
- Stored Programmes (AREA)
- Document Processing Apparatus (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は、情報処理装置のファイ
ルエディタ制御装置に関し、特に外部記憶装置に格納さ
れた書込禁止ファイルを編集するとき機能する情報処理
システムのファイルエディタ制御装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a file editor control device for an information processing device, and more particularly to a file editor control device for an information processing system that functions when editing a write-protected file stored in an external storage device.
【0002】[0002]
【従来の技術】従来、この種の情報処理システムにおけ
るファイルエディタ制御では、書込禁止モードのファイ
ルを編集用一時ファイルに複写した後、キーボードから
の編集文字入力を行うと編集用一時ファイルは無条件に
変更されるようになっていた。2. Description of the Related Art Conventionally, in the file editor control in this type of information processing system, if a character in the write-protected mode is copied to a temporary editing file and then an editing character is input from the keyboard, the temporary editing file is not created. It was supposed to be changed to the conditions.
【0003】[0003]
【発明が解決しようとする課題】上述した従来のファイ
ルエディタ制御では、書込禁止モードのファイルを編集
対象として編集用一時ファイルに複写したとき、元のフ
ァイルは書込み禁止であるにもかかわらず編集文字入力
により編集用一時ファイル上で書換えが可能である。そ
のため、操作者が書込み禁止であることに気付かずに編
集用一時ファイル上で修正し、元のファイルに書き戻そ
うとした際に元のファイルが書込み禁止であるため書込
めず、修正時間を無駄にするという不都合が生じてい
た。In the conventional file editor control described above, when a file in the write-protected mode is copied to a temporary file for editing as an edit target, the original file is edited even though it is write-protected. Rewriting is possible on the temporary file for editing by inputting characters. Therefore, if the operator does not notice that the file is write-protected, he / she corrects it on the temporary file for editing, and when trying to write back to the original file, the original file is write-protected and cannot be written. There was the inconvenience of wasting it.
【0004】[0004]
【発明の目的】本発明は、かかる従来例の有する不都合
を改善し、とくに元のファイルの書き込み等の修正作業
を能率よくなし得る情報処理システムのファイルエディ
タ制御装置を提供することを、その目的とする。SUMMARY OF THE INVENTION It is an object of the present invention to provide a file editor control device for an information processing system, which is capable of improving the disadvantages of the conventional example, and particularly efficiently performing a correction work such as writing an original file. And
【0005】[0005]
【課題を解決するための手段】本発明では、情報処理シ
ステムにおいて、操作者が外部記憶装置に格納されてい
るファイルを編集対象として指定した時に,指定された
ファイルの属性を記憶するファイル属性記憶手段と、指
定されたファイルの内容を一時的に格納して編集を行う
ためのファイルを確保する編集用一時ファイル確保手段
と、編集対象ファイルの内容を編集用一時ファイルに複
写する編集対象ファイル複写手段と、操作者によって入
力された文字を解析し,コマンド文字であればそのコマ
ンドに応じたコマンド処理を起動し,編集文字入力であ
れば編集手段を起動するコマンド処理起動手段とを備え
ている。更に、ファイル属性記憶手段に記憶されたファ
イル属性が書込禁止モードのときは編集処理を行わずに
警告ブザー等により操作者に書込禁止ファイルであるこ
とを知らせると共に,書込禁止モードでないときは編集
用一時ファイルの内容を編集する編集手段とを有する、
という構成を採っている。これによって前述した目的を
達成しようとするものである。According to the present invention, in an information processing system, when an operator designates a file stored in an external storage device as an edit target, a file attribute storage for storing the attribute of the designated file. Means, an editing temporary file securing means for temporarily storing the contents of a specified file to secure a file for editing, and an editing target file copying for copying the contents of the editing target file to the editing temporary file And a command processing starting means for analyzing a character input by the operator, activating a command processing corresponding to the command if the character is a command character, and activating the editing means for an editing character input. .. Further, when the file attribute stored in the file attribute storage means is the write-protected mode, the operator is notified of the write-protected file by a warning buzzer or the like without performing the editing process, and when not in the write-protected mode. Has an editing means for editing the contents of the temporary file for editing,
Is adopted. This aims to achieve the above-mentioned object.
【0006】[0006]
【実施例】以下、本発明の一実施例を図1ないし図2に
基づいて説明する。この図1ないし図2に示す実施例に
おいて、情報処理装置10は、入出力手段であるディス
プレイ20,キーボード30、及び外部記憶装置40を
備えている。ファイル属性記憶手段110は、操作者が
指定した編集ファイルをオープンし、ファイルの属性を
記憶する。編集用一時ファイル確保手段120は、指定
された編集対象ファイルの内容を一時的に格納して編集
を行うための編集用一時ファイルをオープンする。編集
対象ファイル複写手段130は、編集対象ファイルの内
容をオープンされた編集用一時ファイルに複写する。コ
マンド処理起動手段140は、編集用一時ファイルに対
して入力された文字がエディタプログラムに対するコマ
ンド文字ならば、そのコマンドに応じたコマンド処理を
起動し、編集文字ならば編集手段を起動する。また、編
集手段150はファイル属性記憶手段110に記憶され
た編集対象ファイルのファイル属性を確認し、書込み禁
止であれば編集用一時ファイルの内容を更新せず、警告
ブザーを鳴らして操作者に書き込み禁止であることを知
らせ、書込み禁止でなければ編集用一時ファイルの内容
を入力文字で更新する。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to FIGS. In the embodiment shown in FIGS. 1 and 2, the information processing device 10 includes a display 20, a keyboard 30, and an external storage device 40, which are input / output means. The file attribute storage means 110 opens the edit file designated by the operator and stores the attribute of the file. The temporary editing file reserving means 120 opens the temporary editing file for temporarily storing the contents of the specified file to be edited and performing editing. The edit target file copying means 130 copies the contents of the edit target file into the opened temporary file for editing. The command processing activation means 140 activates the command processing according to the command if the character input to the editing temporary file is a command character for the editor program, and activates the editing means if the character is an edited character. Further, the editing means 150 confirms the file attribute of the file to be edited stored in the file attribute storage means 110, and if it is write-protected, does not update the contents of the temporary file for editing and writes a warning buzzer to write to the operator. Notify that it is prohibited, and if it is not write protected, update the contents of the temporary editing file with the input characters.
【0007】次に、編集ファイルに対する上記実施例の
動作について図面を参照して詳細に説明する。操作者は
編集対象ファイル名指定でエディタプログラム起動す
る。エディタプログラムは、指定された編集対象ファイ
ルをオープンし、ファイル属性記憶手段110に編集対
象ファイルのファイル属性を記憶する(ステップ200
〜202)。次に編集用一時ファイル確保手段120は
指定されたファイルの内容を一時的に格納して編集を行
うための編集用一時ファイルをオープンし、編集対象フ
ァイルの内容を編集用一時ファイルに複写した後、編集
対象ファイルをクローズしてディスプレイ上に編集用一
時ファイルの一部を表示する(ステップ204〜20
8)。Next, the operation of the above embodiment with respect to the edit file will be described in detail with reference to the drawings. The operator starts the editor program by specifying the name of the file to be edited. The editor program opens the specified edit target file and stores the file attribute of the edit target file in the file attribute storage means 110 (step 200).
~ 202). Next, the temporary editing file reserving unit 120 opens the temporary editing file for temporarily storing the contents of the specified file and performing editing, and after copying the contents of the editing target file to the temporary editing file. , The file to be edited is closed and a part of the temporary file for editing is displayed on the display (steps 204 to 20).
8).
【0008】操作者は、ディスプレイ上の表示を見なが
らキーボードから文字入力を行うと、コマンド処理起動
手段140は入力された文字を解析し、エディタプログ
ラムに対する動作指定コマンドならそのコマンドに応じ
たコマンド処理を起動し、編集文字入力であれば編集手
段150を起動する(ステップ210〜216)。編集
手段150はファイル属性記憶手段110に記憶された
編集対象ファイルのファイル属性を確認し、書き込み禁
止でなければ編集用一時ファイルの内容を前記入力され
た文字で更新し、書き込み禁止であれば編集用一時ファ
イルの内容を更新せず、警告ブザーを鳴らして操作者に
編集対象ファイルが書き込み禁止であることを知らせる
(ステップ218〜220)。When the operator inputs a character from the keyboard while looking at the display on the display, the command processing starting means 140 analyzes the input character, and if it is an operation designation command for the editor program, the command processing corresponding to the command is executed. Is started, and if the editing character is input, the editing means 150 is started (steps 210 to 216). The editing unit 150 confirms the file attribute of the file to be edited stored in the file attribute storage unit 110, updates the contents of the editing temporary file with the input character if it is not write protected, and edits it if it is write protected. The content of the temporary file for use is not updated, and a warning buzzer is sounded to inform the operator that the file to be edited is write-protected (steps 218 to 220).
【0009】[0009]
【発明の効果】以上説明したように本発明によると、書
き込み禁止ファイルを編集対象として呼び出し、編集操
作を行おうとしたときに編集を行わず、操作者に警告す
ることにより、操作者が書き込み禁止であることに気づ
かずに編集を続けるような無駄をなくすという従来にな
い優れた情報処理システムのファイルエディタ制御装置
を提供することができる。As described above, according to the present invention, the write-protected file is called as an edit target, and when the edit operation is attempted, the edit is not performed and the operator is warned, so that the write-protection is performed by the operator. Thus, it is possible to provide a file editor control device of an excellent information processing system which has never been used and which eliminates the waste of continuing editing without noticing that.
【図1】本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of the present invention.
【図2】図1における実施例の動作を示すフローチャー
トである。FIG. 2 is a flowchart showing the operation of the embodiment shown in FIG.
10 情報処理装置 20 ディスプレイ 30 キーボード 40 外部記憶装置 110 ファイル属性記憶手段 120 編集用一時ファイル確保手段 130 編集対象ファイル複写手段 140 コマンド処理部起動手段 150 編集手段 200〜220 本実施例の処理を表すフロー 10 Information Processing Device 20 Display 30 Keyboard 40 External Storage Device 110 File Attribute Storage Means 120 Editing Temporary File Reserving Means 130 Editing Target File Copying Means 140 Command Processing Unit Starting Means 150 Editing Means 200-220 Flow Representing Processing of this Embodiment
Claims (1)
ファイルを編集対象として指定した時に,指定されたフ
ァイルの属性を記憶するファイル属性記憶手段と、指定
されたファイルの内容を一時的に格納して編集を行うた
めのファイルを確保する編集用一時ファイル確保手段
と、編集対象ファイルの内容を編集用一時ファイルに複
写する編集対象ファイル複写手段と、操作者によって入
力された文字を解析し,コマンド文字であればそのコマ
ンドに応じたコマンド処理を起動し,編集文字入力であ
れば編集手段を起動するコマンド処理起動手段とを備
え、前記ファイル属性記憶手段に記憶されたファイル属
性が書込禁止モードのときは編集処理を行わずに警告ブ
ザー等により操作者に書込禁止ファイルであることを知
らせるとともに,書込禁止モードでないときは編集用一
時ファイルの内容を編集する編集手段を装備したことを
特徴とする情報処理システムのファイルエディタ制御装
置。1. When the operator designates a file stored in an external storage device as an editing target, a file attribute storage means for storing the attribute of the designated file and the contents of the designated file are temporarily stored. A temporary file for editing, which secures a file for storing and editing, a means for copying the file to be edited, which copies the contents of the file to be edited into a temporary file for editing, and analyzes the characters entered by the operator. If the command character is a command character, the command processing corresponding to the command is started, and if the editing character is input, a command processing starting means for starting the editing means is provided, and the file attribute stored in the file attribute storage means is written. In the prohibit mode, a warning buzzer or the like is used to notify the operator that the file is a write-protected file without performing edit processing, and write-protection is performed. A file editor control device for an information processing system, characterized in that it is equipped with an editing means for editing the contents of a temporary editing file when it is not in the stop mode.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3360217A JPH05181860A (en) | 1991-12-27 | 1991-12-27 | File editor controller for information processing system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3360217A JPH05181860A (en) | 1991-12-27 | 1991-12-27 | File editor controller for information processing system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH05181860A true JPH05181860A (en) | 1993-07-23 |
Family
ID=18468419
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP3360217A Withdrawn JPH05181860A (en) | 1991-12-27 | 1991-12-27 | File editor controller for information processing system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH05181860A (en) |
-
1991
- 1991-12-27 JP JP3360217A patent/JPH05181860A/en not_active Withdrawn
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH08292951A (en) | Document editing device | |
JPH05181860A (en) | File editor controller for information processing system | |
JPH08137837A (en) | Method and device for document processing | |
JP3433355B2 (en) | Document processing device | |
JPH05250014A (en) | Peripheral device for programmable controller | |
JPH07319859A (en) | Retaining method for file in information processor | |
JPH0581095A (en) | Method for protecting file | |
JPH05120104A (en) | File managing device | |
JPH05298196A (en) | Storage data editing method | |
JPH0218609A (en) | Changing device for key operating procedure | |
JPH0651959A (en) | Software installing method | |
JPS62168202A (en) | Program recording device | |
JPH0773170A (en) | Method and device for generating new file | |
JP2004152025A (en) | Programming device | |
JPH02250166A (en) | Information processor | |
JPH0644123A (en) | File editing range designation system | |
JPH02120972A (en) | Document editing device | |
JPH0728812A (en) | Document preparing device | |
JPH04326459A (en) | Display information editing device | |
JPH0660073A (en) | Document editing device | |
JPH04291450A (en) | Word processor | |
JPH05189425A (en) | Data processor | |
JPH05225030A (en) | File management system | |
JPH01266641A (en) | Data process | |
JPH05324648A (en) | Automatic document date display system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 19990311 |