LLMpediaThe first transparent, open encyclopedia generated by LLMs

EDLIN

Generated by GPT-5-mini
Note: This article was automatically generated by a large language model (LLM) from purely parametric knowledge (no retrieval). It may contain inaccuracies or hallucinations. This encyclopedia is part of a research project currently under review.
Article Genealogy
Parent: MS-DOS Editor Hop 5
Expansion Funnel Raw 55 → Dedup 0 → NER 0 → Enqueued 0
1. Extracted55
2. After dedup0 (None)
3. After NER0 ()
4. Enqueued0 ()
EDLIN
NameEDLIN
DeveloperMicrosoft
Released1970s
Latest release version(historical)
Programming languageAssembly (original DOS)
Operating systemMS-DOS, PC DOS, IBM DOS, FreeDOS (compat)
GenreLine editor
LicenseProprietary (historical), permissive reimplementations

EDLIN is a line editor originally supplied with early versions of MS‑DOS and PC DOS that provided primitive text editing on command‑line systems. It traces its ancestry to UNIX and CP/M line editors and was bundled with IBM PC software during the 1980s and early 1990s. Designed for systems without full screen capabilities, EDLIN influenced later editors and remains notable for its role in the transition from mainframe and minicomputer editing tools to personal computer environments.

History

EDLIN was introduced by Microsoft in the era of MS-DOS and PC DOS distribution, derived from earlier line editors such as ed from Multics‑era and Unix development and the ED family from Digital Equipment Corporation and DEC PDP environments. Early microcomputer users who had experience with editors on CP/M systems recognized similarities to tools like ED and QED. During the 1980s EDLIN was included in standard DOS distributions alongside utilities from IBM and third‑party vendors such as Digital Research; its presence matched other bundled software like COMMAND.COM and utilities present in MS-DOS 1.25 through MS-DOS 5.0. As graphical and full‑screen editors emerged—such as WordStar, Vim antecedents and early Microsoft Word iterations—EDLIN’s usage waned, and Microsoft eventually deprecated it in favor of tools like EDIT. Enthusiasts and preservation projects built compatible reimplementations for systems including FreeDOS and emulators for IBM PC XT and Commodore‑era environments.

Features and Commands

EDLIN implements classic line‑editor primitives familiar from ed and other contemporaneous tools. Core commands include insertion, deletion, substitution and printing lines addressed by numbers, comparable to functions in editors like ed and scripting capabilities seen later in sed. Commands are often single letters: 'I' for insert, 'D' for delete, 'R' for replace, and 'P' for print; its design parallels command sets used by editors in DEC environments and utilities in Unix System V. Range addressing permits operations on specified line spans similar to addressing in ed and ex. File I/O commands save and load files to persistent storage devices such as those used with IBM PC DOS and were compatible with disk formats handled by MS-DOS system calls. Error messages and prompts reflect character‑mode constraints found in contemporaneous ASCII terminals and early VT100 and ADM3A compatible hardware.

Usage and Syntax

EDLIN operates interactively via a command prompt where users specify line numbers and command letters; this syntax resembles the modal interaction of ed and ex. Typical sessions begin by loading a file from an MS-DOS filesystem, listing numbered lines, editing by referencing line numbers (for example "5,10D" to delete lines 5 through 10), inserting text at a specified point, and saving changes with a write command. The editor handles plain text files without formatting metadata, akin to plain‑text tools used alongside TeX and troff workflows on microcomputers. Batch edit sequences could be scripted by redirecting input from files or piping through COMMAND.COM in the same way that users automated tasks with awk and sed on Unix systems. Because EDLIN lacks a visual cursor and windowing, proficient use required familiarity with numbered addresses and manual line counting, skills common to users of editors from the PDP-11 and VAX line‑editing tradition.

Implementations and Variants

The canonical implementation shipped with MS-DOS and IBM PC DOS; later reimplementations appeared in community and open projects. FreeDOS includes a compatible EDLIN implementation recompiled for contemporary distributions. Third‑party utilities and ports targeted operating environments such as PC DOS, DR DOS and hobbyist clones running on DOSBox emulation. Variants added scripting conveniences, extended addressing, or integrated rudimentary macro support to emulate features from editors like WordStar or EMACS‑style command sets, though none matched the interactive full‑screen capabilities of Norton Commander‑era editors. Preservationists have produced source code releases and adapters to allow EDLIN‑style editing within modern shells like Microsoft Windows PowerShell or GNU bash on Windows Subsystem for Linux.

Reception and Legacy

Contemporary reaction to EDLIN was mixed: early users appreciated its inclusion with DOS distributions as a basic editor, while advanced users criticized its clumsy modal, line‑oriented interface compared to full‑screen editors such as WordStar, Turbo C‑bundled editors, and later Microsoft EDIT. EDLIN became emblematic in computing culture of minimalistic utilities that persisted after superior interfaces were available, often cited in retrospective accounts alongside tools like QBasic and GW-BASIC. Historians of personal computing reference EDLIN when tracing the user‑interface evolution from line editors used on systems like DEC VAX and IBM Mainframe terminals to contemporary graphical editors and integrated development environments such as Visual Studio and Eclipse. Its legacy survives in educational discussions of command‑line editing, in FreeDOS distributions, and in emulation archives documenting early IBM PC software culture.

Category:DOS software Category:Text editors Category:Microsoft software