<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://debianws.lexgopc.com/wiki1463/index.php?action=history&amp;feed=atom&amp;title=Edlin</id>
	<title>Edlin - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://debianws.lexgopc.com/wiki1463/index.php?action=history&amp;feed=atom&amp;title=Edlin"/>
	<link rel="alternate" type="text/html" href="http://debianws.lexgopc.com/wiki1463/index.php?title=Edlin&amp;action=history"/>
	<updated>2026-12-04T07:37:47Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.3</generator>
	<entry>
		<id>http://debianws.lexgopc.com/wiki1463/index.php?title=Edlin&amp;diff=6083&amp;oldid=prev</id>
		<title>imported&gt;Captionshark: I fixed those broken footnote numbers with real Wikipedia source links. I also added a fresh update at the end about Microsoft&#039;s new command-line editor</title>
		<link rel="alternate" type="text/html" href="http://debianws.lexgopc.com/wiki1463/index.php?title=Edlin&amp;diff=6083&amp;oldid=prev"/>
		<updated>2026-10-06T14:20:09Z</updated>

		<summary type="html">&lt;p&gt;I fixed those broken footnote numbers with real Wikipedia source links. I also added a fresh update at the end about Microsoft&amp;#039;s new command-line editor&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Short description|Line-oriented text editor}}&lt;br /&gt;
{{other uses}}&lt;br /&gt;
{{Infobox software&lt;br /&gt;
| name                   = Edlin&lt;br /&gt;
| author                 = [[Tim Paterson]]&lt;br /&gt;
| developer              = [[Microsoft]], [[IBM]], Gregory Pietsch&lt;br /&gt;
| released               = {{sda|1980}}&lt;br /&gt;
| repo                   = {{URL|https://github.com/microsoft/MS-DOS/blob/main/v2.0/source/EDLIN.ASM}}&lt;br /&gt;
| programming language   = [[MS-DOS]]: [[x86 assembly language]]&lt;br /&gt;
| operating system       = [[86-DOS]], [[IBM PC DOS]], [[MS-DOS]], [[FreeDOS]], [[OS/2]], [[eComStation]], [[ArcaOS]], [[Microsoft Windows|Windows]]&lt;br /&gt;
| replaced_by            = [[MS-DOS Editor]]&lt;br /&gt;
| genre                  = [[Line editor]]&lt;br /&gt;
| license                = MS-DOS: [[MIT License|MIT]]&amp;lt;br /&amp;gt;FreeDOS, ReactOS: [[GNU General Public License|GPL]]&amp;lt;br /&amp;gt;86-DOS, PC DOS, OS/2, Windows: [[Proprietary software|Proprietary]] [[commercial software]]&lt;br /&gt;
| website                = [https://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/edlin_line.mspx?mfr=true Edlin]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Edlin&amp;#039;&amp;#039;&amp;#039; is a line editor, and the only text editor provided with early versions of IBM PC DOS,&amp;lt;ref&amp;gt;{{cite web |title=IBM Personal Computer DOS 1.00 |url=https://pcjs.org |access-date=October 6, 2026 |website=PCjs Machines}}&amp;lt;/ref&amp;gt; MS DOS and OS/2.&amp;lt;ref&amp;gt;{{cite book |last=Letwin |first=Gordon |title=Inside OS/2 |publisher=Microsoft Press |year=1988 |isbn=1-55615-117-9}}&amp;lt;/ref&amp;gt; Although superseded in MS-DOS 5.0 and later by the full screen MS DOS Editor, and by Notepad in Microsoft Windows, it continued to be included in the 32 bit versions of Microsoft operating systems up to Windows Server 2008 and Windows 10. While Edlin itself was discontinued with the death of 32 bit Windows, Microsoft later revived the concept of a terminal focused editor in 2025 by releasing an open-source, modern command line editor called &amp;quot;Edit&amp;quot; for Windows 11.&amp;lt;ref&amp;gt;{{cite web |date=May 20, 2025 |title=Edit command line text editor |url=https://learn.microsoft.com/en-us/windows/edit/ |access-date=October 6, 2026 |website=Microsoft Learn}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==History==&lt;br /&gt;
[[File:IBM PC DOS 1.0 screenshot.png|thumb|300px|&amp;lt;code&amp;gt;EDLIN.COM&amp;lt;/code&amp;gt; (among several other commands) in [[IBM PC DOS]] 1.0]]&lt;br /&gt;
[[File:ATOK 8 for PC-98 screenshot.png|thumb|300px|Using EDLIN for typing Japanese with the [[ATOK]] 8 input method editor, running on [[MS-DOS]] 3.3C for the [[PC-9800 series]]]]&lt;br /&gt;
Edlin was created by [[Tim Paterson]] in two weeks in 1980, for [[Seattle Computer Products]]&amp;#039;s [[86-DOS]] (QDOS)&amp;lt;ref&amp;gt;{{cite web| url-status=dead|archive-url=https://web.archive.org/web/20190518224631/http://www.patersontech.com/dos/byte%E2%80%93history.aspx| archive-date=2019-05-18 | url = http://www.patersontech.com/dos/byte%E2%80%93history.aspx| title = A Short History of MS-DOS|website=Patersontech.com}}&amp;lt;/ref&amp;gt; based on the [[CP/M]] context editor &amp;#039;&amp;#039;ED&amp;#039;&amp;#039;,&amp;lt;ref&amp;gt;{{Cite web|url=http://www.shaels.net/index.php/cpm80-22-documents/using-cpm/8-ed-utility|archiveurl=https://web.archive.org/web/20130620002545/http://www.shaels.net/index.php/cpm80-22-documents/using-cpm/8-ed-utility|url-status=dead|title=ED Utility|archive-date=20 June 2013|website=Shaels.net|access-date=24 January 2022}}&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;{{Cite web|url=https://archive.org/details/bitsavers_digitalResrsManual1978_1058478|title=ED: A Context Editor for The CP/M Disk System|website=archive.org|date=1978 |access-date=8 May 2023}}&amp;lt;/ref&amp;gt; itself distantly inspired by the [[DEC PDP-10]] [[TOPS-10]] EDIT text editor.&lt;br /&gt;
&lt;br /&gt;
Microsoft acquired 86-DOS and, after some further development, sold it as MS-DOS, so Edlin was included in v1.0–v6.22 of MS-DOS. From MS-DOS 6 onwards, the main editor included was the new full-screen [[MS-DOS Editor]]. On some distributions of 6.22, EDLIN was found on the supplementary tools disk instead of being installed by default. &lt;br /&gt;
&lt;br /&gt;
[[Windows 95]], [[Windows 98|98]] and [[Windows ME|ME]] ran on top of an embedded version of DOS, which reports itself as [[MS-DOS 7]]. &lt;br /&gt;
&lt;br /&gt;
Edlin is included in the 32-bit versions of [[Windows NT]]&amp;lt;ref&amp;gt;[http://support.microsoft.com/kb/101929 16-Bit Applications Included with Windows NT], Microsoft.com&amp;lt;/ref&amp;gt; and its derivatives—up to and including [[Windows 10]]—because the [[Virtual DOS machine|NTVDM]]&amp;#039;s DOS support in those operating systems is based on MS-DOS version 5.0. However, unlike most other external DOS commands, it has not been transformed into a native [[Windows API|Win32]] program. It also does not support [[long filename]]s, which were not added to MS-DOS and Windows until long after Edlin was written.&lt;br /&gt;
&lt;br /&gt;
The [[FreeDOS]] version was developed by Gregory Pietsch.&amp;lt;ref&amp;gt;{{cite web| url = http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/1.2/repos/pkg-html/edlin.html| website=Ibiblio.org|title=FreeDOS Package -- edlin (FreeDOS Base)}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
To start ediln from the DOS prompt, one would type the command &amp;quot;edlin&amp;quot; followed by the filename to be opened or created.  Once the edilin prompt &amp;quot;*&amp;quot; appears. there are only a few commands for editing and a short listing of them can be seen by entering a &amp;quot;?&amp;quot; at the edlin prompt.&lt;br /&gt;
&lt;br /&gt;
:&amp;#039;&amp;#039;&amp;#039;L&amp;#039;&amp;#039;&amp;#039; - Lists (displays) lines of text.  (e.g., &amp;lt;code&amp;gt;1,6L&amp;lt;/code&amp;gt; lists lines 1 through 6). Each line is displayed with a line number in front of it.&lt;br /&gt;
&lt;br /&gt;
 *1,6L&lt;br /&gt;
        1: Edlin: The only text editor in early versions of DOS.&lt;br /&gt;
        2:&lt;br /&gt;
        3: Back in the day, I remember seeing web pages&lt;br /&gt;
        4: branded with a logo at the bottom:&lt;br /&gt;
        5: &amp;quot;This page created in edlin.&amp;quot;&lt;br /&gt;
        6: The things that some people put themselves through. ;-)&lt;br /&gt;
 *&lt;br /&gt;
&lt;br /&gt;
The currently selected line has an *.  To replace the contents of any line, the line number is entered and any text entered replaces the original.  While editing a line pressing Ctrl-C cancels any changes. The * marker remains on that line.&lt;br /&gt;
&lt;br /&gt;
:&amp;#039;&amp;#039;&amp;#039;I&amp;#039;&amp;#039;&amp;#039; - Inserts one or more lines before the * line or the line number given.  For example, &amp;quot;3i&amp;quot; inserts a blank line before what was line 3 of the file, and &amp;quot;i&amp;quot; alone inserts at the currently selected line.  To insert lines after the end of a document, use the Insert command and either specify a line number larger than the last line, or use the last line symbol &amp;quot;#&amp;quot; in &amp;quot;#i&amp;quot;.  When finished entering lines, Ctrl-C returns to the edlin command prompt.&lt;br /&gt;
&lt;br /&gt;
 *6I&lt;br /&gt;
        6:*(...or similar)&lt;br /&gt;
        7:*^C &lt;br /&gt;
 &amp;amp;nbsp;&lt;br /&gt;
 *7D&lt;br /&gt;
 *L&lt;br /&gt;
        1: Edlin: The only text editor in early versions of DOS.&lt;br /&gt;
        2:&lt;br /&gt;
        3: Back in the day, I remember seeing web pages&lt;br /&gt;
        4: branded with a logo at the bottom:&lt;br /&gt;
        5: &amp;quot;This page created in edlin.&amp;quot;&lt;br /&gt;
        6: (...or similar)&lt;br /&gt;
 *&lt;br /&gt;
&lt;br /&gt;
:&amp;#039;&amp;#039;&amp;#039;D&amp;#039;&amp;#039;&amp;#039; - Delete a specified line or a range of lines.  e.g.: &amp;lt;code&amp;gt;2,4d&amp;lt;/code&amp;gt; deletes lines 2 through 4.  In the above example, line 7 was deleted.&lt;br /&gt;
&lt;br /&gt;
:&amp;#039;&amp;#039;&amp;#039;R&amp;#039;&amp;#039;&amp;#039; - Replace all occurrences of a piece of text in a given range of lines, for example, to replace a spelling error.  Including the ? prompts for each change.  E.g.: To replace &amp;#039;prit&amp;#039; with &amp;#039;print&amp;#039; and to prompt for each change: &amp;lt;code&amp;gt;?rprit^Zprint&amp;lt;/code&amp;gt; (the ^Z represents pressing CTRL-Z).  It is case-sensitive.&lt;br /&gt;
&lt;br /&gt;
:&amp;#039;&amp;#039;&amp;#039;S&amp;#039;&amp;#039;&amp;#039; - Searches for given text.  It is used in the same way as replace, but without the replacement text.  A search for &amp;#039;apple&amp;#039; in the first 20 lines of a file is typed &amp;lt;code&amp;gt;1,20?sapple&amp;lt;/code&amp;gt; (no space, unless that is part of the search) followed by a press of enter.  For each match, it asks if it is the correct one, and accepts n or y (or Enter).&lt;br /&gt;
&lt;br /&gt;
:&amp;#039;&amp;#039;&amp;#039;P&amp;#039;&amp;#039;&amp;#039; - Page displays starting from a specified line.  If no line number is given, the line after the current line and the following 22 lines.  The Page command changes the current line to the last line displayed, so one can page through a file by typing p for each screenful. &lt;br /&gt;
&lt;br /&gt;
:&amp;#039;&amp;#039;&amp;#039;T&amp;#039;&amp;#039;&amp;#039; - Transfers another file into the one being edited, with this syntax: [line to insert at]t[full path to file].  e.g. &amp;quot;5tb:addresses&amp;quot; will transfer a file on the b drive named addresses to just before line 5.  The file content is taken from is not altered.&lt;br /&gt;
&lt;br /&gt;
:&amp;#039;&amp;#039;&amp;#039;W&amp;#039;&amp;#039;&amp;#039; - Write (save) the file.&lt;br /&gt;
&lt;br /&gt;
:&amp;#039;&amp;#039;&amp;#039;E&amp;#039;&amp;#039;&amp;#039; - Ends the editing session, saves the file and quits edlin.&lt;br /&gt;
&lt;br /&gt;
:&amp;#039;&amp;#039;&amp;#039;Q&amp;#039;&amp;#039;&amp;#039; - Quits edlin without saving.&lt;br /&gt;
&lt;br /&gt;
:&amp;#039;&amp;#039;&amp;#039;M&amp;#039;&amp;#039;&amp;#039; - Move a range of lines to before a specified line in the file.  e.g. &amp;quot;5,12,26m&amp;quot; moves lines 5 through 12 to just before line 26.&amp;lt;ref&amp;gt;{{cite book |last1=Wolverton |first1=Van |title=Running MS-DOS |date=1991 |publisher=Microsoft Press |isbn=1-55615-337-6 |chapter=12 The Edlin Text Editor}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;#039;&amp;#039;&amp;#039;C&amp;#039;&amp;#039;&amp;#039; - Copy a range of lines to a specified line in the file one or more times.  e.g. &amp;quot;18,24,#c&amp;quot; Copies lines 18 through 24 to the &amp;quot;#&amp;quot; end of the document.  &amp;quot;1,1,25,5c&amp;quot; Copies lines 1 through 1 (just the first line) to just before line 25 and does so five times.  Copy differs from Move in that the range you specify remains in its original location and is repeated in the new location.&lt;br /&gt;
&lt;br /&gt;
===Scripts===&lt;br /&gt;
Edlin may be used as a non-interactive file editor in scripts by [[Redirection (computing)|redirecting]] a series of edlin commands.&lt;br /&gt;
&lt;br /&gt;
 edlin &amp;lt; script&lt;br /&gt;
&lt;br /&gt;
===FreeDOS Edlin===&lt;br /&gt;
A [[GNU General Public License|GPL]]-licensed [[clone (computer science)|clone]] of Edlin that includes long filename support is available for download as part of the [[FreeDOS]] project. This runs on operating systems such as [[Linux]] or [[Unix]] as well as MS-DOS.&amp;lt;ref&amp;gt;{{cite web| url = https://sourceforge.net/projects/freedos-edlin| title = FreeDOS Edlin|website=Sourceforge.net| date = 3 March 2023}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[List of DOS commands]]&lt;br /&gt;
*[[ed (text editor)|ed]] and [[ex (text editor)|ex]], similar [[Unix]] line editors. &lt;br /&gt;
*[[86-DOS]]&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
{{Reflist}}&lt;br /&gt;
&lt;br /&gt;
==Further reading==&lt;br /&gt;
* {{Cite book|title=Microsoft Operating System/2 User&amp;#039;s Reference|date=1987|publisher=[[Microsoft]]|url=http://www.os2museum.com/wp/wp-content/uploads/2011/12/1987-Oct-OS2-1.0-Users_Reference.pdf}}&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
{{Wikibooks|Guide to Windows Commands}}&lt;br /&gt;
*[https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-xp/bb490632(v=technet.10) Edlin | Microsoft Docs]&lt;br /&gt;
*[http://www.computerhope.com/edlin.htm MS-DOS edlin command help]&lt;br /&gt;
*[https://github.com/microsoft/MS-DOS/blob/master/v2.0/source/EDLIN.ASM Open source EDLIN implementation that comes with MS-DOS v2.0]&lt;br /&gt;
&lt;br /&gt;
{{Windows commands}}&lt;br /&gt;
&lt;br /&gt;
[[Category:1980 software]]&lt;br /&gt;
[[Category:DOS text editors]]&lt;br /&gt;
[[Category:Line editor]]&lt;br /&gt;
[[Category:OS/2 commands]]&lt;br /&gt;
[[Category:Microsoft free software]]&lt;br /&gt;
[[Category:Windows components]]&lt;br /&gt;
[[Category:Windows text editors]]&lt;/div&gt;</summary>
		<author><name>imported&gt;Captionshark</name></author>
	</entry>
</feed>