![]()
|
![]() |
|||||||
Academic Technology ServicesInformation CenterA Quick reference Guide to the Joe EditorContents:
Getting to Know Joe Joe is the default editor used for all ATS machines. It is perhaps the easiest and fastest editor to learn, and it is the most common editor. Other programs such as elm or nn use the joe editor for editing. To start joe, type joe at your prompt (usually mail% on mail or troi% on the academic cluster). To edit a file, type joe filename. The upper left-hand side of the screen displays the name of the file
you are editing and its status (whether the document is modified or not).
The upper right-hand side should display the help key. To get help, press
the control key ( When done editing your file, ^kx will exit and save. Instead, if you wish to exit without saving, thereby canceling all of your changes, press ^c. You can manipulate large areas of text by defining the beginning and ending of a section and then performing operations on that block. To mark the beginning of a text block, place the cursor where you wish the block to begin and type ^kb. To mark the end of a text block, place the cursor where you wish the block to end and type ^kk. Now that the block is marked off, you can do the following: To delete the text block (or "yank" it), type ^ky. To move the text of the block to another location (so that it is removed from its original location), move the cursor to the point where you would like to move the text, and type ^km. To copy the text of the block to another location (without deleting the original text), move the cursor to the point where you would like to insert the copy, and type ^kc. To write (save) the text of the block to a new file, type ^kw. For most new users, joe should already be your default editor for programs such as elm and nn. If it is not, you can edit your configuration files to make joe the default: 1. Use joe to edit your .login.local file: joe ~/.login.local 2. Look for two lines that begin "setenv EDITOR" and "setenv VISUAL." Both of these lines should be in your local login file. Change them so that they look like the ones below. If either or both of the lines are missing, add them exactly as shown below.
3. Save the changes and exit (control k, then x). The changes will take effect the next time you log in. Quick Reference Last modified: 7/23/99 |
||||||||
| ||||||||
| ©Copyright 1999 — 2002 University of Rochester | ||||||||