390 likes | 514 Views
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 we save the memory buffer Common UNIX text editors ed pico vi emacs, ue, XEmacs, emacs21.
E N D
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 we save the memory buffer • Common UNIX text editors • ed • pico • vi • emacs, ue, XEmacs, emacs21
Table 5.1 Common Functions of LINUX Text Editors • A text editor works on a file buffer that is a memory copy of a disk file • Usually the disk file is not updated until we save the memory buffer
Table 5.3 Important Cursor Movement Keystroke Commands in pico
Table 5.8 Examples of the Syntax for the yank and put Commands
Table 5.12 Important emacs Cursor Movement and Editing Commands
Figure 5.11 The file alien2 after the buffer contents have been saved