The Write Mode

Stedi is able to save files in several write modes. The indicator for these options exhibits the value `A' for the regular MS-DOS mode used both by MS-DOS/Windows and the Atari-ST, `U' for Unix mode, `R' for Raw mode or `P' for Printer mode in the second status character of the status bar.

The following table shows the actions performed on the lines of the text when the file is saved under the various write options:

MS-DOS and Atari mode (A)
a carriage return and a linefeed represent the end of each line when the file is written.

Unix mode (U)
only a linefeed represent the end of each line when the file is written.

Raw mode (R)
no linefeed or carriage return is included at the end of the lines when the file is written. If a file is read in in this mode carriage returns and linefeeds will not be interpreted as end-of-line characters. This gives a limited possibility for editing binary files directly.

Printer mode (P)
a carriage return and a linefeed represent the end of each line when the file is written. In addition all tabs are expanded into the appropriate number of blank spaces. (This mode can be used to prepare a file for printing when the printing cannot be done directly from the editor or for use with a compiler that cannot interpret tabs properly.)

These options can be set with the commands Alt-A, Alt-U, Alt-R and Alt-P respectively.