Edit (MS-DOS)

From Wikipedia, the free encyclopedia

The correct title of this article is edit. The initial letter is shown capitalized due to technical restrictions.
The MS-DOS edit interface (version 1.1, from MS-DOS 6.22.)
The MS-DOS edit interface (version 1.1, from MS-DOS 6.22.)

edit, also known as MS-DOS Editor, is a text editor which comes with MS-DOS (since version 5) and Microsoft Windows. Originally (up to MS-DOS 6.22) it was just a stub that started QBasic in editor mode, but since DOS 7 (Windows 95) it is a standalone program. Although it kept the COM file extension, it is actually an EXE.

edit.com is sometimes used as a substitute for Notepad on Windows 9x, where Notepad is limited to small files only. edit.com can edit files that are up to 65,279 lines and up to approximately 5MB in size (MS-DOS versions are limited to approximately 300–400KB, depending on how much conventional memory is free). edit can be launched by typing it into the RUN box on Windows, and by typing edit into the command line interface.

[edit] Features

  • Can edit up to 9 files at a time (Windows 9x versions only, DOS versions are limited to a single file at a time). The screen can be split vertically into 2 windows, each of which can display a different file.
  • Customizable color scheme
  • Files can be opened in "binary mode", where a fixed number of characters are displayed per line, and newlines are treated as any other character.
  • UNIX newlines are converted to DOS newlines.
  • GUI-style interface
  • Mouse support

Some of these features were added only in 1995 (version 2.0), with the release of Windows 95.

[edit] Don't Edit This Out

  • Outside of binary mode, tabs get converted to spaces, and UNIX newlines are converted to DOS newlines.
  • Does not support Unicode.
  • DOS versions (for MS-DOS 6.22 and older) lack proper support for binary files, multiple files and are limited to using only the first 640KB of RAM, like any other MS-DOS real mode program.
  • Does not directly support USB printers, this can be fixed by adding it as a network printer though.

[edit] External links

In other languages