Different types of Editors in Linux

BhavikTrivedi1 16,575 views 15 slides Dec 03, 2014
Slide 1
Slide 1 of 15
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15

About This Presentation

There are 5 main types of editors in Linux. For know them, show the slide!


Slide Content

DIFFERENT TYPES OF EDITORS IN LINUX By, BHAVIK TRIVEDI

OUTLINES 1 Why use an editor? Types of editors Vi / Vim editor gEdit editor Pico editor Nano editor Emacs Editor Other types of editors Voting of favourite editor used frequently

OUTLINES 1 2 WHY USE AN EDITOR? An editor is just like a word processor without lot of features. All Oses come with a basic text editor. Main use – writing something in plain text with no formatting so another program can read it. Most popular text editor for Linux is called ‘Vi’. It is a program that comes from UNIX. There is more recent version called ‘VIM’ which means ‘Vi IMproved’. Problem with Vi/Vim – lot of people don’t like it, because of you have to remember a lot of key combinations to do stuff that other editors will do for you more easily.

3 TYPES OF EDITORS Vi / Vim gEdit Nano gVim Emacs …… . etc.

4 Vi / Vim Editor Written in : C and Vim Script Operating System : Cross-platform (Unix, Linux and Windows) Author : Bram Moolenar First Vim editor built in 1991 . Vim is designed for use both from a command-line interface (CLI) and as a standalone application in a graphical user interface (GUI) . gVim is the graphical version of the famous Vim editor.

Vi / Vim Editor 5 For create file in Vim, just type vi file-name and hit enter key. A new file will be opened. Type the contents and then save that file. To save, press the Esc key and then press : w q ‘enter key’ To quit with out saving Esc + : + q and then enter

Vi / Vim Editor C program in Linux Vi hello.c Type the contents and save (Esc :wq!) 2. Compile the file Gcc hello.c 3. Run the executable ./a.out 4. Compile file with output option gcc –o hello hello.c 5. Run the executable ./hello 6

gEdit Editor 7 gEdit is the default editor for the Gnome desktop environment. This is a UTF-8 compatible editor. Written in : C, Python Operating System : Cross-Platform It has simple and clear GUI. gEdit has feature like syntax highlighting for various program code and text markup formats. It has also some unique feature like multiple working tabs, multilanguage spellchecking , supports printing , print preview and printing to PDF files.

Pico Editor 8 This console based plain text editor operates with the simplicity of a GUI editor making it a favourite with Linux beginners. Pico ( Pi ne Co mposer) comes with the Pine email client. Pico’s interface is many way similar to Windows editors, like Notepad . Pine stands for P rogram for I nternet N ews & E mail. It is a tool for reading, sending, and managing electronic messages. Easy to learn than Vi, gEdit, etc. Pine was developed by UW Technology at the University of Washington .

Nano Editor This is a GNU clone of Pico editor. GNU Nano is a small and friendly text editor. Besides basic text editing, nano offers many extra features like an interactive search and replace, go to line and column number, auto-indentation, feature toggles, internationalization support, and filename tab completion. In contrast to Pico, Nano is licensed under the GNU General Public License (GPL). GNU Nano was first created in 1999 with name TIP (This isn’t Pico) by Chris Allegretta. 9

Emacs Editor This console based plain text editor supports the theory that more is better. It tries to support every feature possible. First Release of Emacs was in the year 1976. Written in : C and Emacs lisp Operating System: Cross-platform 10

Other types of editors 11 Mainly 3 types of editors. 1. console based editors 2. GUI based editors 3. Structure text editors 1. console based editors : it contains various editors like emacs, jed, nano, pico, vim. 2. GUI based editors : gedit, gvim, Nedit, Tea, sublime. 3. Structure text editors : It refers to logically formatted and/or annotated text to represent a data schema or programmatic function. Two common formats available today are HTML for web markup of text documents and XML for data representation. HTML editors : kompozer, bluefish, quanta, aptana, coffecup XML editos : KXML editor, Oxygen XML, Eclipse, Conglomerate XML, Emacs nXML mode.

Voting of favourite editor used frequently 12

[1] http://www.thegeekstuff.com/2009/07/top-5-best-linux-text-editors/ [2] www.wikipedia.com [3] www.google.com References 13

THANK YOU! 14
Tags