HOW TO USE THE EDITOR

To edit a file, filnam, simply enter: e filnam.

Or, use abbreviation: e, e1...e10, to edit the previously edited file, the file in the n'th box under subtitle: EDITOR, respectively.

* FOR POSITIONINGTHE CURSOR:

[Page Down],[Page Up], up, down, left and right arrows
[Tab] first go to column 7, then end of line, bottom of page, top of page
[Page Down],[Page Up], up,
t=top of file and search downward
b=bottom of file and search upward
d=down search to the string, which is entered immediately afterward
u=upward search to the string, similarly as 'd'
&=repeat previous search in downward direction
^=repeat search in upward direction
n=number of the line to go to, immediate next n gives line number,and one more n gives total number of lines in the file
s=subroutine statement position
e=go to end of subroutine
l=list of subroutines to go to
c=repeat previous change in the next occurrence(caution:see 'a' below)
r=restore original line after unwanted change with 'c'
a=change all occurences
[End]=when asked for search string, enter [End] to enter line no.to goto
[PageUp],[Pagedown]=in columns > 1, allows search up or down

The above 1-letter command are applicable everywhere else when used with an [Enter], except in full screen editing mode, where it can be used in conjunction with the [Ctrl] key. Use [PageUp] and [PageDown] to initiate a search up and down respectively in full screen.

The middle button on the mouse can be used to move the cursor. The far right - and + can be used to scroll the screen, respectively.

In general the editing has been made as case insensitive as feasible.

* FOR MODIFICATION

* REPLACING

Type over characters to be replaced. The entire string surrounded by the leftmost and rightmost characters typed will be considered as the replacement segment. This replacement can be repeated to other string in the previously specified direction by entering a 'c' in column 1. End the replacement with [Enter]. Enter an 'a' in column 1 will change all occurences.

cntrl+/ deletes everything to the left, then moves down 1 line

cntrl+\ deletes everything to right, then moves straight down 1 line

2. INSERTION

(1) New Text - start with 'i' and end with [End]. [Space] means blank line.
(2) Imbedded String - start with [Insert] and end with any arrow or [End]
(3) z=zero in on a FORTRAN statement to write out all its variables

3. DELETION

(1) Delete a Line -- [Backspace] in column 1
(2) Delete a Character - - [Delete] in column > 1
(3) Delete a Block -- [Delete] in column 1

* END SESSION

f=finish and save
q=quit and discard change(note: the robot recording is saved, however)

* BLOCKING

1. Create a block by typing [Home] , then reposition and end with [End]. [Home] also terminates full screen editting.
2. Immediately after forming a block, it will be allowed to be extracted to the file whose name is entered (Click mouse to select from menu)
3. Use [Insert] and [Delete] to insert and delete the block(no [End]ing is necessary)
4. [Home] and [Insert] duplicate the line
5. m=move the block to the current position(delete if on same page)
6. g=get external file (Click mouse for manu)
7. w=write out the block to external file
8. p=print block as hardcopy(no [End]ing the block is necessary)

* SPECIAL FEATURES

A. ROBOTICS

1. All editing actions are recorded
2. The last editing session can be played out a line at a time
with the [Enter] key 3. The default action activatable by [Enter] is displayed at the top
of the page 4. '$%' causes the robot to perform rest of the editing
(To enter a character '$', enter '$' twice) 5. The robot file can be shifted up or down with '$^' and '$&' to align
with the current editing

B. VANPOOL COMMAND

1. v=create vanpool commands and make them available to be invoked by a '[1-letter alphabet or digit] , with '?' giving description of available vanpool commands and '#' for deleting existing commends. FIRST "V" IS USED TO START FORMING THE VANPOOL COMMAND, when done specifying all editing command, a second "v" terminated the process. BRp> 2. Alphabets "a" to "z" and digits "0" to "9" can be used for vanpool commands for used as "[1-letter]"
3. *=a variable command inside a vanpool command
4. o=over again executing so many previous commands, and these commands can be used to construct a vanpool command
5. Vanpool commands, once created, can be manipulated externally and issued to perform a capsulated task(to be completed in a background batch mode).

C. ZERO IN ON A STATEMENT

The "z" command writes debugging statements around the statement to be zeroed in on and causes a pause after the execution of the statement and writing out of the debugging statements.

D. FAST-TYPING SEARCH COMMAND

To facilitate a minimum distracting way of view text, an automatic search command is invoked when the first two letters are entered in rapid successing in column 0 or in full screen editing mode during a searching processing.

E. KNOW VARIABLE DESCRIPTIONS IN A STATEMENT

The "k" command would give the description of each variable in the statement, if a 'code variable' file is available. This file is automatically generated in natural-language programming by the software generator.

F. YANK IN AN EXISTING SUBROUTINE CALL STATEMENT

The "y" command provides easy accessing of available library and program subroutine modules.

G. JACK OVER A SUBROUTINE FROM AN EXTERNAL FILE

The "j" command jack a subroutine over from another file. H. BRACKET A BLOCK OF CODING AND MAKE IT A SUBROUTINE

The '1' command convert a block of coding into a subroutine and replace the block with a CALL statement to the subroutine.

* EDITING TIPS

Some simple rules to remember are:

* Ctrl+letter, when entered anywhere, is the basic editor command
* Once in column 1, full screen editing is invoked
* column 0 and after every question will honor the 1-letter vanpool command(plus [Enter] in case of question)
* [Enter], [Home], [End] and moving to column 0 cause editing to leave full screen mode
* Filenamelessness is maintained by clicking the mouse when an external file name is requested
* When it is important to keep a record of the editing session for someone else to see, "q"uit out the edit session so the robot can be used to repeat verbatim every step of the session by simply pressing the [End] key.

* FINAL WORD

* This editor tries to be more rational than consistent in order to accomodate the least-effort scenerio, which is to be determined by actual user experience

* To let computer do as much of the work as possible, the user needs to adjust to a bilateral interaction with the computer. In practice, the user needs to do more anticipating than dictating. Remember: The scenerios we anticipate are those we set up for ourselves, not that dictated by the computer.

* The ultimate goal for ROBOCOM is to make editing unnecessary. This can be realized once we identify all the individual and combinationary functions that the editor performs. All we need to do than is to order the robot to perform that function we desire. The full-screen data entry is an example of the application of the editor.

* KNOWN BUGS

* clean up combined use of [Ins] and [Del]. for now, use each after doing an [End]
* accidental and unexplained insertion of "C" or "Cntrl". Seems related to operating system, so bear it for now. [End]

Click to learn about:
TANSLATOR
RECORDER
OUTERNET
DIAGNOSER HOW
USER INTEFACE

2.6 DETECTIVE DIAGNOSER

2.7 OUTERNET

2.8 NATURAL LANGUAGE SPECS

2.9 SOFTWARE ROBOT SPECS

2.10 NAMING CONVENTION SPECS

2.11 FORTRAN SPECS

2.12 USE INTERFACE SPECS

2.13 EDITOR SPECS

2.14 DIAGNOSER SPECS

2.15 DATA FILE LINK SPECS

2.16 COMPUTER ENGLISH WORDS

2.17 UNIVERSAL LANGUAGE FOR COMPUTING

2.18 SPACE NUCLEAR DESIGN ANALYSIS
heapip.

back to homepage