Share on Facebook Share on Twitter Email
Answers.com

Line editor

 
Sci-Tech Dictionary: line editor
(′līn ′ed·əd·ər)

(computer science) A text-editing system that stores a file of discrete lines of text to be printed out on the console (or displayed) and manipulated on a line-by-line basis, so that editing operations are limited and are specified for lines identified by a specific number.


Search unanswered questions...
Enter a question here...
Search: All sources Community Q&A Reference topics

An outmoded editing program that allowed text to be created and changed one line at a time. Edlin was a line editor included with earlier versions of DOS, and ed was the original Unix line editor.

Line editors were the first text editing programs ever written because they were simple to program. Dealing with a fixed line of characters requires less program logic and programming skill than handling a variable stream of text that can be continuously expanded and compressed by the user.

Download Computer Desktop Encyclopedia to your iPhone/iTouch

Wikipedia: Line editor
Top

A line editor is a text editor computer program that manipulates text primarily by the display, modification, and movement of lines. Line editors precede screen-based text editors and originated in an era when a computer operator typically interacted with a teletype (essentially a printer with a keyboard), with no video display, and no ability to navigate a cursor interactively in a document. Line editors were also a feature of many home computers, avoiding the need for a more memory-intensive full-screen editor.

Line editors are limited to primitive text-oriented input and output methods. Most edits are a line-at-a-time. Typing, editing, and document display do not occur simultaneously. Typically, typing does not enter text directly into the document. Instead, users modify the document text by entering terse commands on a text-only terminal. Commands and text, and corresponding output from the editor, will scroll up from the bottom of the screen in the order that they are entered or printed to the screen. Although the commands typically indicate the line(s) they modify, displaying the edited text within the context of larger portions of the document requires a separate command. Line editors keep a reference to the 'current line' to which the entered commands usually are applied. In contrast, modern screen based editors allow the user to interactively and directly navigate, select, and modify portions of the document. Generally line numbers or a search based context (especially when making changes within lines) are used to specify which part of the document is to be edited or displayed.

Early line editors included TECO and QED, both dating back to pre-UNIX era OSes. Emacs grew out of a set of macros written for TECO. The UNIX editor ed is a classic example of a line editor. A line editor for DOS is Edlin.

Line editors are still used non-interactively in shell scripts. Patch systems such as patch (Unix) traditionally used diff data that was a script of ed commands. They are also used in many MUD systems, though many people prefer to edit text on their own computer and then use their MUD client's upload feature to paste the text directly in the line editor.

See also


 
 

 

Copyrights:

Sci-Tech Dictionary. McGraw-Hill Dictionary of Scientific and Technical Terms. Copyright © 2003, 1994, 1989, 1984, 1978, 1976, 1974 by McGraw-Hill Companies, Inc. All rights reserved.  Read more
Computer Desktop Encyclopedia. THIS COPYRIGHTED DEFINITION IS FOR PERSONAL USE ONLY.
All other reproduction is strictly prohibited without permission from the publisher.
© 1981-2009 Computer Language Company Inc.  All rights reserved.  Read more
Wikipedia. This article is licensed under the Creative Commons Attribution/Share-Alike License. It uses material from the Wikipedia article "Line editor" Read more