Other UNIX Editors


vi

Vi is the native UNIX general purpose full screen editor. Generally, only UNIX system administrators use it. Vi requires no setup, invoke it using the command:

% vi [filename]

Once the file is opened, you are in command mode. From this mode you can issue commands, move the cursor, and invoke insert mode.

To enter insert mode, inserting text before the cursor, type i. From insert mode you can enter new text in the file. Press the Escape key to exit insert mode and return to command mode.

Some useful vi commands available in command mode

h,j,k,l              move cursor left, down, up, right, respectively
H                    move to top line of screen
L                    move to bottom line of screen
Ctrl-f               scroll forward one screen
Ctrl-b               scroll backward one screen
/pattern             search for pattern
/                    repeat search in forward direction
x                    delete current cursor position
X                    delete back one character
dw                   delete current word
dd                   delete current line
ndd                  delete n lines starting with current line
p                    insert last deleted text after cursor
:r filename          read in contents of filename after cursor
:x                   quit vi, writing file only if changes were made
:w                   write file, do not quit
:w file              save copy to file, do not quit
:q!                  quit file, discarding changes

Most UNIX guides contain a complete description of vi.


EDT+

The EDT+ is a clone of DEC EDT. To set up EDT+ type
%setup edt

To edit a file then, you can type
% edt [options] filename

To open a separate X-window you can do,
% xedt [options] filename

The usage of edt is very similar to Digital's edt.


nu/TPU

TPU (Text Processing Utility) is a programing language designed to write editors. The major component in nu/TPU is the software that can be used to build new word/text processors and batch-oriented text manipulation routines. EVE, vi, and ws editors are supported with nu/TPU. To set up nu/tpu, enter:

% setup tpu

To run using the SI interface (somewhat like EVE, but with less features) by default, type:

% tpu [filename]
To run using the VMS V5.0 EVE section file, type:

% tpu -section=tpusec.ini

For complete documentation on nu/TPU, including documentation on all command-line options and all nu/TPU programming statements, you can get the nu/TPU Reference Manual.


fermitpu

Fermitpu is just like Digital's TPU. FUE and/or fermitpu needs to be installed prior to use. To invoke, include in your login script or enter.

% setup fermitpu

% tpu [options] [filname]

Fermitpu, like TPU, is based on EVE, but includes many enhancements.

The man pages provide additional information.

Last update: May 28,1997

P.Bhat