Line editor

A line editor is a text editor computer program that is oriented around lines.They 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 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.

ee also

*TECO
*QED (text editor)
*visual editor


Wikimedia Foundation. 2010.

Look at other dictionaries:

  • Line-Editor —   [engl.], Zeileneditor …   Universal-Lexikon

  • line editor — eilutinė rašyklė statusas T sritis informatika apibrėžtis ↑Rašyklė, kurioje teksto eilutės numeruojamos, o jų taisymo veiksmai nurodomi tekstinėmis komandomis – kokią operaciją su kokia eilute atlikti. Tai labai paprastos ir beveik nebenaudojamos …   Enciklopedinis kompiuterijos žodynas

  • Line editor — Строковый редактор, редактор строк; Строковый редактор …   Краткий толковый словарь по полиграфии

  • Command Line Editor — Ein Kommandozeileneditor ist ein Texteditor, der im Textmodus arbeitet und in erster Linie mit der Tastatur, also ohne Maus bedient wird. Bekannte Kommandozeileneditoren in der Unix Welt sind z. B. ed und ex; vi verfügt über einen Kommandozeilen… …   Deutsch Wikipedia

  • Line number — In computing, a line number is a method used to specify a particular sequence of characters in a text file. The most common method of assigning numbers to lines is to assign every line a unique number, starting at 1 for the first line, and… …   Wikipedia

  • Line Mode Browser — displaying the German Wikipedia Original author(s) …   Wikipedia

  • Line Mode Browser — Wikipedia im Line Mode Browser Basisdaten Entwickler W3C / CERN …   Deutsch Wikipedia

  • Line level — is a term used to denote the strength of an audio signal used to transmit analog sound information between audio components such as CD and DVD players, TVs, audio amplifiers, and mixing consoles, and sometimes MP3 players. In contrast to line… …   Wikipedia

  • Line completion — is a text editor feature similar to word completion, first introduced by Juraj Simlovic in TED Notepad, in July 2006. When a user begins a line that starts with a a frequently used phrase, the computer automatically completes the first part of it …   Wikipedia

  • line — line1 W1S1 [laın] n ▬▬▬▬▬▬▬ 1¦(on paper/on the ground)¦ 2¦(between two areas)¦ 3¦(of people/things)¦ 4¦(direction)¦ 5¦(on your face)¦ 6¦(phone)¦ 7¦(for trains)¦ 8¦(between two types of thing)¦ 9¦(shape/edge)¦ 10¦(w …   Dictionary of contemporary English

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”

We are using cookies for the best presentation of our site. Continuing to use this site, you agree with this.