CSCI N241: Fundamentals of Web Design Copyright ©2004  Department of Computer & Information Science Tools of Web Development 1: Module D: Using Emacs.

Slides:



Advertisements
Similar presentations
Using PeopleSoft’s User Productivity Kit (UPK)
Advertisements

CS 497C – Introduction to UNIX Lecture 8: The vi/vim Editor Chin-Chih Chang
EDIT MODE The HAAS Control Series PRESS THREE TIMES TO GET TO THIS PAGE (Continued on next slide) Note: SLIDE LEGEND ACTIONS INSTRUCTIONS KEYS INFORMATION.
A Guide to Unix Using Linux Fourth Edition
Click your mouse to continue Menu Conventions A check mark option is a toggle or “on-off” switch (like a light switch) that is either checked (turned on)
XP Exploring the Basics of Microsoft Windows XP1 Exploring the Basics of Windows XP.
Vi Editor TA for ITIS3100: Xu Fei
Linux+ Guide to Linux Certification, Second Edition
CS 202 Computer Science II Lab Fall 2009 September 3.
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.
ABC’s of PowerPoint (Office 2007) Part 1: Basic Vocabulary Part 2: Cursors Part 3: Insert Your Text Part 4: Insert Your Pictures Part 5: Basic Tools &
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.
Vocabulary Crossword 2-1 Vocabulary Crossword Puzzle 2-1 Click mouse to advance slides. Press Esc key to close presentation.
Access Tutorial 10 Automating Tasks with Macros
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.
CS110/CS119 Introduction to Computing (Java)
1 Unix Text Editors Creating files on the Unix system.
Software GCSE ICT.
CS 0004 –Lecture 1 Wednesday, Jan 5 th, 2011 Roxana Gheorghiu.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Introduction to Computers CS1100 Dr. Zhizhang Shen Chapter 2: Between the.
EMACS To quote the Emacs Manual: Emacs is the extensible, customizable, self- documenting real-time display editor. Emacs is an editor for plain-text,
Chapter Three The UNIX Editors. 2 Lesson A The vi Editor.
Course materials may not be reproduced in whole or in part without the prior written permission of IBM. 5.1 © Copyright IBM Corporation 2008 Unit 7 Editing.
Output Design. Output design  Output can be: Displayed on a screen/VDU/monitor. Printed on paper as hard copy. Sound.
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.
Computer Operating Systems Unit 1 – BTA 3O Chytra.
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 9 Macros And Visual Basic For Applications.
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.
Text editors Why should I use an editor ? It is very important to able to use at least one text mode editor a text mode editor is so useful on remote machines.
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.
Tony Kombol.  Why text edit?  Many programs and features require configuration ▪ Configuration is kept in files ▪ Usually in the /etc directory  Changes.
Unix Session IV.
CSCI-1411 F UNDAMENTALS O F C OMPUTING L AB Shane Transue Spring
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.
1 of 47 Chapter 4: The vi Editor – First Look Copyright ©2008 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights reserved.
Chapter Three Text Editing1 System Programming Text Editing.
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.
Introduction to Unix (CA263) File Editing By Tariq Ibn Aziz.
Chapter Three The UNIX Editors.
Isecur1ty training center Presented by : Eng. Mohammad Khreesha.
Lesson: 2 Common Features and Commands After completing this lesson, you will be able to: Identify the main components of the user interface. Identify.
UNDERSTANDING “THE RIBBON” Bonnie Powell Assistant Administrative Computer Network Coordinator.
Bian Chong (Brian), KHO Supervisor: Linda McIver Second Reader: Jon McCormack.
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.
Linux+ Guide to Linux Certification, Second Edition Chapter 4 Exploring Linux Filesystems.
Introduction to Emacs (a Unix, Linux, and Windows text editor)
Word 2010 Text Basics In this lesson you'll learn the basics of working with text, including how to insert, delete, select, copy, cut, paste, and replace.
Getting Started with Linux Linux System Administration Editors.
Chapter Getting Functional with Tally.ERP 9.
ITX2000 Remote hosts and web servers Prof. Xiaohong (Sharon) Gao Room: T125 Ext: Week 14 – UNIX vi text editor.
Basic VI Tran, Van Hoai Faculty of Computer Science and Engineering HCMC Uni. of Technology
GCSE ICT User Interfaces. User interfaces The way in which the user of a computer communicates with the machine is called the Human- Computer Interface.
Chapter 3: Mastering Editors Chapter 3 Mastering Editors (Emacs)
Allows the user and the computer to communicate with each other.
Guide To UNIX Using Linux Third Edition
Unix Fundamentals - Part iii vi Editor
Text Editors Vim (Chapter 6) Emacs (Chapter 7)
Emacs CSC 135.
CSCI The UNIX System Shell Startup and Variables
C151 Multi-User Operating Systems
Linux Operations and Administration
The Emacs Editor Read: Forouzan, Appendix C
CSCI The UNIX System Editing files
Day 5 Emacs Editor David A. Gaitros Department of Computer Science
Fundamentals of Computer Hardware & software
Presentation transcript:

CSCI N241: Fundamentals of Web Design Copyright ©2004  Department of Computer & Information Science Tools of Web Development 1: Module D: Using Emacs

N241: Fundamentals of Web Development Copyright ©2004  Department of Computer & Information Science Why learn a text editor? Text editors are the lifeblood of programmingText editors are the lifeblood of programming You’ll need to be able to easily cut, paste, import, modify, automate textYou’ll need to be able to easily cut, paste, import, modify, automate text You need to be able to do this on any environment, even unixYou need to be able to do this on any environment, even unix

N241: Fundamentals of Web Development Copyright ©2004  Department of Computer & Information Science Why Emacs? Not the only good choiceNot the only good choice (VI, VIM are other good options)(VI, VIM are other good options) Works on many platformsWorks on many platforms Works with or without a GUIWorks with or without a GUI Extremely powerfulExtremely powerful

N241: Fundamentals of Web Development Copyright ©2004  Department of Computer & Information Science Basic Emacs Assumptions No mouse!No mouse! No particular keyboardNo particular keyboard No particular GUI environmentNo particular GUI environment Runs through telnet (as well as directly)Runs through telnet (as well as directly)

N241: Fundamentals of Web Development Copyright ©2004  Department of Computer & Information Science Keyboard commands Much more reliable without a mouseMuch more reliable without a mouse Much faster for experienced usersMuch faster for experienced users Harder to memorize, but most have mneumonicsHarder to memorize, but most have mneumonics

N241: Fundamentals of Web Development Copyright ©2004  Department of Computer & Information Science Control combinations Most keyboards have a control keyMost keyboards have a control key Most important commands are mapped to controlMost important commands are mapped to control Abbreviation in emacs is c-Abbreviation in emacs is c- Ctl-h (help) is usually indicated c-hCtl-h (help) is usually indicated c-h

N241: Fundamentals of Web Development Copyright ©2004  Department of Computer & Information Science Emergency Exit command If in doubt, use Ctrl-G (c-g)If in doubt, use Ctrl-G (c-g) It’s the ‘get me out of here’ commandIt’s the ‘get me out of here’ command Use it where you would use ESC in typical programsUse it where you would use ESC in typical programs

N241: Fundamentals of Web Development Copyright ©2004  Department of Computer & Information Science Meta combinations Emacs has a huge number of commandsEmacs has a huge number of commands Some of these are mapped to another control keySome of these are mapped to another control key Different keyboards have different keysDifferent keyboards have different keys (alt, diamond, flower, whatever)(alt, diamond, flower, whatever) Meta commands are indicated with m-Meta commands are indicated with m-

N241: Fundamentals of Web Development Copyright ©2004  Department of Computer & Information Science Using Escape key for meta tags Emacs will always recognize the escape key as metaEmacs will always recognize the escape key as meta Press and release escape before continuing sequencePress and release escape before continuing sequence

N241: Fundamentals of Web Development Copyright ©2004  Department of Computer & Information Science Calling a command by name If you know a command’s name, you can call it up directly.If you know a command’s name, you can call it up directly. EG auto-fill-mode turns word wrap on or off, but I can never remember the key sequenceEG auto-fill-mode turns word wrap on or off, but I can never remember the key sequence M-x auto-fill-mode automatically invokes the commandM-x auto-fill-mode automatically invokes the command

N241: Fundamentals of Web Development Copyright ©2004  Department of Computer & Information Science Questions?