Share via


EOL Initialization Variable

Sets the end-of-line character that is used when Visual SourceSafe gets or checks out text files. By default, Visual SourceSafe uses the Windows character style. However, you can set this environment variable to change the default as required.

Note

For the EOL environment variable to have any effect, the Append_EOL environment variable must be set to Yes.

Syntax

EOL = {n or LF|r or CR|rn or CRLF}

Remarks

The following table shows the possible values for the EOL initialization variable and the corresponding end-of-line characters.

Initialization Variable Value End-of-line Character Operating System Style

rn or CRLF

Carriage return-line feed pair

Windows

n or LF

Line feed

UNIX

r or CR

Carriage return

Macintosh

For all Visual SourceSafe clients to use the same end-of-line character style, set the EOL initialization variable in the Srcsafe.ini file. If you have an environment requiring different character styles on different machines, you can have each user set the variable as needed in the corresponding Ss.ini file.

Examples

Specifies the use of a Windows-style carriage return at the end of each text line for the team environment:

Append_EOL=Yes
EOL = CRLF

See Also

Reference

Append_EOL Initialization Variable

Other Resources

Initialization Variables