Line editor

From Wikipedia, the free encyclopedia

A line editor is a text editor computer program that is oriented around lines. Now considered extremely old-fashioned, they stem from the days when a computer operator would be sitting in front of a teletype (essentially a printer with a keyboard), so there was no screen and no way to move a cursor around a document.

Line editors are limited to the most primitive text-oriented input and output methods. Typing, editing, and document display do not occur simultaneously. Typically, typing does not enter text directly into the document. Instead, users add new text or edit existing text by typing 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 commands typically display the line(s) they modify, displaying the edited text within the context of larger portions of the document requires a separate command. Instead of a cursor to move around and use to select portions of the document being worked on or otherwise indicate where changes should be made, line editors have only the concept of the 'current line' being edited. Generally line numbers or, especially when making changes within lines, a search based context are used to specify which part of the document is to be edited or displayed. Naturally most edits are a line-at-a-time.

The UNIX editor ed is a classic example of a line editor, and is still in use; DOS users would be familiar with Edlin.

Line editors are still used non-interactively in shell scripts. They are also frequently seen 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.

Advanced Search
Included Web Search Engines


Safe Search

close

Top Matching Results

Occasionally Search.com will highlight specialized results that are based on the context of your query. Examples of specialized results include specific links to news, images, or video.

Top Matching Results may highlight information from other Search.com pages, content from the CNET Network of sites, or third party content. The listings are based purely on relevance. Search.com does not receive payment for listings in this section but our partners that provide this data may get paid for listing these products.

Sponsored Links

This section contains paid listings which have been purchased by companies that want to have their sites appear for specific search terms and related content. These listings are administered, sorted and maintained by a third party and are not endorsed by Search.com.

Search Results

Search.com sends your search query to several search engines at one time and integrates the results into one list which has been sorted by relevance using Search.com's proprietary algorithm. You can customize the list of search engines included in your metasearch from the preferences.

The search engines that are used in your metasearch may allow companies to pay to have their Web sites included within the results. To view the Paid Inclusion policy for a specific search engine, please visit their Web site. Search.com does not accept payment or share revenue with any search engine partner for listings in this section.