1 / 6

C151 Multi-User Operating Systems

C151 Multi-User Operating Systems. Editors. Text Editors. Pico Emacs Xemacs – a GUI-based version of Emacs . vi – a mostly terminal-based text editor, very reliable. vim – (vi improved) – a GUI-based version of vi. vi.

bhagan
Download Presentation

C151 Multi-User Operating Systems

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. C151 Multi-User Operating Systems Editors

  2. Text Editors • Pico • Emacs • Xemacs – a GUI-based version of Emacs. • vi – a mostly terminal-based text editor, very reliable. • vim – (vi improved) – a GUI-based version of vi.

  3. vi • A text editor, written by Bill Joy in 1976. Short for Visual Interface. • It enables fast, simple, and effective text editing mostly based on simple key bindings. • It provides fast and convenient moving around files and between files. • One must learn a good number of commands to be proficient in vi.

  4. vi modes • vi works in two modes: insert mode and command mode. • Command mode: allows you to do global operations like saving the file, searching for a string and replacing it. • Insert mode: Everything you type in the text. • Vi is started with command mode • Switching modes • ifrom command mode to insert mode • Escfrom insert mode to command mode

  5. Vi Commands • Open a file (new or exitsting one) vi file_name • Save a file :w<Return> • Exit vi (without saving the file) :q!<Return> • Exit vi (and save the file) :wq<Return> :x<Return>

  6. Reading Assignment • Chapter 6

More Related