additional_3 - cut? Control k (kill buffer) paste? Control...

Info iconThis preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
Unix Editors 3 well known unix text editors pico, emacs, vi Extensions, GUIs, plug-ins are available to make our lives easier Here, we cover the basic commands in the 3 editors Provide brief exposure to each one You choose the one you’d like to use day to day Need to know the basics for all three: Launch editor Edit file • Add text, delete text, copy/paste text Save file Exit editor Introductory tutorials for all three are available in our Tutorial 2
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Unix Editors Pico editor Launch? pico pico filename Edit? add text? start typing… copy/paste text? copy to buffer? Highlight with left mouse button paste from buffer? Right mouse button cut? Control k paste? Control u (uncut) Save? control o (output) Exit? control x (exit)
Background image of page 2
Unix Editors emacs editor Launch? emacs emacs filename Edit? add text? start typing… copy/paste text? copy to buffer? Highlight with left mouse button paste from buffer? Right mouse button
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 4
Background image of page 5
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: cut? Control k (kill buffer) paste? Control y (yank from kill buffer) Save? control x control s Exit? control x control c Unix Editors vi editor Editor has 2 modes (command, insert) Insert add text Command save, delete, exit Note: vi launches in command mode; need to switch to insert mode to add text Launch? vi vi filename Edit? add text? switch to insert mode command: a or i (append or insert) copy/paste text? copy to buffer? Highlight with left mouse button paste from buffer? Right mouse button Unix Editors Edit cont. cut, paste? ( need to be in command mode ) dd delete current line D delete from cursor to end of line p paste Save? ( need to be in command mode ) :w Exit? ( need to be in command mode) :q assumes no changes made :q! discard any changes that were made :wq write the file, then quit...
View Full Document

This note was uploaded on 12/12/2009 for the course CS 3375 taught by Professor Kendracooper during the Fall '08 term at University of Texas at Dallas, Richardson.

Page1 / 5

additional_3 - cut? Control k (kill buffer) paste? Control...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online