^a Prompt for the decimal value of a character to insert. ^b Move to the bottom of the text. ^c Get the prompt for a command. ^d Move the cursor down. ^e Prompt for the string to search for. ^f Undelete the last deleted character. ^g Move to the beginning of the line. ^h Backspace. ^i Tab. ^j Insert a newline. ^k Delete the character the cursor is sitting on. ^l Move the cursor left. ^m Insert a newline. ^n Move to the next page. ^o Move to the end of the line. ^p Move to the previous page. ^r Move the cursor to the right. ^t Move to the top of the text. ^u Move the cursor up. ^v Undelete the last deleted word. ^w Delete the word beginning at the cursor position. ^x Search. ^y Delete from the cursor position to the end of line. ^z Undelete the last deleted line. ^[ (ESC) Pop up menu.
^a Move to the beginning of the line. ^b Back 1 character. ^c Command prompt. ^d Delete character the cursor is sitting on. ^e End of line. ^f Forward 1 character. ^g Go back 1 page. ^h Backspace. ^i Tab. ^j Undelete last deleted character. ^k Delete line. ^l Undelete last deleted line. ^m Insert a newline. ^n Move to the next line. ^o Prompt for the decimal value of a character to insert. ^p Previous line. ^r Restore last deleted word. ^t Move to the top of the text. ^u Move to the bottom of the text. ^v Move to the next page. ^w Delete the word beginning at the cursor position. ^y Prompt for the string to search for. ^z Next word. ^[ (ESC) Pop up menu.
! cmd Execute cmd in a shell. 0-9 Move to the line indicated. case Make searches case sensitive. character Display the ASCII value of the character at the cursor. exit Save the edited text, and leave the editor. expand Expand tabs to spaces. file Print the name of the file. help Display help screen. line Display the current line number. nocase Make searches insensitive to case (the default). noexpand Do not expand tab to spaces when the TAB key is pressed. quit Leave the editor without saving changes. read file Read the named file. write file Write the text to the named file.
leave editor If changes have been made, the user will get a menu prompting whether or not the changes should be saved. help Display a help screen, with all of the keyboard operations and commands. file operations Pop up a menu for selecting whether to read a file, write to a file, or save the current contents of the editor, as well as send the contents of the editor to a print command (see the section "Initializing ee from a file"). redraw screen Provide a means to repaint the screen if the screen has been corrupted. settings Show the current values of the operating modes, and right margin. By pressing return when the cursor is on a particular item, the value can be changed. To leave this menu, press the escape key. (See Modes below.) search Pop up a menu in which the user may choose to enter a string to search for, or search for a string already entered. miscellaneous Pop up a menu that allows the user to format the current paragraph, execute a shell command, or check the spelling of the text in the editor.
Paragraphs are defined for ee by a block of text bounded by: Begin or end of file. Line with no characters, or only spaces and/or tabs. Line starting with a period (.) or right angle bracket (>).
A paragraph may be formatted two ways: explicitly by choosing the
format paragraph menu item, or by setting ee to automatically format paragraphs. The automatic mode may be set via a menu, or via the initialization file.
There are three states for text operation in
ee: free-form, margins, and automatic formatting.
"Free-form" is best used for things like programming. There are no restrictions on the length of lines, and no formatting takes place.
"Margins" allows the user to type in text without having to worry about going beyond the right margin (the right margin may be set in the
settings menu, the default is for the margin to be the right edge of the terminal). This is the mode that allows the format paragraph menu item to work.
"Automatic formatting" provides word-processor-like behavior. The user may type in text, while
ee will make sure the entire paragraph fits within the width of the terminal every time the user inserts a space after typing or deleting text. Margin observation must also be enabled in order for automatic formatting to occur.
Although ee is a modeless editor (it is in text insertion mode all the time), there are modes in some of the things it does. These include:
tab expansion Tabs may be inserted as a single tab character, or replaced with spaces. case sensitivity The search operation can be sensitive to whether characters are upper- or lower-case, or ignore case completely. margins observed Lines can either be truncated at the right margin, or extend on forever. auto paragraph formatting While typing in text, the editor can try to keep it looking reasonably well within the width of the screen. eightbit characters Toggle whether eight bit characters are displayed as their value in angle brackets (e.g. "<220>") or as a character. info window A window showing the keyboard operations that can be performed can be displayed or not. emacs keys Control keys may be given bindings similar to emacs, or not. 16 bit characters Toggles whether sixteen bit characters are handled as one 16-bit quantities or two 8-bit quantities. This works primarily with the Chinese Big 5 code set.
case Set searches to be case sensitive. nocase Set searches to be insensitive to case (default). expand Cause ee to expand tabs to spaces (default). noexpand Cause ee to insert tabs as a single character. info A small information window is displayed at the top of the terminal (default). noinfo Turn off the display of the information window. margins Cause ee to truncate lines at the right margin when the cursor passes beyond the right margin as set by the user while text is being inserted (default). nomargins Allow lines to extend beyond the right margin. autoformat Cause ee to automatically try to format the current paragraph while text insertion is occurring. noautoformat Turn off automatic paragraph formatting (default). printcommand Allow the setting of the print command (default: "lp"). rightmargin The user can select a value for the right margin (the first column on the screen is zero). highlight Turn on highlighting of border of information window and menus (default). nohighlight Turn off highlighting of border of information window and menus. eightbit Turn on display of eight bit characters. noeightbit Turn off display of eight bit characters (they are displayed as their decimal value inside angle brackets, e.g., "<220>"). 16bit Turns on handling of 16-bit characters. no16bit Turns off handling of 16-bit characters. emacs Turns on emacs key bindings. noemacs Turns off emacs key bindings.
The software ee was developed by .An Hugh Mahon .
This software and documentation contains proprietary information which is protected by copyright. All rights are reserved.
Copyright (c) 1990, 1991, 1992, 1993, 1995, 1996 Hugh Mahon.
ispell 1( ports/textproc/ispell), lpr(1), spell(1), termcap(5), terminfo(5),