8000 minix/man/man1x/elle.1x at R3.1.3 · ledinhminh/minix · GitHub
[go: up one dir, main page]

Skip to content

Latest commit

 

History

History
557 lines (557 loc) · 15.2 KB

elle.1x

File metadata and controls

557 lines (557 loc) · 15.2 KB
ESC N Mark a buffer as NOT modified (even if it really is)
.sp
.ti -1.5i
\fBUPPER AND LOW CASE MANIPULATION\fR
.ti -1.25i
ESC I Set first character of word to upper case
.ti -1.25i
ESC C Capitalize current word
.ti -1.25i
ESC O Make current word ordinary (i.e., lower case)
.ti -1.25i
ESC U Set entire region between mark and cursor to upper case
.ti -1.25i
ESC L Set entire region between mark and cursor to lower case
.sp
.ti -1.5i
\fBMISCELLANEOUS\fR
.ti -1.25i
ESC F Find file and read it into its own buffer
.ti -1.25i
ESC Z Incremental search
.ti -1.25i
ESC Q Like CTRL-R, but queries at each occurrence (type ? for options)
.ti -1.25i
ESC R Reset the user profile from a file
.ti -1.25i
ESC H Help (ELLE prompts for the 1 or 2 character command to describe)
.ti -1.25i
ESC ; Insert a comment in a C program (generates /* */ for you)
.ti -1.25i
^X X Exit the editor (same as ESC X and CTRL-X CTRL-X)
.in -1.75i
.fi
.sp
The major differences between ELLE
with the \fImined\fR profile and \fImined\fR itself are:
.sp
.nf
.in +0.25i
1. The definition of a \*(OQword\*(CQ is different for forward and backward word
2. The mark is set with CTRL-^ instead of CTRL-@
3. Use CTRL-G to abort a command instead of CTRL-\\
4. Use CTRL-\ to literally insert the next character, instead of ALT
5. CTRL-E adjusts the window to put the cursor in the middle of it
6. To get and insert a file, use ESC G instead of CTRL-G
7. To go to line n, type ESC n CTRL-[ instead of CTRL-[ n
8. You exit with CTRL-X CTRL-X and then answer the question with \*(OQy\*(CQ.
9. There are many new commands, windows, larger files, etc.
.fi
.in -0.25i
.sp
.SS "Emacs Key Bindings"
.PP
If you do not have the \fImined\fR profile installed, you get the standard
Emacs key bindings.
These are listed below.
Commands not listed are not implemented.
.sp
.in +1.75i
.ta +1.25i
.ti -1.5i
\fBCURSOR MOVEMENT\fR
.ti -1.25i
CTRL-F Forward one character.
.ti -1.25i
CTRL-B Backward one character.
.ti -1.25i
CTRL-H Same as CTRL-B: move backward one character.
.ti -1.25i
ESC F Forward one word.
.ti -1.25i
ESC B Backward one word.
.ti -1.25i
CTRL-A Beginning of current line.
.ti -1.25i
CTRL-E End of current line.
.ti -1.25i
CTRL-N Next line (goes to the next line).
.ti -1.25i
CTRL-P Previous line (goes to the previous line).
.ti -1.25i
CTRL-V Beginning of next screenful.
.ti -1.25i
ESC V Beginning of previous screenful.
.ti -1.25i
ESC ]~ Forward Paragraph.
.ti -1.25i
ESC [~ Backward Paragraph.
.ti -1.25i
ESC < Beginning of whole buffer.
.ti -1.25i
ESC > End of whole buffer.
.sp
.ti -1.5i
\fBDELETING\fR
.ti -1.25i
CTRL-D Deletes forward one character (the one the cursor is under).
.ti -1.25i
DELETE Deletes backward one character (the one to left of cursor).
.ti -1.25i
ESC D Kills forward one word.
.ti -1.25i
ESC DEL Kills backward one word.
.ti -1.25i
CTRL-K Kills the rest of the line (to the right of the cursor).
.ti -1.25i
ESC \\ Deletes spaces around the cursor.
.ti -1.25i
^X CTRL-O Deletes blank lines around the cursor.
.sp
.ti -1.5i
\fBCASE CHANGE\fR
.ti -1.25i
ESC C Capitalizes word : first letter becomes uppercase; rest lower
.ti -1.25i
ESC L Makes the whole next word lowercase.
.ti -1.25i
ESC U Makes the whole next word uppercase.
.ti -1.25i
^X CTRL-L Makes whole region lowercase.
.ti -1.25i
^X CTRL-U Makes whole region uppercase.
.sp
.ti -1.5i
\fBSEARCHING\fR (If no string is given, previous string is used)
.ti -1.25i
CTRL-S Incremental Search forward; prompts \*(OQI-search:\*(CQ
.ti -1.25i
CTRL-R Reverse Incremental Search; prompts \*(OQR-search:\*(CQ
.HS
During an incremental search, the following characters have special effects:
.HS
.in +1.2i
.ta +1.0i +0.2i
.ti -1.2i
\*(OQnormal\*(CQ - Begin searching immediately.
.ti -1.2i
^G - Cancel I-search, return to start.
.ti -1.2i
DEL - Erase last char, return to last match.
.ti -1.2i
^S, ^R - Repeat search (or change direction).
.ti -1.2i
ESC or CR - Exit I-search at current point.
.sp
.in -1.2i
.ta +1.25i
.ti -1.25i
ESC % Query Replace. Interactive replace. Type \*(OQ?\*(CQ to see options.
.ti -1.25i
^X % Replace String. Like Query Replace, but not interactive
.sp
.ti -1.5i
\fBMARKING AREAS\fR
.ti -1.25i
CTRL-^ Set mark
.ti -1.25i
^X CTRL-X Exchange cursor and mark.
.ti -1.25i
ESC H Mark Paragraph. Sets mark and cursor to surround a para.
.ti -1.25i
CTRL-W Wipe-out -- kills a \*(OQregion\*(CQ:
.ti -1.25i
ESC W Copy region. Like CTRL-W then CTRL-Y but modifies buffer
.ti -1.25i
CTRL-Y Yanks-back (un-kills) whatever you have most recently killed.
.ti -1.25i
ESC Y Yanks-back (un-kills) the next most recently killed text.
.ti -1.25i
ESC CTRL-W Append Next Kill. Accumulates stuff from several kills
.sp
.ti -1.5i
\fBFILLING TEXT\fR
.ti -1.25i
ESC Q Fill the paragraph to the size of the Fill Column.
.ti -1.25i
ESC G Fill the region.
.ti -1.25i
^X F Set Fill Column. ESC Q will use this line size.
.ti -1.25i
^X . Set Fill Prefix. Asks for prefix string
.ti -1.25i
^X T Toggles Auto Fill Mode.
.sp
.ti -1.5i
\fBWINDOWS\fR
.ti -1.25i
^X 2 Make two windows (split screen).
.ti -1.25i
^X 1 Make one window (delete window) (make one screen).
.ti -1.25i
^X O Go to Other window.
.ti -1.25i
^X ^ Grow window: makes current window bigger.
.sp
.ti -1.5i
\fBBUFFERS\fR
.ti -1.25i
^X CTRL-F Find a file and make a buffer for it.
.ti -1.25i
^X B Select Buffer: goes to specified buffer or makes new one
.ti -1.25i
^X CTRL-B Show the names of the buffers used in this editing session.
.ti -1.25i
^X K Kill Buffer.
.ti -1.25i
ESC tilde Say buffer is not modified.
.ti -1.25i
^X CTRL-M Toggle EOL mode (per-buffer flag).
.sp
.ti -1.5i
\fBKEYBOARD MACRO\fR
.ti -1.25i
^X ( Start collecting a keyboard macro.
.ti -1.25i
^X ) Stop collecting.
.ti -1.25i
^X E Execute the collected macro.
.ti -1.25i
^X * Display the collected macro.
.sp
.ti -1.5i
\fBFILES\fR
.ti -1.25i
^X CTRL-I Insert a file where cursor is.
.ti -1.25i
^X CTRL-R Read a new file into current buffer.
.ti -1.25i
^X CTRL-V Same as ^X ^R above (reads a file).
.ti -1.25i
^X CTRL-W Write buffer out to new file name.
.ti -1.25i
^X CTRL-S Save file: write out buffer to its file name.
.ti -1.25i
^X CTRL-E Write region out to new file name.
.sp
.ti -1.5i
\fBMISCELLANEOUS\fR
.ti -1.25i
^X CTRL-Z Exit from ELLE.
.ti -1.25i
^X ! Escape to shell (CTRL-D to return)
.ti -1.25i
CTRL-O Open up line
.ti -1.25i
LINEFEED Same as typing RETURN and TAB.
.ti -1.25i
CTRL-T Transposes characters.
.ti -1.25i
ESC T Transposes words.
.ti -1.25i
CTRL-U Makes the next command happen four times.
.ti -1.25i
CTRL-U number Makes the next command happen \*(OQnumber\*(CQ times.
.ti -1.25i
ESC number Same as CTRL-U number.
.ti -1.25i
CTRL-L Refreshes screen.
.ti -1.25i
CTRL-U CTRL-L Refresh only the line cursor is on.
.ti -1.25i
CTRL-U n CTRL-L Change window so the cursor is on line n
.ti -1.25i
CTRL-Q Quote: insert the next character no matter what it is.
.ti -1.25i
CTRL-G Quit: use to avoid answering a question.
.ti -1.25i
ESC ; Inserts comment (for writing C programs).
.ti -1.25i
ESC I Inserts indentation equal to previous line.
.ti -1.25i
ESC M Move to end of this line's indentation.
.ti -1.25i
CTRL-_ Describe a command (if the command database is online)
.sp
.ti -1.5i
\fBUNUSED CONTROLS\fR
.ti -1.25i
CTRL-C Not used.
.ti -1.25i
CTRL-Z Not used.
.ti -1.25i
CTRL-] Not used.
.fi
.in -1.75i
.sp
.SP 0.5
.SS "ELLE profile"
.PP
It is possible to create your own user profile.
The mechanism is different from Emacs, since ELLE does not have Mock Lisp.
Proceed as follows.
.LI
.IT
Modify \fI.ellepro.e\fR to suit your taste.
.IT
Install \fI.ellepro.e\fR in your home directory.
.IT
Type:
.HS
.Cx "ellec \(enProfile"
.HS
.IT
Check to see if \fI.ellepro.b1\fR has been created.
If it has, you are ready to go.
.LX
.SS "Author"
.PP
ELLE was written by Ken Harrenstien of SRI (klh@sri.com).
0