HPlogo Getting Started as an MPE/iX Programmer Programmer's Guide: HP 3000 Computer MPE/iX Computer Systems > Chapter 2 Utilities and Tools

Editor

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

The Editor is an HP 3000 subsystem that runs on MPE operating systems. It is a line-oriented text editor used to create and manipulate ASCII files. Files can be source programs, job streams, or text material.

You enter commands and lines of text through an input file. The Editor sends messages and prompts in an interactive session by writing to an output file. You issue Editor commands that operate on an Editor work file, which is a temporary file especially created for this purpose. Each operation performed in the Editor manipulates the work file. A permanent text file is created as the result of saving the work file. Until you keep the contents of the work file, no permanent text file exists. If you are updating an existing text file, it remains unchanged while you make the changes on the temporary work file copy. The original permanent text file is overwritten only when you save the work file.

The work file is created as a temporary file and is deleted when you make a normal, orderly exit from the Editor. If your edit session ends abnormally, the temporary work file is saved as a specially named file and is still available. This is called a "K" file; the file name has the form

      Kdddhhmm

where ddd is the Julian day, hh is the hour, and mm is the minute at which the session abnormally ended.

You can use the Editor command VERIFY to determine all aspects of the Editor's operating environment, including the location of the work file pointer. For example, you can determine the increment for line numbers, page margins, record length, total length of work file, format, tabs, and other attributes of the environment. Editor is described in the EDIT/3000 Reference Manual (03000-90012).

Feedback to webmaster