ACCC Home Page ACADEMIC COMPUTING and COMMUNICATIONS CENTER
Accounts / Passwords Email Labs / Classrooms Telecom Network Security Software Computing and Network Services Education / Teaching Getting Help
 

Joe's Own Editor 2.8

   
 
     
Overview
  JOE is freeware. It is an ASCII text screen editor for UNIX and it makes full use of the power and versatility of UNIX. JOE has the feel of most IBM PC text editors: The key-sequences are reminiscent of WordStar and Turbo-C. JOE has all of the features a UNIX user should expect: full use of termcap/terminfo, excellent screen update optimizations, and all of the UNIX-integration features of VI.

JOE's initialization file determines much of JOE's personality and the name of the initialization file is simply the name of the editor executable followed by "rc". JOE comes with four "rc" files in addition to the basic "joerc", which allow it to emulate these editors
  • JPICO - An enhanced version of the Pine mailer system's PICO editor.
  • JSTAR - A complete immitation of WordStar including many "JOE" extensions.
  • RJOE - A restricted version of JOE which allowed you to edit only the files specified on the command line.
  • JMACS - An immitation of GNU-EMACS.
 
     
Starting Joe
 

To start joe, type joe at your prompt. To edit a file, type joe filename. The upper left-hand side of the screen shows 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 (CTRL) and k, then let go of both keys and press h. This key combination will be written as ^kh. To toggle the help screen off, repeat with ^kh.

 
     
Editing
 

Working with Blocks of Text

You can manipulate large areas of text by defining the beginning and ending of a section and then performing operations on that block.

Mark Beginning
Place the cursor where you wish the block to begin and type ^kb.
Mark End
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:

Delete
To delete the text block (or yank it), type ^ky.
Move
To move the text of the block to another location (so that it is removed from its original location), position the cursor at the new location (where you would like to move the text) and type ^km.
Copy Text
To copy the text of the block to another location (without deleting the original text), position the cursor at the new location (where you want to insert the copy) and type ^kc.
Write
To write (save) the text of the block to a new file, type ^kw.
 
     
Quick Reference
   
     
-- Movement
 

^b......................Scroll left
^f......................Scroll right
^x .....................Forward a word
^a .....................To left edge (of line)
^e..................... To right edge
^p..................... Line up
^n..................... Line down
^u..................... Screen up
^ku................... Top of Document
^v..................... Screen down
^kv ...................End of Document
^kl.................... Goto line #

 
     
-- Find & Replace
 

^k^f................... Find text
^kf ....................Find Next

 
     
-- Block
 

^kb.................. Mark beginning of block
^kk.................. Mark end of block
^kc ...................Copy block
^km .................Move block
^kw................. Save block
^ky ..................Erase block
^ko.................. Substitute block

 
     
-- Deleting
 

^d .....................Delete highlighted character
^w ....................Delete word: right
^o .....................Delete word: left
^j ......................Delete to the end of the line
^y..................... Delete whole line
^k- ...................Undo delete
^k+................... Redo delete

 
     
-- Miscellaneous
 

^t ......................Set format (margins, etc.)
^l ......................Redraw screen
^ka ....................Center words in line
^kj ....................Format line to margins
^z ......................Suspend (to prompt)
^k, ....................Indent to left (pushes text to left)
^k. ....................Indent to right (pushes text to right)

 
     
-- Window Control
 

^ko ....................Split window
^kp ....................Switch to top window
^kn ....................Switch to bottom window
^kg ...................Grow size of current window
^kt .....................Shrink size of current window
^c ......................Close window

 
     
-- Macros
 

^k[ .....................Start recording a macro
^k] .....................Stop recording a macro
^k/ .....................Play a macro
^k= ....................Repeat a macro

 
     
-- File Functions
 

^kd .....................Save file
^kr .....................Insert a file
^ke .....................Open new file

 
     
-- Exit
 

^kx .....................Save and exit
^c .......................Exit (without save)

 


2003-3-26  ACCC Systems Staff
UIC Home Page Search UIC Pages Contact UIC