Use a Real Editor! Using Emacs. Session Goals To understand why we use Emacs To understand how you can use Emacs to enhance your productivity in editing.

Slides:



Advertisements
Similar presentations
CS 497C – Introduction to UNIX Lecture 8: The vi/vim Editor Chin-Chih Chang
Advertisements

Mainframe-caliber tools for UNIX Treehouse Software, Inc.
MACROS CS1100 Computer Science and its Applications CS11001.
OU Educate: Implementation of a New WYSIWIG Tool for Maintenance of Personal Web Pages Mary Schoeler David McQuin Kathi Dutton Don Michaels May 25, 2005.
Introduction to the gedit editor. gedit: the Gnome editor Gnome: Gnome is a freely available (i.e., no cost) desktop environment for the UNIX system The.
CIS 240 Introduction to UNIX Instructor: Sue Sampson.
Java Programming Working with TextPad. Using TextPad to Work with Java This text editor is designed for working with Java You can download a trial version.
CS 497C – Introduction to UNIX Lecture 17: - The GNU emacs Editor Chin-Chih Chang
Vi Editor TA for ITIS3100: Xu Fei
Linux+ Guide to Linux Certification, Second Edition
1 Using Editors Editors let you create and edit ASCII files UNIX normally includes two editors: vi and Emacs Vi and Emacs are screen editors: they display.
Guide to Linux Installation and Administration, 2e1 Chapter 6 Using the Shell and Text Files.
CSCI 243: C & UNIX Kirk Anne South 124A
CS465 - UNIX The vi Editor. Creating Files Most human-readable files on Unix are created with a text editor Unix has many, many different editors ed a.
1 Macros Presented by Maria G. Martinez. 2 What's a macro?  Macro - set of computer instructions that you can record and associate with a shortcut key.
Ch 71 Using ATTRIB, SUBST, XCOPY, DOSKEY, and the Text Editor.
CSCI 330 T HE UNIX S YSTEM Editing files. E DITOR C ONCEPTS Editing a file is to modify the content of a file Text editor: Enter and modify text in a.
謝耀偉編著 國立高雄大學應用數學系 Living in Emacs DeveloperWorks, IBM.
CENT 305 Information Systems Security Linux Introduction.
EDITORS Lab 1 EECS 448 Dr. Fengjun Li and Meenakshi Mishra.
Ch 101 Chapter 10 Introduction to Batch Files. Ch 102 Overview A batch file is a text file that contains an ordered series of commands.
Chapter Three The UNIX Editors. 2 Lesson A The vi Editor.
Linux+ Guide to Linux Certification, Third Edition
CS240 Computer Science II Introduction the Unix File System and File Related Utilities Based on “UNIX for Programmers and Users” by G.Class and K. Ables.
ME 142 Engineering Computation I Macros. Key Concepts Macro Overview Recording a Macro Running a Macro Editing a Macro.
Intro. To Unix commands For those who’ve never used Unix before Quick tutorial to let you move around your Unix Accounts No discussion of inner workings.
Week 3 Exploring Linux Filesystems. Objectives  Understand and navigate the Linux directory structure using relative and absolute pathnames  Describe.
CSCI N241: Fundamentals of Web Design Copyright ©2004  Department of Computer & Information Science Tools of Web Development 2: The Emacs Editor.
1 © 2014 John Urrutia. All rights reserved. Chapter 7 The “ Emacs “ Editor.
UNIX Intro vi  vi is the standard UNIX text editor v Contents 1.Why use vi ? 2. vi Basics 3.Moving Around 4.Inserting Text.
Editors And Debugging Systems Other System Software Text Editors Interactive Debugging Systems UNIT 5 S.Sharmili Priyadarsini.
4 Editing files and Emacs Editing files The Emacs editor.
Chapter 5 Editing Text Files. Basic Concept A text editor works on a file buffer that is a memory copy of a disk file The disk file is not updated until.
Unix Editors. u Editors in Unix come in two general flavours: –modal editors have "modes" v generally input mode and command mode –input mode allows entry.
Unix Session IV.
Introduction to Unix – CS 21 Lecture 7. Lecture Overview Regular expressions revisited emacs versus vi Basic emacs and vi usage.
EMACS Jim Vallino Proud emacs user since The truth about editors Editors are like religions. Everyone has one that they like.
Text Editing February 2 nd, 2004 Class Meeting 3.
VI EDITOR University of Mississippi. Vi Editor What is Vi ? ▫Vi is a screen based editor. ▫The screen of your terminal will act as a window into the file.
Window’s Edit Tools. Cut To remove an object from a document and place it in a buffer. In word processing, for example, cut means to move a section of.
Chapter 9 Using Text Editors. vi Editor visual Editor, ASCII text editor, no formatting capabilities almost as powerful as MS Word, has 26 clipboards.
Getting Started with Linux Linux System Administration Editors.
Chapter Three The UNIX Editors.
Isecur1ty training center Presented by : Eng. Mohammad Khreesha.
Lecture 5 Page 1 CS 111 Online Processes CS 111 On-Line MS Program Operating Systems Peter Reiher.
Text editing and more basic commands CS 2204 Class meeting 3 *Notes by Doug Bowman and other members of the CS faculty at Virginia Tech. Copyright
Agenda Using vi Editor Starting vi Session Command / Input Modes Entering Text Editing Text Saving Edited File Aborting Editing Session.
Editing, vi and Configuration Files Unix/IP Preparation Course July 19, 2009 Eugene, Oregon, USA
THE UNIX SYSTEM Jan Recitation 2 Introduction to Networking.
Unix Servers Used in This Class  Two Unix servers set up in CS department will be used for some programming projects  Machine name: eustis.eecs.ucf.edu.
Linux+ Guide to Linux Certification, Second Edition Chapter 4 Exploring Linux Filesystems.
Introduction to Emacs (a Unix, Linux, and Windows text editor)
Getting Started with Linux Linux System Administration Editors.
CS 120 Extra: The CS1 Server Tarik Booker CS 120.
ITX2000 Remote hosts and web servers Prof. Xiaohong (Sharon) Gao Room: T125 Ext: Week 14 – UNIX vi text editor.
CSCI N241: Fundamentals of Web Design Copyright ©2004  Department of Computer & Information Science Tools of Web Development 1: Module D: Using Emacs.
Chapter 3: Mastering Editors Chapter 3 Mastering Editors (Emacs)
UNIX The Basics Source:
Guide To UNIX Using Linux Third Edition
Introduction to Programming the WWW I
Linux System Administration Editors
Text Editors Vim (Chapter 6) Emacs (Chapter 7)
You do want to create and edit programs?
IOTA HOW TO START BUILDING.
Linux and TCP/IP Networking
Introduction to Emacs J. Caldwell, N. McCaw, D. Powell
Linux Operations and Administration
The Emacs Editor Read: Forouzan, Appendix C
CSCI The UNIX System Editing files
Presentation transcript:

Use a Real Editor! Using Emacs

Session Goals To understand why we use Emacs To understand how you can use Emacs to enhance your productivity in editing To learn the basic Emacs commands To learn how to work with multiple buffers To learn how Emacs can be used as a work environment

NO MORE NOTEPAD! Notepad does not give you the power of a full- fledged programming editor Notepad lacks the tools need to write effective code (proper indention, macros, etc.) Notepad requires that you do everything locally and then FTP

Other Editors Other Unix Editors Pico (primitive; not good for programming) Vi (quite powerful; difficult to learn) Other Windows Editors Jext Emacs for Windows

Why Learn Emacs? Emacs is good for programming Emacs is pervasive Emacs is free Emacs is powerful Emacs can increase productivity

The Good, The Bad & The Ugly Can be challenging to learn Requires memorization Learning curve pays for itself in the end!

The Emacs Screen Minibuffer Buffer Mode Line

Using Control Key Keystrokes Used as a part of a combination Hold DOWN the control key when using a Control-key combination Usually abbreviated: “C-x C-s”

The Meta Key Key on the “virtual” keyboard Mapped differently from computer to computer Windows: Macintosh: Unix:

The Meta Key Used as part of a combination PRESS AND RELEASE the meta key before pressing the second key of the combination Usually abbreviated: “M-x %”