next up previous contents
Next: Vi Up: . Previous: Printing files (lp, lpstat,   Contents

Editing files

To alter and create files it is most convenient to use a text editor. Unix has four built-in editors: vi, ex, ed and edit. There is also an optional editor, emacs, which the JAC systems have. The ones used most often are vi and emacs, which are full-screen editors. Edt is not available at the moment on the Suns (a commercial version may be purchased in the future if it is not too exorbitant), but it is possible to set up your emacs initialization file, ``.emacs'', so that your keypad will function almost exactly as it does under real EDT. Emacs and Sun's textedit have X11 functionalities.

Editors are personal taste and pro's and con's are different for different people. Emacs has the advantage of being available for almost all current computers types, including VAXes, is non-proprietory, and works under X11 windows as well as character based terminals. Texedit is purely X11 and best integrated with the rest of Sun's Openwindows. Vi, probably the most user-unfriendly of the bunch, has the advantage of begin available `no matter what' which may be important in case you have to edit on a system which may be partly down




next up previous contents
Next: Vi Up: . Previous: Printing files (lp, lpstat,   Contents
h.stilmack@jach.hawaii.edu