Monday, March 31, 2014

                                                                 EMAC                  

—*Emacs Text editor is a popular & powerful program that is available on many platforms. Ex: UNIX, DOS, Windows 9x and NT, and  OS/2.
—*Emacs -extensible, customizable, self-documenting real-time display editor-GNU
*—Unlike vi, emacs is not an insertion mode editor, -character typed in emacs is automatically inserted into the file.
   
                                             FEATURES
 1.simpler to use than vi
2.editing and viewing multiple files at one time
3.spell checking
4.compiling programs from within Emacs
5.automatic indention of programs
6.a powerful macro language that may be used to extend the functions of Emacs
                                    Emacs-History
1. Emacs -created by Richard Stallman in 1975.
—2.GNU Emacs is the most popular version of Emacs and is directly derived from Stallman's original version.
3.The GNU (Gnu is Not UNIX) project - associated with Stallman's Free Software Foundation.
4.There are other versions of Emacs that are not free.

                                  How to Start

1.To run Emacs, type at the UNIX prompt :
            emacs  file_to_edit
2. Emacs will be run and start editing the file specified.
                   
                          BASICS   

1.         The mode line is the one that is next to the last line from  the bottom and will be highlighted.
2.—       This line divides the editing portion of the screen from the command line at the very bottom.
3.—      When a file is loaded into Emacs, it is loaded into a buffer. Buffers are edited, not files.
—4.     The mode line shows the name of the buffer.
5.—     To update the actual file, the buffer must be saved.
—6.      Emacs will prompt the user to save any modified buffers when it exits.
7.      Emacs maintains a backup file when a file is saved. The backup file is a copy of the last version of the file.
8.—       Its name is the original file name with a tilde (~) appended to the end.
9.—     One other distinction between emacs and vi is that emacs allows you to edit several files at once.
10.—   The window for emacs can be divided into several windows, each of which contains a view into a buffer.
11.—   Each buffer typically corresponds to a different file.

                         Emacs commands

The user uses special keys to send commands to Emacs.
—* Commands in emacs are either control characters (hold down the <Ctrl> key while typing another character) or are prefixed by one of a set of reserved characters: <Esc> or <Ctrl>-X.
*— The (Meta Key) <Esc> key can be typed by itself (because it really is a character) and then followed by another character;
—*The <Ctrl> key must be held down while the next character is being typed.

                       
 

         




No comments:

Post a Comment