GNU Info

Info Node: (efaq)Editing MS-DOS files

(efaq)Editing MS-DOS files


Next: Filling paragraphs with a single space Prev: Replacing highlighted text Up: Common requests
Enter node , (file) or (file)node

How can I edit MS-DOS files using Emacs?
========================================

   As of Emacs 20, detection and handling of MS-DOS (and Windows) files
is performed transparently.  You can open MS-DOS files on a Unix system,
edit it, and save it without having to worry about the file format.

   When editing an MS-DOS style file, the mode line will indicate that
it is a DOS file.  On Unix and GNU/Linux systems, and also on a
Macintosh, the string `(DOS)' will appear near the left edge of the
mode line; on DOS and Windows, where the DOS end-of-line (EOL) format
is the default, a backslash (`\') will appear in the mode line.

   If you are running a version of Emacs before 20.1, get `crypt++'
from the Emacs Lisp Archive (Note: Packages that do not come with
Emacs).  Among other things, `crypt++' transparently modifies MS-DOS
files as they are loaded and saved, allowing you to ignore the
different conventions that Unix and MS-DOS have for delineating the end
of a line.


automatically generated by info2www version 1.2.2.9